Use the free Maxwell Lagrangian in mostly-minus signature. In terms of the spatial electromagnetic four-potential, define and . Thus . Taking the Cartesian components of as coordinates gives the canonical momenta
This sign convention treats here as Cartesian spatial-vector labels; it is not a claim that covariant and contravariant four-vector components coincide.
The temporal momentum vanishes because no occurs. This is the primary momentum constraint of the electromagnetic potential, so one cannot treat all four components as independent unconstrained oscillators. The Legendre transformation for the spatial components gives . After integration by parts, the Hamiltonian is
Surface terms vanish for decaying fields or the corresponding regulated boundary conditions. The total constrained Hamiltonian also contains an arbitrary multiplier of . Preserving under time evolution requires
which is the Gauss law constraint in gauge theory. Both constraints are first-class constraints; they express the gauge invariance , . The electric and magnetic fields are unchanged, so different gauge potentials need not describe different physical states.
One consistent canonical quantization of the electromagnetic field first reduces this redundancy. Choose Coulomb gauge . In the absence of charges, the Gauss law constraint in gauge theory gives ; decay at infinity sets . Residual spatially constant gauge parameters do not change . The remaining variables are the transverse pairs . Their gauge reduction of the Maxwell Hamiltonian is
The two transverse coordinates for each nonzero momentum are the physical degrees of freedom. Treating the constraints as operator identities while retaining unconstrained componentwise commutators would be inconsistent: differentiating would give a nonzero right side even though .
The reduced Dirac bracket, promoted to a canonical commutation relation, instead gives the transverse equal-time commutator:
where
Indeed the spatial transverse projector of a vector field is symmetric, has and . Projecting both entries of the unconstrained canonical bracket onto the transverse subspace therefore produces , equivalently the constrained Dirac bracket. The spatial zero mode is excluded by the decay condition; in a finite-volume regulator it must be treated separately.
Choose two orthonormal transverse photon polarization vectors , so that
The canonical transverse photon field has mode expansion
Differentiate in time to obtain : the annihilation coefficient acquires and the creation coefficient . The oscillator canonical commutation relations are
Substitution into gives times the sum of the two Fourier kernels with phases . The polarization completeness relation and the evenness of make that sum exactly . This derives, rather than presumes, the correspondence between the oscillator and field commutators.
Substitute the mode expansions into . Spatial integration sets paired momenta equal or opposite. The and terms from the electric and magnetic energies cancel because and . The remaining terms are harmonic-oscillator energies. Removing the state-independent zero-point energy by normal ordering gives
The corresponding momentum operator is . These expressions imply and .
Define the Fock vacuum by . Applying creates a photon of energy , momentum , and one of two transverse polarizations. Its mass is zero because . The relativistically normalized state is , with inner product . Smearing these momentum eigenstates gives normalizable wave packets. Repeated commuting bosonic creation operators construct the symmetric multiphoton bosonic Fock space. Circular combinations of the two transverse photon polarization vectors transform with opposite phases under rotations about , giving the two physical helicities .
The same physical states can be obtained while retaining manifest Lorentz covariance through Gupta-Bleuler quantization. Add the Feynman gauge term and quantize four auxiliary oscillator polarizations. Their algebra has an indefinite metric, including a negative-norm temporal excitation. Impose and take the Gupta-Bleuler null-state quotient. Temporal and longitudinal excitations then do not survive as independent physical states. The result agrees with the positive, two-polarization space obtained by Coulomb gauge reduction; covariant gauge fixing is a different implementation of the same physical constraint, not four physical photon states.
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.