For instance, one of the devices applies current into a phase transfer material and detects 0 or 1 data by using resistance difference obtained according to whether the material is cooled to a solid state having less resistance or an amorphous state having greater resistance.