With a vacuum annihilated by all , define the particle and antiparticle occupation operators of a Dirac field
Each counts its corresponding occupied modes. The total positive particle count is
Commuting it through either creation operator gives and , so both kinds of one-particle states have eigenvalue one. In a normalized discrete mode, by the anticommutation relations, so its occupation eigenvalues are .
For a Dirac field there is also a distinct conserved signed fermion number. Inserting the mode expansion into the normal-ordered local density gives
Spatial integration makes the same-sector momenta equal. The cross terms vanish by ; normal ordering of supplies the minus sign for the antiparticles. Thus the density integral is not the total positive particle count. It generates the global phase symmetry, and for Electron charge the electric charge is .
The free normal-ordered Hamiltonian is
so and are conserved in the free theory. In an interacting theory, pair creation can change the total count while preserving the signed charge. This distinguishes a positive occupation number operator from the charge behind Dirac fermion number conservation.