In a one-dimensional identical-particle model, a contact interaction has two-body potential , using the Dirac delta distribution. For bosons, its second quantization is the displayed normally ordered Hamiltonian operator. Projection onto orthonormal modes gives , where . The overlap integrals determine which mode-changing processes survive. A finite-mode model describes that projection; discarded modes can still matter to the full physical system.
In second quantization, expand the annihilating quantized field in a complete orthonormal basis of one-particle states, . At equal times, the canonical commutation relation for bosons and the canonical anticommutation relations for fermions are, respectively,
and
Here is a Dirac delta distribution. Multiplying by the basis wave functions and integrating gives for bosons, or for fermions; the two-annihilator and two-creator brackets vanish in the corresponding convention.
The mode number operator and total particle number operator are
The bosonic occupation numbers are . For fermions, and the canonical anticommutation relations imply , so the fermionic occupation numbers are only and , as required by the Pauli exclusion principle.
Keeping only two modes later is a projection: the projected field bracket is , rather than the full Dirac delta distribution.