Provided is an excellent p-type nitride type 3-5 group compound
semiconductor having escellent electrical properties such as a low
contact resistance to an electrode metal, a low ohmic property, etc., by
heat-treating a nitride type 3-5 group compound semiconductor doped with
p-type dopant in an hydrogen-containing gas atmosphere of a specific
concentration.