Use signature and take the covariant spatial components as canonical coordinates. The canonical quantization of the electromagnetic field begins with the canonical momenta
Thus the primary momentum constraint of the electromagnetic potential is : has no independent velocity. The Hamiltonian obtained by the Legendre transform in mechanics, up to a boundary term, is
Preserving the primary constraint requires the Gauss law constraint in gauge theory, . It also follows by varying . These are two first-class constraints; they generate the gauge freedom and remove two canonical pairs from the four potential components. The reduced phase space has four dimensions per spatial mode, hence two propagating photon degrees of freedom.
Impose Coulomb gauge, . With no charges, Gauss's law then gives ; vanishing boundary conditions set . This is radiation gauge. The remaining components are transverse and obey the massless wave equation. Let , , be orthonormal transverse polarization vectors. Their photon polarization completeness relation is
The canonical transverse photon field is the Hermitian operator
where
The field and its conjugate momentum have the transverse equal-time commutator
This is the quantized reduced bracket, or equivalently the Dirac bracket after imposing the constraints and gauge conditions. The normal-ordered Hamiltonian is . Its excitations are photons; circular combinations of the two transverse polarizations have helicity and . The scalar and longitudinal potential components do not create additional physical photons.
The Feynman propagator is the vacuum expectation of a time-ordered product. The mode expansion directly gives the radiation-gauge photon propagator, with :
The first expression comes from the creation-annihilation commutator; the second is its contour-integral representation. The positive-energy pole lies below the real axis and the negative-energy pole above it. In this reduced free-field description, the temporal operator is zero. A photon propagator must specify its gauge; the spatial transverse propagator is not the same tensor as the covariant four-potential propagator.
For the commonly used covariant form, add the gauge fixing term . The resulting Fourier-space kinetic operator is
The inversion of the gauge-fixed Maxwell kinetic operator gives . In Feynman gauge, , the photon propagator is
Equivalently, with the vacuum pole prescription. For general , the momentum-space numerator is .
A covariant canonical realization uses four polarization oscillators with . The resulting indefinite inner product is auxiliary. In Gupta-Bleuler quantization, impose and take the Gupta-Bleuler null-state quotient. The scalar-longitudinal combination is thereby removed from the physical state space, leaving the same two transverse photon states. Thus the four-component Feynman-gauge numerator does not imply four physical polarization states.