Article révisé par les pairs
Résumé : Magnetars form a subclass of neutron stars characterized by magnetic fields of order 1014-1015 G at their surface. According to numerical simulations, the magnetic fields in their interior could potentially be even stronger. Such magnetic fields are so extreme that the internal constitution of neutron stars may be altered. The effects of Landau-Rabi quantisation of electron motion on the equation of state and on the equilibrium composition of the crust of a neutron star are investigated for a wide range of magnetic field strengths. Both the outer and inner parts of the crust are treated in a unified and consistent way within the nuclear-energy density functional theory.