 at least 0N+0 ferromagnetic layers with a nonmagnetic layer provided therebetween, in which the N is an integer of 0 or more, and the other antiferromagnetic layer so as to form a laminate; and performing a heat treatment for the laminate, while an external magnetic field is applied to the laminate