Further, in each of the foregoing embodiments, examples in which forming materials such as Pt and Ir are used for the lower electrode layer and the upper electrode layer are described, however, noble metal elements such as Pt, Ir, Ru, Rh or Pd and noble metal containing transition metals and oxygen which contains transition metal elements such as Hf (hafnium), Zr (zirconium), or Ti and oxygen can