Use units , metric , and . Treat the complex scalar field and its adjoint as independent variables when varying the action. Their canonical momenta are
Canonical quantization in the Heisenberg picture imposes, at the same time ,
All other independent equal-time commutators vanish: in particular , together with the same-type field and momentum commutators. The Legendre transform gives the Hamiltonian density
The Euler-Lagrange equations are . The positive- and negative-frequency plane waves form a complete basis of solutions of the Klein-Gordon equation. Since the field is complex, their operator coefficients are independent rather than being adjoints of each other. Define the Lorentz-invariant phase space measure . A convenient expansion is
The minus sign is a phase convention: replacing by produces the usual plus-sign expansion without changing its commutators or number operator. The normalization is fixed by the canonical commutation relations. For example,
when . The cross commutators vanish and the other canonical relation follows by taking adjoints with the operator order reversed. Conversely these mode commutators can be obtained by Fourier inversion of the equal-time relations. This is canonical quantization of a complex scalar field.
Substitution into the spatial integral for makes the diagonal terms proportional to and . Terms creating or annihilating a pair have and a coefficient , so they cancel. The result before vacuum subtraction is
Commuting past leaves a divergent field-independent vacuum energy. The displayed zero-vacuum-energy form must therefore be understood as a normal-ordered Hamiltonian:
A regulator can be introduced before subtracting the constant. This is the normal-ordered Hamiltonian of a free complex scalar field; the unrenormalized Hamiltonian is not literally equal to this expression without that convention.
The scalar-field vacuum is annihilated by both annihilation operators. Their adjoints create two species of spin-zero bosons with the same positive energy and mass , because
Repeated creation operators give the bosonic Fock space. The negative-frequency part does not create a negative-energy physical state; it creates the antiparticle of positive energy. The charge distinguishes the two species.
For the global phase transformation , , Noether theorem gives . Its divergence is
With vanishing boundary flux, the integral of is a conserved charge. Substituting the modes gives, before charge normal ordering, . The pair terms cancel because their frequency difference is zero when their spatial momenta sum to zero. Taking the vacuum charge to vanish gives the complex scalar charge operator
The mode commutators imply and , so
Thus the particle carries charge , the antiparticle carries charge , and a state with occupation numbers has charge . Also and , agreeing with the phase transformation and charge conservation.
Use natural units and the Minkowski metric . For the real scalar field, choose . The conjugate momentum is . Under an active translation , the density changes by . The Noether theorem therefore gives the canonical stress-energy tensor
Its divergence is , which vanishes on the Klein-Gordon equation. With vanishing flux at spatial infinity, the charges are conserved. In particular,
The minus sign is required because and . These are the four-momentum of a free real scalar field.
For canonical quantization, impose , with both equal-time field-field commutators zero. Inverting the mode expansion gives
The equal-time canonical commutation relation then yields
For example, the two mixed field-momentum terms in the first commutator have coefficients and ; the delta function sets their sum to one.
Insert the mode expansion into the quadratic energy. Spatial integration supplies . In the and terms, the coefficient is proportional to . The remaining terms give
Here is the divergent zero-point energy, formally . Thus the vacuum-free energy formula requires normal ordering, or equivalently subtraction of this constant. In a finite box with a cutoff this is the ordinary sum , so the subtraction is explicit before passing to the continuum.
Likewise, use the Hermitian momentum expression . Terms containing two annihilators or two creators vanish by antisymmetry under , leaving the symmetric number-operator expression. Its vacuum term is zero with an inversion-symmetric regulator. Therefore the normal-ordered free scalar four-momentum is
The creation operator commutators follow directly from :
Starting from a vacuum annihilated by every , each creation adds a particle of mass , energy and momentum . The real scalar field has one spin-zero species: its antiparticle is the same species. Products of creation operators commute, so multiparticle states are invariant under exchange of their labels. In a normalized discrete mode, exists for every ; there is no exclusion restriction. These are bosonic statistics from commuting creation operators and prove Bose–Einstein statistics. For completeness, the single-mode thermal sum gives , the Bose-Einstein distribution at zero chemical potential.
Promote the canonical field and momentum to operators satisfying the canonical commutation relation, . A real field has Fourier reality condition . Its oscillator expansion is
The creation and annihilation operators add or remove excitations in the selected mode basis, with
Canonical normalization requires the Wronskian .
For the Bunch-Davies vacuum, choose the positive-frequency short-wavelength behavior as . For the proposed solution, direct differentiation gives
Substitution cancels every term in . Its Wronskian is , and its large- limit is the required flat-spacetime positive-frequency mode. Thus
A term with the conjugate frequency is another allowed classical solution, but would describe a different quantum state, through a Bogoliubov transformation. Its coefficient is set to zero by the early-time vacuum condition, not by absence of a second solution to the differential equation.