Neodymium dihydride is an inorganic compound, with the chemical formula of NdH2, although it is an electride, and it is actually composed of Nd3+(e−)(H−)2. It is ferromagnetic.