Treat as independent variables when taking the Legendre transform. Their canonical momenta are
The canonical quantization of a complex scalar field imposes, at equal times,
with , together with their adjoints, and . These are canonical commutation relations for two real scalar degrees of freedom, written in a complex basis. Local fields are operator-valued distributions, so these identities are understood after smearing or with a regulator.
The Hamiltonian density is , giving
The Heisenberg equation of motion is . For example, , while commuting with the gradient term and integrating its derivative of a Dirac delta distribution gives . Thus
Both fields satisfy the Klein-Gordon equation. Their spatial Fourier modes therefore have frequencies , . A complex scalar field has independent coefficients for these two frequency sectors, so, defining the invariant measure , its mode expansion is
One can recover the mode operators at any fixed time using complex scalar mode inversion:
Substitution of the expansion verifies these inverses: the spatial integral selects the appropriate momentum, while the two frequency sectors acquire factors . The unwanted sector vanishes when the delta function sets . The canonical commutation relations then give, for example,
Likewise has the same value. The cross commutators vanish; their coefficients contain on the corresponding momentum delta function. Conversely, these oscillator brackets reproduce the equal-time field brackets, confirming the normalization of the measure.
Insert the mode expansion into and integrate over space. The terms and enforce opposite spatial momenta; their coefficient is . For the diagonal terms the coefficient is . Combining this with the two invariant measures leaves
In a box, , one half-quantum for each of the two real oscillator species. It diverges as the cutoff is removed. Normal ordering removes this vacuum energy, yielding the normal-ordered Hamiltonian of a free complex scalar field:
In this nongravitational free theory an additive constant in changes only an overall state phase, not Heisenberg equations of motion, energy differences or scattering probabilities. It is therefore consistent to choose the Fock vacuum energy as zero. Both creation operators raise the energy: and . Repeated creation builds a bosonic Fock space of spin-zero particles and antiparticles, with the same positive mass and energy. The negative-frequency part of the field does not describe negative-energy physical particles.
The global phase symmetry of a complex scalar field, with orientation , has the indicated Noether current. Taking its divergence, the two first-derivative terms cancel, giving
The same calculation holds for its normal-ordered version. Integrating its temporal component gives a conserved charge when spatial boundary flux vanishes.
Here the ordering convention is important. Direct substitution into the literally ordered product yields
The pair terms again vanish, now because their coefficient is a difference of equal energies. Reordering the term produces a divergent vacuum constant: with a finite-mode regulator . Thus the requested finite charge formula uses zero vacuum charge, or equivalently the vacuum subtraction of a complex scalar charge. With that conventional subtraction,
The subtraction changes neither current conservation nor the action of on fields; without it, the unrenormalized product does not literally equal the displayed normal-ordered operator.
Finally the oscillator commutators give
or . Acting on a charge eigenstate, the first creator raises its charge by one and the second lowers it by one. Starting from the neutral Fock vacuum, their one-particle states therefore have charges and respectively. This is the complex scalar charge operator , whereas the energy counts the sum of the two occupations. A multiparticle state has additive charge equal to the number of particles minus the number of antiparticles.
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.
Substituting the free complex scalar field modes into gives the formally ordered expression . Its divergent vacuum constant is removed by normal ordering, equivalently by choosing . The resulting complex scalar charge operator has and . Subtracting the constant changes neither its action on fields nor current conservation, but it is essential when identifying the vacuum charge and the charges of one-particle states.