Why superconductor ?
Superconductors are perfect diamagnets ( μ r = 0), completely expelling magnetic fields due to the Meissner effect. The levitation of the magnet is stabilized due to flux pinning within the superconductor. This principle is exploited by EDS (electro-dynamic suspension) magnetic levitation trains.
In trains where the weight of the large electromagnet is a major design issue (a very strong magnetic field is required to levitate a massive train) superconductors are used for the electromagnet, since they can produce a stronger magnetic field for the same weight.