Quantum Field Theory: Field Quantization
The classical field equations describe waves, but they do not yet explain why detectors record individual particles. We now quantize the fields introduced in Action and Lagrangians, identify the energy of one excitation, and check that repeated creation cannot lower the energy without bound.
For the scalar field, each independent momentum mode becomes a quantum harmonic oscillator. For the Dirac field, the required operator algebra also restricts each momentum-and-spin mode to one particle.
Outline
Optional overview of the construction
The main idea is to quantize each momentum mode as a harmonic oscillator. The Harmonic Oscillator page already gives its energy levels and ladder operators.
We first decompose a real scalar field into modes, promote its amplitudes to operators, and derive their commutators. Each oscillator quantum then has the energy and momentum of a particle. Finally, we repeat the construction for the Dirac field, where anticommutators give electrons, positrons, and the Pauli exclusion principle.
Notation recap
Expand the notation used on this page
The spacetime point is
and is a spatial momentum. The associated four-momentum is , with
| Symbol | Meaning | Before quantization | After quantization |
|---|---|---|---|
| real scalar field | number-valued field | , an operator-valued distribution | |
| conjugate momentum density | number-valued field | ||
| amplitude of a momentum mode | complex number | , annihilation operator | |
| complex-conjugate amplitude | complex number | , creation operator | |
| vacuum | not applicable | state annihilated by every |
The Fourier labels and are related for a real field, so they do not represent two independent complex modes. Independent sine and cosine coordinates, or equivalently a nonredundant choice of Fourier modes, give the independent real oscillators. The word “independent” applies to the normal modes of the free quadratic Hamiltonian; interactions can couple them.
The scalar field in modes
The real scalar obeys the Klein–Gordon equation
Plane waves solve it when energy satisfies the dispersion relation
Since is real, the general solution pairs each wave with its conjugate, one amplitude per momentum:
To compute the Hamiltonian, expand in spatial Fourier modes with time-dependent coefficients, :
Substituting into and using plane-wave orthogonality collapses the cross terms, leaving
Each term has the harmonic oscillator form, with frequency . For a real field, the and Fourier amplitudes are complex conjugates; independent sine and cosine coordinates give independent real oscillators.
Second quantization
Replace the numerical amplitudes by operators:
so that the field operator reads
with . The field is Hermitian, . Strictly, it is an operator-valued distribution: integrate it against a suitable smooth function to obtain an operator.
The canonical commutator
Impose the field counterpart of . At equal times,
This equal-time condition is imposed, not derived. It is the quantization postulate (equivalently, on the Poisson bracket ).
Ladder commutators
Set so the temporal phases equal :
The expansion can be inverted. Multiplying by and integrating isolates (the half cancels because ). Substituting this into , only the term survives, and the plane-wave orthogonality leaves
Distinct momentum modes commute. For discrete box modes, rescale the operators to obtain .
One oscillator per momentum
For one mode, use the Harmonic Oscillator page. Combine its coordinate and momentum, with , into ladder operators:
so . The Hamiltonian becomes
With , the commutators , show lowers and raises by one. Nonnegativity of forces a lowest state with . Repeated raising gives with energies .
Returning to the field and substituting the mode expansions, each momentum contributes one oscillator of frequency :
The constant is the formally infinite sum of zero-point energies. In this free theory without gravity, subtract it and measure energy relative to the vacuum. Each mode carries levels , with adding exactly .
Creation of particles
The mode's quantum is a particle. One quantum of momentum carries , exactly a relativistic particle of mass . The state space is the product of mode spaces. The vacuum is annihilated by every and has zero energy. General states are labeled by occupation numbers:
Because the creation operators commute, particles are identical bosons, matching the integer-spin scalar row. Energy is bounded below since every and , so the negative-energy problem of the Klein–Gordon single-particle reading disappears. The negative-frequency term now carries and adds energy, and an empty mode cannot be lowered further. Particle number is conserved because .
The real scalar therefore has one family of particle operators. Its quanta are their own antiparticles. We impose the canonical field commutator and derive the mode commutators from it.
The spinor field
The Dirac field has two operator families: for positive-frequency modes and for negative-frequency modes. Before reordering, each mode contributes to the Hamiltonian.
Ordinary commutators would make the antiparticle energy negative and unbounded below. With anticommutators, , so both species have positive energy after subtracting the vacuum constant.
The same algebra gives : each momentum-and-spin mode holds at most one fermion. Exchanging two creation operators changes the state's sign. The second family creates antiparticles of the same mass and opposite charge.
The sections below develop these steps in order.
The scalar field in modes
Start with the real scalar field from The Action and Lagrangians page. Its Lagrangian density is . Applying the Euler–Lagrange equation gives
Here is the d'Alembertian, the relativistic wave operator. Substitute a plane wave , where . It solves the equation when
We choose real initial values for and . Because the equation has real coefficients, the field remains real during evolution.
To keep the plane-wave expansion real, pair each term with its complex conjugate. The general solution is
The star denotes complex conjugation. One complex function therefore specifies both frequency halves and encodes the initial field and its time derivative. We include so that the canonical commutator gives and the Hamiltonian counts each quantum with energy . From Action and Lagrangians, the conjugate momentum is .
The Hamiltonian separates into oscillator contributions with frequency . A real field ties the spatial Fourier coefficients at and by complex conjugation; independent sine and cosine coordinates give the real oscillators. The following calculation checks that separation without assuming a particle interpretation.
Decomposing the Hamiltonian into oscillators
Separate the momentum modes. To evaluate the Hamiltonian, Fourier-expand the field and momentum on a spatial slice. In this form, the coefficients depend on time:
Since , we have . Unlike the constant above, contains the mode's time dependence. This form specifies the field and momentum at an instant without first solving their evolution.
Substitute these expansions into the Action page's Hamiltonian, . Each gradient contributes .
The spatial integral uses , leaving only pairs with . Reality gives and , so
Each contribution has the form of a harmonic oscillator Hamiltonian, with frequency . The Fourier amplitudes at and obey the reality relation; the independent real coordinates can equivalently be written as sine and cosine modes.
The coefficients describe the amplitudes and phases once the modes evolve on shell[1]. This is the oscillator whose phase-space motion appeared on the Action page.

A field profile decomposes into spatial modes. Each mode evolves as an oscillator with frequency E divided by hbar.
Second quantization
We can quantize either the mode amplitudes or the field and conjugate momentum. These are two descriptions of the same step.
For the mode description, replace each amplitude and its complex conjugate by a pair of adjoint operators:
The adjoint replaces complex conjugation. This is the step used for the Dirac field on the Fields and Quanta page.
First quantization quantized a classical particle. Here we quantize a classical field, so “second quantization” does not mean quantizing the same object twice. A real scalar has one independent operator family. A charged field has a separate antiparticle family, like the -operators in the Fields and Quanta promotion.
Equivalently, promote the canonical variables at every point: and . The field becomes
The conjugate momentum is . Taking the adjoint swaps the two terms, so , the operator counterpart of a real field.
Strictly, is an operator-valued distribution. Integrating it against a suitable smooth function gives a well-defined operator, as explained in Fields and Quanta.
The canonical commutator
For a particle, canonical quantization imposes . For a field, we impose the corresponding relation at every pair of spatial points:
Both operators refer to the same time. This is the equal-time canonical commutator. The delta function is the continuous counterpart of a Kronecker delta: field and momentum variables at distinct points commute.
Heisenberg evolution determines commutators at other times; we do not impose this same formula for arbitrary pairs of times.
This commutator is a quantization postulate. Following the Action page, we can also obtain it by applying the correspondence rule to the classical Poisson bracket . Once we impose it, the mode-operator commutators follow.
Ladder commutators
The equal-time field commutator implies
We obtain this by isolating each mode from the field and its conjugate momentum. Thus distinct momenta correspond to independent quantum oscillators.
Deriving the mode commutators
To derive the mode algebra, evaluate the field and momentum at . The temporal phases become , leaving
Isolate one annihilation operator. Multiply by and integrate over space.
Fourier orthogonality selects the annihilation term at momentum . Its two contributions add because contributes . The creation term is selected at , but its contributions cancel because contributes and . Thus
Taking the adjoint gives the corresponding expression for . This is the field version of expressing oscillator ladder operators in terms of coordinate and momentum.
Substitute both integrals into . The field–field and momentum–momentum commutators vanish. The mixed terms give a spatial delta function, and Fourier orthogonality then gives a momentum delta function:
The factor matches the momentum integration measure. The momentum delta means different modes commute; a mode has a nonzero commutator only with its own adjoint.
In a finite box, momenta are discrete. Rescale each discrete mode operator so that . This is the independent-oscillator algebra previewed on the Action page. We derived it from the canonical field commutator, rather than imposing a second algebra independently.
One oscillator per momentum
Each discrete momentum mode now has the algebra of the Harmonic Oscillator. For one oscillator of frequency , gives
Its levels are . The creation operator raises by one; lowers it by one.
To identify the field's mode energies, start with its Hamiltonian:
Substitute the field and momentum expansions. Spatial orthogonality removes the coupling between different modes. Each mode has frequency , so the result has the form
Each oscillator contributes a vacuum energy . Summing over infinitely many modes gives a formally divergent constant. In this free theory without gravity, we subtract that constant and measure energies relative to the vacuum.
With this mode normalization, the remaining energy is times the occupation number of each mode.
A state with quanta in one mode has energy above the vacuum. Applying adds ; applying removes it. This verifies the creation and annihilation interpretation introduced in Fields and Quanta.
Creation of particles
One quantum in momentum mode has momentum and energy . These are the energy and momentum of a relativistic particle of mass . We therefore identify as a one-particle momentum state.
In box normalization, label states by the occupation numbers : the number of quanta in each discrete momentum mode. The vacuum has every occupation zero and satisfies for all . After subtracting its energy,
Applying to the vacuum creates particles in those two modes. Repeating one creation operator puts several particles in the same mode.
Each operator changes only its own occupation number, with the normalization factors derived for the Harmonic Oscillator:
Every other mode remains unchanged. Since the creation operators commute, exchanging their order leaves the state unchanged. The particles are therefore bosons, with symmetric multiparticle states. This matches the scalar entry in the field table. We will use anticommutators for the spinor field below.
Building states one quantum at a time
The image shows how repeated creation changes occupation numbers. Each horizontal position labels a momentum mode, and each filled dot represents one quantum:

The left panel shows , one particle at . The middle shows , two particles in the same mode. The right applies as well, adding one particle at a larger momentum .
These expressions specify the occupations. Repeated creation also produces normalization factors, as in the ladder formulas above.
The energy has a lower bound. Every is nonnegative and every is a nonnegative integer. An annihilation operator cannot lower an empty mode further.
This resolves the negative-energy problem in the single-particle Klein–Gordon interpretation. We retain the negative-frequency term , but its coefficient is now : it creates a particle with positive energy. The Dirac equation page previewed the corresponding reinterpretation for antiparticles.
The real scalar has one operator family and particles that are their own antiparticles. In the free theory, the number operator commutes with , so particle number is conserved. The construction gives the oscillator algebra previewed on the Action page.
The spinor field
The Fields and Quanta page introduced two Dirac-field operator families, and , with spin label . To quantize them, we must choose their algebra. The free Hamiltonian makes the consequence of that choice explicit.
The general Dirac solution has two positive-frequency spinors and two negative-frequency spinors per momentum. Replace their coefficients by operators:
The Dirac adjoint is . Unlike a real scalar, this field is not Hermitian; it has distinct particle and antiparticle operator families.
The negative-frequency term contains . As the mode analysis in Fields and Quanta explains, this term raises the state's energy by . It implements the negative-energy solutions.
Substitute the expansion into the free Dirac Hamiltonian. Integrate the plane waves and use the spinor orthogonality relations. Before reordering the operators, the result is
The antiparticle term has a minus sign. If we used bosonic commutators, , it would become plus a constant. Repeated creation would then lower the energy indefinitely. There would be no lowest-energy vacuum.
Instead impose anticommutators, defined by . With the momentum measure used above, they take the form
All other anticommutators within and between the two families vanish. This is a quantization postulate, analogous to the scalar's canonical commutator.
For a normalized discrete mode, . Substituting this relation reverses the sign of the antiparticle number term:
Both number terms now have positive coefficients. Choose a vacuum that every and annihilates, and subtract its constant energy as in the scalar theory. Exciting either species increases the energy.
The anticommutators also determine occupancy, exchange symmetry, and the antiparticle interpretation.
One fermion per mode. From we get . Creating a second identical fermion in the same mode gives the zero vector. Thus can only be or .
This is the Pauli exclusion principle. A mode includes both momentum and spin, so two electrons can share a momentum if they occupy different spin states.
Antisymmetric states. Interchanging two creation operators gives . The multiparticle state changes sign under exchange, giving Fermi–Dirac statistics.
For scalars, commuting operators gave symmetric states. For spinors, anticommuting operators give antisymmetric states. These examples illustrate the spin–statistics relation in the field table; we state the general theorem without proof because a derivation requires a longer treatment of relativistic locality and the Hilbert-space assumptions.

Commuting creation operators allow repeated boson occupation. Anticommuting fermion creation operators square to zero, giving at most one quantum per momentum-and-spin mode.
Antiparticles. The independent operator creates a particle of energy with the same mass as the particle. The two species carry opposite charge. Their charge operator has the form .
The QED page derives this charge from U(1) symmetry. For the electron field, the species are electron and positron. A real scalar instead has no distinct antiparticle species.
For later interaction calculations, we will need an amplitude connecting two field insertions. We state its free-field form here; Perturbation Theory explains time ordering and how to use it. The time-ordered vacuum expectation value . This is the spinor propagator used in Wick contractions. In momentum space, using natural units , it is the inverse Dirac kinetic operator, , as used on the Perturbation Theory page.
We have now quantized scalar and spinor fields. The vector field has an additional gauge redundancy, so its quantization includes gauge fixing. The QED page develops that step.
On shell means satisfying the relativistic energy–momentum relation. For a positive-energy mode, ; these four-momenta lie on the mass shell. A spatial Fourier expansion describes initial field data without specifying its time dependence. Free evolution then gives each mode frequency . The Hamiltonian acts on arbitrary initial field and momentum data, so evaluating it does not require first substituting an on-shell solution. ↩︎