Abstract: | Based on the Dirac equation describing an electron moving in a uniform and cylindrically symmetric magnetic field which may be the result of the self-consistent mean field of the electrons themselves in a neutron star, we have obtained the eigen solutions and the orbital magnetic moments of electrons in which each eigen orbital can be calculated. From the eigen energy spectrum we find that the lowest energy level is the highly degenerate orbitals with the quantum numbers pZ=0, n=0, and m≥0. At the ground state, the electrons fill the lowest eigen states to form many Landau magnetic cells and each cell is a circular disk with the radius λfree and the thickness λe, where λfree is the electron mean free path determined by Coulomb cross section and electron density and λe is the electron Compton wavelength. The magnetic moment of each cell and the number of cells in the neutron star are calculated, from which the total magnetic moment and magnetic field of the neutron star can be calculated. The results are compared with the observational data and the agreement is reasonable. |