The quantum harmonic oscillator is more than a model for a particle moving near a stable equilibrium. It also provides the mathematical framework for describing the electromagnetic field quantum mechanically. The central result of this chapter is that each independent normal mode of the free electromagnetic field is equivalent to a harmonic oscillator. Its quantized excitations are photons.
Establishing this connection requires concepts from classical mechanics and electrodynamics that go beyond the usual introductory physics curriculum. These include the Lagrangian and Hamiltonian formulations of mechanics, electromagnetic potentials, gauge transformations, and the energy of electromagnetic fields. A complete and mathematically rigorous treatment would require considerably more background and is beyond the scope of this course.
This chapter therefore aims to strike a balance between theoretical foundations and practical relevance. Rather than developing all the underlying classical theory from first principles, we introduce the essential concepts and use them to motivate the quantization of the electromagnetic field. The emphasis is on understanding the physical principles and the origin of the results that we will use in atomic, molecular, and optical physics.
We begin by examining how charged particles interact with classical electromagnetic potentials, leading to the minimal-coupling Hamiltonian. We then describe the electromagnetic field in terms of independent normal modes and show how their quantization leads to photons, vacuum fluctuations, and different quantum states of light.
These results provide the foundation for the quantum description of light–matter interactions developed later in this course, particularly the treatment of atomic transitions, photon absorption, and spontaneous emission in Chapter 5.
ImportantCore Knowledge — Know
Electromagnetic potentials and minimal coupling
The electromagnetic fields are expressed in terms of the scalar and vector potentials:
In the Coulomb gauge, \(\vec\nabla\cdot\vec A=0\), the independent radiation degrees of freedom are transverse.
Quantization of the electromagnetic field
Each independent transverse electromagnetic mode behaves as a harmonic oscillator. Promoting its canonical variables \(q_s\) and \(p_s\) to operators gives
\[
[\hat q_s,\hat p_{s'}]=i\hbar\delta_{ss'}.
\]
The quantized electromagnetic-field Hamiltonian can be written as
Fock states\(|n\rangle\): definite photon number, \(\Delta N=0\), and vanishing mean electric field.
Coherent states\(|\alpha\rangle\): eigenstates of \(\hat a\), with Poissonian photon-number statistics,
\[
(\Delta N)^2=\langle N\rangle=|\alpha|^2.
\]
Squeezed states: reduced uncertainty in one quadrature at the expense of increased uncertainty in the other.
NoteWorking Knowledge — Understand
Electromagnetic potentials and minimal coupling
Gauge transformations change the scalar and vector potentials without changing the physical electromagnetic fields.
Canonical momentum differs from mechanical momentum in the presence of a vector potential. This distinction leads to the minimal-coupling Hamiltonian.
In Coulomb gauge, the longitudinal electric field describes electrostatic interactions, while the transverse field contains the independent radiation degrees of freedom.
Classical field Hamiltonian
The electromagnetic field can be decomposed into independent normal modes, each equivalent to a harmonic oscillator.
The canonical variables \(q_s\) and \(p_s\) describe field modes, not the position and momentum of individual photons.
The classical field energy becomes a sum of harmonic-oscillator Hamiltonians.
Quantization of the electromagnetic field
Quantizing the normal modes introduces photon creation and annihilation operators.
Photons are quantum excitations of electromagnetic modes, characterized by their frequency, spatial structure, and polarization.
The vacuum state contains no photons but still possesses zero-point energy and nonzero field fluctuations.
Quantum states and uncertainty
Fock states have definite photon number but no preferred optical phase. Their mean electric field vanishes, although they can still exhibit interference.
Coherent states most closely resemble classical electromagnetic waves, with an oscillating mean electric field and equal quadrature uncertainties.
Squeezed states redistribute quantum fluctuations. Amplitude squeezing reduces fluctuations along the mean field amplitude, while phase squeezing reduces fluctuations perpendicular to it.
Squeezing can improve optical measurement precision by reducing quantum noise in the relevant quadrature, without violating the uncertainty principle.
The detailed derivations of minimal coupling, the normal-mode expansion, and field quantization are included to explain how the quantum description of light emerges from classical electrodynamics. The intermediate algebra and normalization calculations are not intended as material to memorize.
2.7.1. Charged particles and electromagnetic potentials
A particle of mass \(m\) and charge \(q\) moving with velocity \(\vec v=\dot{\vec r}\) in an electromagnetic field experiences the Lorentz force,
The electromagnetic fields themselves are governed by Maxwell’s equations. In SI units, these are
\[
\begin{aligned}
\vec\nabla\cdot\vec E &= \frac{\rho}{\varepsilon_0},
&\qquad
\vec\nabla\cdot\vec B &= 0,\\[6pt]
\vec\nabla\times\vec E &= -\frac{\partial\vec B}{\partial t},
&\qquad
\vec\nabla\times\vec B
&= \mu_0\vec j+\mu_0\varepsilon_0
\frac{\partial\vec E}{\partial t}.
\end{aligned}
\]
Here, \(\rho(\vec r,t)\) and \(\vec j(\vec r,t)\) denote the electric charge and current densities, respectively.
Rather than working directly with the electric and magnetic fields, it is often convenient to introduce a scalar potential\(\phi(\vec r,t)\) and a vector potential\(\vec A(\vec r,t)\), such that
These expressions automatically satisfy two of Maxwell’s equations: \(\vec\nabla\cdot\vec B=0\) and \(\vec\nabla\times\vec E=-\partial_t\vec B\). The remaining two Maxwell equations determine the potentials in terms of the charge and current distributions.
An important property of this description is that the potentials are not uniquely determined by the electromagnetic fields. Consider an arbitrary, sufficiently smooth scalar function \(\chi(\vec r,t)\) of position and time. We can define new potentials through the gauge transformation
Although the potentials change, the physical electromagnetic fields remain exactly the same. Thus, different choices of \(\chi(\vec r,t)\) correspond to different mathematical descriptions of the same electromagnetic field.
NoteDerivation: Gauge transformations leave the fields unchanged
For the magnetic field, we obtain
\[
\begin{aligned}
\vec B'
&=\vec\nabla\times\vec A'\\
&=\vec\nabla\times(\vec A+\vec\nabla\chi)\\
&=\vec\nabla\times\vec A
+\underbrace{\vec\nabla\times(\vec\nabla\chi)}_{=0}\\
&=\vec B.
\end{aligned}
\]
Here we used the fact that spatial and temporal derivatives commute for sufficiently smooth functions.
2.7.2. Minimal coupling from the classical Lagrangian
In Newtonian mechanics, the motion of a particle is determined by Newton’s second law, \(\vec F=m\ddot{\vec r}\). An equivalent description is provided by Lagrangian mechanics, which formulates the equations of motion in terms of a single function, the Lagrangian\(L\).
For a particle moving in a conservative potential \(V(\vec r)\), the Lagrangian is simply the difference between kinetic and potential energy,
\[
L=T-V=\frac12m\dot{\vec r}^{\,2}-V(\vec r).
\]
More generally, the equations of motion follow from the principle of stationary action: the actual trajectory between two fixed endpoints makes the action
\[
S=\int_{t_i}^{t_f}L\,dt
\]
stationary with respect to small variations of the trajectory. This leads to the Euler–Lagrange equations (also called Lagrange’s equations of the second kind),
For \(L=T-V\), these equations reproduce Newton’s second law, \(m\ddot{\vec r}=-\vec\nabla V\). Thus, Lagrangian mechanics does not introduce different physics; it provides another way of describing the same motion.
2.7.2.1 The Lagrangian of a charged particle
For a charged particle in an electromagnetic field, the situation is slightly more complicated. The magnetic part of the Lorentz force, \(q\vec v\times\vec B\), depends on the particle’s velocity and therefore cannot be obtained from an ordinary position-dependent potential energy \(V(\vec r)\).
Instead, the electromagnetic interaction requires a velocity-dependent term in the Lagrangian. For a particle of mass \(m\) and charge \(q\) moving in prescribed electromagnetic potentials \(\phi(\vec r,t)\) and \(\vec A(\vec r,t)\), we use
The first term is the kinetic energy. The term \(-q\phi\) describes the interaction with the scalar potential, while \(q\dot{\vec r}\cdot\vec A\) accounts for the velocity-dependent electromagnetic interaction.
Why is this the correct Lagrangian? We can establish its consistency with classical electrodynamics by checking two essential properties:
Lorentz force: The Euler–Lagrange equations must reproduce the familiar equation of motion \(m\ddot{\vec r}=q(\vec E+\vec v\times\vec B)\).
Gauge invariance: Changing the electromagnetic potentials by a gauge transformation must not change the particle’s physical motion.
We verify the first property below. The second will be demonstrated after introducing the canonical momentum and Hamiltonian.
NoteDerivation: recover the Lorentz force, component by component
For a Cartesian coordinate \(x_i\), the Euler–Lagrange equation is
The Lagrangian formulation describes the motion of a particle in terms of its position \(\vec r\) and velocity \(\dot{\vec r}\). There is, however, another equivalent formulation of classical mechanics that is particularly useful for our purposes: Hamiltonian mechanics.
Instead of working with positions and velocities, Hamiltonian mechanics uses positions and momenta as its fundamental variables. Together, these define the phase space of a system, which combines position and momentum space. A point in phase space specifies the instantaneous state of a classical system.
To make this change of variables, we first need to define the momentum associated with each coordinate. In Lagrangian mechanics, this is done through
This quantity is called the canonical momentum, or the momentum conjugate to the coordinate \(x_i\). The term conjugate indicates that \(x_i\) and \(p_i\) form a corresponding pair of phase-space coordinates.
For the familiar Lagrangian \(L=T-V\), where the potential energy does not depend on velocity, we find
Thus, in this case, canonical momentum is identical to the familiar mechanical momentum\(m\dot{\vec r}\).
For a charged particle in an electromagnetic field, however, the Lagrangian contains an additional velocity-dependent term, \(q\dot{\vec r}\cdot\vec A\). Consequently,
This distinction is important because the canonical momentum is the variable used in Hamiltonian mechanics and, subsequently, in the canonical formulation of quantum mechanics.
2.7.2.3 The Hamiltonian and minimal coupling
Having introduced positions and canonical momenta as our new variables, we now need a function that describes the dynamics in terms of these variables.
In Lagrangian mechanics, this role is played by the Lagrangian \(L(\vec r,\dot{\vec r},t)\). In Hamiltonian mechanics, it is played by the Hamiltonian\(H(\vec r,\vec p,t)\).
The two functions are related by a mathematical transformation known as the Legendre transformation:
\[
\boxed{
H=\vec p\cdot\dot{\vec r}-L.
}
\]
This transformation replaces the dependence on velocity by a dependence on canonical momentum. In particular, the velocities on the right-hand side must be expressed in terms of \(\vec r\) and \(\vec p\).
The Hamiltonian determines the time evolution of the phase-space coordinates through Hamilton’s equations,
These equations are equivalent to the Euler–Lagrange equations and therefore to Newton’s equations of motion. They simply express the same physics in terms of positions and momenta rather than positions and velocities.
For a particle with the familiar Lagrangian \(L=T-V\), the Legendre transformation gives
\[
H=\frac{\vec p^{\,2}}{2m}+V(\vec r),
\]
which is just the total mechanical energy \(T+V\). This is the Hamiltonian already familiar from elementary quantum mechanics.
We now apply the same procedure to a charged particle in an electromagnetic field. For our electromagnetic Lagrangian, we substitute \(\vec p=m\dot{\vec r}+q\vec A\) and obtain
This expression has a familiar form: the kinetic energy plus the electric potential energy. The magnetic field does not contribute a separate potential-energy term.
However, the Hamiltonian must be expressed in terms of the canonical momentum \(\vec p\), rather than the velocity. Using
Recall that the principle of stationary action compares possible trajectories connecting the same initial and final positions at fixed times.
The additional term depends only on these endpoints, not on the path taken between them. Consequently, every possible trajectory acquires exactly the same additional contribution to its action.
Adding the same constant to the action of every trajectory cannot change which trajectory makes the action stationary.
Therefore, the equations of motion remain unchanged. This establishes the gauge invariance of the particle dynamics, our second consistency requirement.
2.7.2.4 Minimal coupling in quantum mechanics
We can now make the connection to quantum mechanics.
In the position representation, the canonical momentum is represented by the differential operator
\[
\hat{\vec p}=-i\hbar\vec\nabla.
\]
Replacing the classical canonical momentum in the minimal-coupling Hamiltonian by this operator gives
\[
\hat{\vec p}_{\mathrm{mech}}
=\hat{\vec p}-q\vec A.
\]
An important detail is that \(\hat{\vec p}\) is a differential operator. If \(\vec A\) depends on position, the two generally do not commute. The square in the Hamiltonian therefore represents the complete operator product, including derivatives acting on the vector potential.
NoteProof: Gauge invariance of the Schrödinger equation
Statement. Consider a wavefunction \(\psi(\vec r,t)\) that satisfies the Schrödinger equation
When this operator acts on the transformed wavefunction, the gradient acts on both the exponential phase factor and the original wavefunction. Using the product rule,
Note: The gradient \(\vec\nabla\chi\) acts only on the gauge function \(\chi\) and is therefore an ordinary vector-valued function. In contrast, the standalone gradient operator \(\vec\nabla\) acts on the entire product \(e^{iq\chi/\hbar}\psi\), requiring the product rule. The two resulting terms involving \(\vec\nabla\chi\) cancel exactly.
Applying the same relation once more shows that the entire kinetic-energy operator transforms in the same way:
Now consider the time derivative on the left-hand side of the Schrödinger equation. Because the phase factor also depends on time, the product rule gives
Conclusion. The Schrödinger equation retains its form under a gauge transformation, provided the wavefunction acquires the corresponding position- and time-dependent phase factor.
Since this factor has unit magnitude, the probability density is unchanged:
\[
|\psi'(\vec r,t)|^2=|\psi(\vec r,t)|^2.
\]
Other physical observables are likewise gauge independent when their operators are transformed consistently. The wavefunction and electromagnetic potentials may change, but they still describe the same physical system.
At this point, the electromagnetic potentials \(\vec A\) and \(\phi\) are still prescribed classical functions. In the following sections, we will describe the electromagnetic field itself as a dynamical system and ultimately quantize its independent degrees of freedom.
2.7.3. Which parts of the electromagnetic field are independent?
In the previous section, we treated the electromagnetic potentials as prescribed classical functions. Our next goal is to describe the electromagnetic field itself as a dynamical system, and eventually to quantize it.
To do so, we must first identify its independent degrees of freedom. For a particle, we can use its position and canonical momentum as dynamical variables. But what are the corresponding variables for an electromagnetic field?
At first glance, we might consider the three components of the electric field \(\vec E\) and the three components of the magnetic field \(\vec B\). However, these six components are not independent: they must satisfy Maxwell’s equations.
contain no time derivatives. They impose constraints on the fields at any given instant.
The first equation tells us that the divergence of the electric field is determined by the charge distribution. The second requires the magnetic field to have zero divergence.
The remaining Maxwell equations describe how the electric and magnetic fields evolve in time. Thus, Maxwell’s equations contain both constraints and dynamical equations.
Before quantizing the field, we need to distinguish the parts constrained by the charge distribution from those that can evolve as independent electromagnetic degrees of freedom.
2.7.3.1. The Helmholtz decomposition
A useful mathematical result, known as the Helmholtz decomposition, states that a sufficiently well-behaved vector field can be separated into two parts:
The longitudinal component has no curl, while the transverse component has no divergence.
The terms longitudinal and transverse may seem unusual at this point. For now, they are simply names for these two mathematical properties. Their geometric interpretation will become clearer when we introduce the normal modes of the field.
NoteWhy can a vector field be separated into longitudinal and transverse parts?
The Helmholtz decomposition states that a sufficiently smooth vector field \(\vec F(\vec r)\), with suitable boundary conditions, can be written as
This construction establishes the decomposition without assuming that the field describes a wave.
What about the names?
The terms longitudinal and transverse become geometrically transparent when the field is later expanded into spatial Fourier components. For each component, longitudinal means parallel to its spatial wave vector and transverse means perpendicular to it.
That interpretation does not require the field to be an electromagnetic wave; Fourier components can describe arbitrary spatial field distributions.
Why is this decomposition useful?
Consider Gauss’s law. Substituting the decomposition of the electric field gives
Together with the condition \(\vec\nabla\times\vec E_{\mathrm L}=0\) and suitable boundary conditions, this determines the longitudinal electric field from the charge distribution.
The transverse component, on the other hand, is not determined by Gauss’s law.
We have therefore achieved our first objective: the decomposition separates the electric field constrained by the charges from the part that can possess independent dynamics.
Code
import numpy as npimport matplotlib.pyplot as pltfrom matplotlib.patches import Circle, FancyArrowPatch# ------------------------------------------------------------# Figure settings# ------------------------------------------------------------BLUE ="#287dbb"ORANGE ="#d87c34"GRAY ="#666666"FIELD_WIDTH =2.6ARROW_SIZE =23CENTER_Y =0.35fig, axes = plt.subplots(1, 2, figsize=(11.6, 5.5))# Both panels use the same coordinate system and have no axes.for ax in axes: ax.set_aspect("equal") ax.set_xlim(-2.6, 2.6) ax.set_ylim(-2.35, 2.5) ax.axis("off")# ------------------------------------------------------------# Left panel: longitudinal (curl-free) field## Example: radial electric field of a positive charge.# The arrows point outward from the charge.# ------------------------------------------------------------ax = axes[0]# Draw the positive charge.ax.add_patch( Circle((0, CENTER_Y), 0.34, color=ORANGE, zorder=3))ax.text(0, CENTER_Y, "+", color="white", fontsize=20, ha="center", va="center", zorder=4)# Draw eight equally spaced radial field arrows.for angle_deg in np.arange(0, 360, 45): angle = np.deg2rad(angle_deg) start_radius =0.53 end_radius =2.0 start = ( start_radius * np.cos(angle), CENTER_Y + start_radius * np.sin(angle), ) end = ( end_radius * np.cos(angle), CENTER_Y + end_radius * np.sin(angle), ) ax.add_patch( FancyArrowPatch( start, end, arrowstyle="->", mutation_scale=ARROW_SIZE, linewidth=FIELD_WIDTH, color=BLUE, ) )ax.text(0, -1.97, "Curl-free (longitudinal)", ha="center", fontsize=13)ax.text(0, -2.28, "Radial electric field of a positive charge", ha="center", fontsize=10, color=GRAY)# ------------------------------------------------------------# Right panel: transverse (divergence-free) field## Example: a circulating vector field.# Closed field lines have no beginning or end.# ------------------------------------------------------------ax = axes[1]center = (0, CENTER_Y)# Mark the center of circulation.ax.add_patch( Circle(center, 0.075, color="#222222", zorder=4))# Draw three circular field lines with clockwise arrows.for radius in (0.62, 1.12, 1.65): ax.add_patch( Circle( center, radius, fill=False, edgecolor=BLUE, linewidth=2.5, ) )# A downward-pointing tangent arrow on the right side# indicates clockwise circulation. ax.add_patch( FancyArrowPatch( (radius, CENTER_Y), (radius, CENTER_Y -0.1), arrowstyle="->", mutation_scale=22, linewidth=FIELD_WIDTH, color=BLUE, ) )ax.text(0, -1.97, "Divergence-free (transverse)", ha="center", fontsize=13)ax.text(0, -2.28, "Illustrative circulating field: closed field lines", ha="center", fontsize=10, color=GRAY)# ------------------------------------------------------------# Final layout# ------------------------------------------------------------fig.subplots_adjust( left=0.04, right=0.96, top=0.95, bottom=0.10, wspace=0.13,)plt.show()
Figure 1: Illustration of longitudinal and transverse vector fields. The longitudinal field is curl-free, while the transverse field is divergence-free. The radial and circulating patterns are illustrative examples, not general requirements.
This does not mean that the transverse field is unaffected by charged particles. Currents can generate electromagnetic radiation. The distinction is that the transverse field is not fixed by the instantaneous charge distribution alone.
2.7.3.2. The Coulomb gauge
We now want to express this separation in terms of the electromagnetic potentials introduced earlier.
Recall that
\[
\vec E=-\vec\nabla\phi-\frac{\partial\vec A}{\partial t},
\qquad
\vec B=\vec\nabla\times\vec A.
\]
Since the electromagnetic potentials are not unique, we can choose a gauge that makes the separation particularly convenient.
We choose the Coulomb gauge, defined by
\[
\boxed{
\vec\nabla\cdot\vec A=0.
}
\]
In this gauge, the vector potential is divergence-free and therefore purely transverse.
The Coulomb gauge has therefore achieved something important: it assigns the longitudinal electric field to the scalar potential \(\phi\), while the vector potential \(\vec A\) describes the transverse field.
2.7.3.3. The longitudinal field and Coulomb interaction
Let us examine what happens to Gauss’s law in Coulomb gauge.
Using the expression for the electric field,
\[
\vec\nabla\cdot\vec E
=-\nabla^2\phi
-\frac{\partial}{\partial t}
(\vec\nabla\cdot\vec A).
\]
The second term vanishes because of the Coulomb-gauge condition. We obtain
Thus, once the charge distribution is known, the scalar potential and therefore the longitudinal electric field are determined.
Notice that this equation contains no second time derivative of \(\phi\). The scalar potential is not an independent oscillator-like degree of freedom; it is constrained by the charge distribution.
NoteDerivation: The longitudinal field contains the Coulomb energy
The energy stored in the longitudinal electric field is
For a collection of point charges, the interaction terms reproduce the familiar Coulomb potential energy between pairs of charges. The expression also contains self-energy terms, which require separate treatment.
Thus, the longitudinal electric field accounts for the Coulomb interaction between charges.
Connection to hydrogen. For a hydrogen atom, the charge density of a proton at \(\vec r_p\) and an electron at \(\vec r_e\) is
This is precisely the Coulomb potential in the hydrogen Hamiltonian. In the Coulomb-gauge formulation of nonrelativistic QED, the longitudinal field accounts for this interaction, while the transverse field provides the independent photon degrees of freedom.
Note: In Coulomb gauge, the scalar potential is determined by the charge distribution at the same instant. This does not imply that electromagnetic signals propagate instantaneously. The complete electric field also contains the transverse contribution, and physical electromagnetic disturbances propagate causally.
2.7.3.4. The independent radiation field
We can now return to our original question: Which parts of the electromagnetic field should we quantize?
The longitudinal electric field is determined by the charge distribution and accounts for the Coulomb interaction. The independent electromagnetic degrees of freedom are contained in the transverse vector potential \(\vec A\).
To see how their energy enters, recall the classical electromagnetic field energy,
The first term, \(U_{\mathrm L}\), represents the Coulomb interaction derived above . The second, \(H_{\mathrm T}\), is the energy associated with the independent transverse electromagnetic field.
NoteWhy are the longitudinal and transverse electric fields orthogonal?
In Coulomb gauge, the longitudinal electric field is \(\vec E_{\mathrm L}=-\vec\nabla\phi\), while the transverse field satisfies \(\vec\nabla\cdot\vec E_{\mathrm T}=0\).
Consider the cross term in the electromagnetic energy:
The second term vanishes because the transverse field is divergence-free. For fields that vanish sufficiently rapidly at infinity, or for suitable boundary conditions, the surface term also vanishes.
This explains why the electromagnetic energy separates into longitudinal and transverse contributions without a cross term.
For the free electromagnetic field, where there are no charges or currents, we can choose \(\phi=0\). The remaining field is described entirely by the transverse vector potential:
We have now identified the dynamical field that we want to quantize.
Our next task is to determine how this field evolves and whether its energy can be expressed in terms of familiar mechanical systems.
As we will see in the next section, the transverse electromagnetic field can be decomposed into independent normal modes, each behaving exactly like a harmonic oscillator.
2.7.4. Normal modes of the free electromagnetic field
In the previous section, we established that the independent electromagnetic degrees of freedom are contained in the transverse vector potential \(\vec A\).
Our next goal is to describe the motion of these degrees of freedom and determine whether they can be represented by familiar mechanical systems.
2.7.4.1. The wave equation
We consider the free electromagnetic field, in the absence of charges and currents:
\[
\rho=0,\qquad \vec j=0.
\]
In Coulomb gauge, we can choose \(\phi=0\), so that
This is the familiar electromagnetic wave equation. It describes how the transverse vector potential evolves in space and time.
2.7.4.2. Normal modes as a basis for the electromagnetic field
The wave equation describes a field with infinitely many degrees of freedom: the vector potential can take different values at every position in space.
However, the wave equation is linear, so a superposition of solutions is itself a solution. We can therefore describe the field in terms of a basis of independent solutions, called normal modes.
This is closely related to a familiar idea from quantum mechanics. Just as we can expand a quantum state in an orthonormal basis,
\[
|\psi\rangle=\sum_n c_n|n\rangle,
\]
we can expand a classical field in a basis of spatial functions,
Here, the functions \(\vec u_\alpha(\vec r)\) describe the spatial structure of the modes, while \(Q_\alpha(t)\) are their time-dependent amplitudes. Unlike the coefficients of a quantum state, these are initially classical field amplitudes.
For the free electromagnetic field, plane waves provide a particularly convenient basis.
Periodic boundary conditions.
To obtain a discrete set of modes, we imagine the field in a large cubic box of side length \(L\) and volume \(V=L^3\). We impose periodic boundary conditions: the field and its spatial derivatives agree on opposite faces of the box.
In one dimension, this means
\[
A(x+L,t)=A(x,t).
\]
A plane-wave factor \(e^{ikx}\) satisfies this condition only if
The integer \(n\) counts the number of complete spatial oscillations across the box. Figure 2 illustrates the real part of several such modes at a fixed time.
The wave vector \(\vec k\) determines the spatial variation of each mode. Its direction is perpendicular to surfaces of constant phase, and its magnitude determines the wavelength \(\lambda=2\pi/|\vec k|\).
Transverse polarizations.
The Coulomb-gauge condition places an additional restriction on these Fourier components.
Because the Fourier functions are linearly independent, the condition \(\vec\nabla\cdot\vec A=0\) requires
\[
\boxed{\vec k\cdot\vec A_{\vec k}(t)=0}
\]
for each nonzero \(\vec k\).
Thus, each Fourier amplitude is perpendicular to its wave vector: the electromagnetic field is transverse.
For any nonzero \(\vec k\), there are two independent directions perpendicular to it. We introduce two orthonormal polarization vectors \(\vec\epsilon_{\vec k1}\) and \(\vec\epsilon_{\vec k2}\), satisfying
The vector structure of the field is contained in the polarization vectors, while the coefficients \(Q_{\vec k\lambda}(t)\) describe the time-dependent amplitudes of the individual modes.
Reality condition.
Although complex exponentials are convenient mathematical basis functions, the physical vector potential \(\vec A(\vec r,t)\) must be real.
Consequently, the coefficients at \(\vec k\) and \(-\vec k\) are not independent.
We will retain the complex Fourier representation because it is convenient for describing traveling waves. When identifying the independent harmonic oscillators, we will simply use the real and imaginary parts of these amplitudes.
In the following, we restrict ourselves to nonzero wave vectors \(\vec k\ne0\), corresponding to the propagating electromagnetic modes.
2.7.4.3. Equations of motion for the normal modes
We now determine how the Fourier amplitudes evolve in time.
Substituting the normal-mode expansion into the electromagnetic wave equation,
This is precisely the equation of motion of a harmonic oscillator.
Each Fourier amplitude evolves independently with frequency \(\omega_k\). The reality condition ensures that the amplitudes at opposite wave vectors remain related.
However, the equation of motion alone does not establish the full equivalence with a mechanical harmonic oscillator. We must also examine the energy of the electromagnetic field.
2.7.4.4. The electromagnetic field as a collection of harmonic oscillators
The energy of the free transverse electromagnetic field is
Here, \(\vec k>0\) is shorthand for selecting exactly one representative from each pair of opposite nonzero wave vectors. It does not imply an ordering of vectors by magnitude.
Each complex amplitude contains two independent real coordinates, which we define as
We have now established the equivalence at the level of both the equations of motion and the energy:
The free transverse electromagnetic field is mathematically equivalent to an infinite collection of independent harmonic oscillators.
This provides the starting point for quantizing the electromagnetic field. Instead of quantizing the field at every position separately, we can apply the familiar quantum mechanics of the harmonic oscillator to each independent mode.
The complex Fourier representation will remain useful later when we describe photons associated with traveling electromagnetic waves.
2.7.5. Quantization: photons as oscillator excitations
In the previous section, we showed that the free transverse electromagnetic field is mathematically equivalent to a collection of independent harmonic oscillators:
This sum formally diverges when arbitrarily high-frequency modes are included. In our nonrelativistic treatment, we can set aside this constant energy contribution and concentrate on the observable excitations and fluctuations of the field.
In particular, the vacuum has nonzero electromagnetic field fluctuations, even though it contains no photons.
2.7.5.1. The quantized electromagnetic field
We have quantized the electromagnetic field as a collection of independent harmonic oscillators. However, we have not yet established how their quantum excitations are related to the photons we normally associate with propagating light.
From harmonic oscillators to traveling-wave photons.
Recall that the classical Fourier amplitudes at \(\vec k\) and \(-\vec k\) are related by the reality condition,
\[
Q_{-\vec k,\lambda}=Q_{\vec k\lambda}^*.
\]
Each pair therefore corresponds to two independent real oscillators, associated with the cosine and sine components of the electromagnetic field.
Neither component individually describes a wave propagating in a definite direction. However, traveling waves can be constructed by combining these components with an appropriate relative phase:
We can make the same transformation at the quantum level. Combining the annihilation operators \(\hat b_1\) and \(\hat b_2\) of the two real oscillators, we define
The transformation preserves the Hamiltonian and does not introduce additional degrees of freedom. We have simply chosen a representation in which each photon has a definite propagation direction.
The vector potential operator.
We can now express the electromagnetic field in terms of these traveling-wave photon operators.
Recall that the momentum of a harmonic oscillator is related to the time derivative of its coordinate, \(p_s=\dot q_s\). After quantization, the momentum operator can be expressed as
The electromagnetic field is no longer merely a prescribed function of space and time. Its amplitude is an operator that connects quantum states with different photon numbers.
Because the electric field operator contains both annihilation and creation operators, it can describe processes in which photons are absorbed or emitted by an atom.
2.7.5.2. Vacuum fluctuations and the uncertainty principle
The vacuum contains no photons, but does that mean the electromagnetic field vanishes?
To answer this question, consider a single electromagnetic mode with frequency \(\omega\). At a fixed position, choosing the spatial phase to be zero, the electric field component along its polarization direction can be written
In classical mechanics, an oscillator can be completely at rest at its equilibrium position, with \(q=p=0\). In quantum mechanics, however, the coordinate and momentum cannot both have precisely defined values.
As we have seen, each independent mode of the electromagnetic field behaves like a quantum harmonic oscillator. The electric field is related to the oscillator momenta, so their quantum uncertainties appear as fluctuations of the electromagnetic field.
The electromagnetic vacuum is therefore not a state in which the electric field has a precisely defined value of zero. Rather, it is the lowest-energy state of the field, with a vanishing average electric field but nonzero fluctuations.
This calculation concerns a single mode. For the full electromagnetic field, the fluctuations involve contributions from all modes, and the field variance at an idealized point requires additional care.
2.7.6. Quantum States of the Electromagnetic Field
Quantizing the electromagnetic field allows us to describe light in terms of photons. However, specifying the number of photons is not the only way to characterize a quantum state of light.
Different quantum states can have very different electric-field properties. In particular, they differ in their average electric field and in the quantum fluctuations around that average.
To visualize these differences, it is useful to introduce a representation based on the two field quadratures.
Field quadratures and the uncertainty principle
Recall that each electromagnetic mode is described by a quantum harmonic oscillator with coordinate \(\hat q\) and momentum \(\hat p\).
For a single mode of frequency \(\omega\), we define the dimensionless quadrature operators
\[
\boxed{
\begin{aligned}
\hat X
&=\frac{\hat a+\hat a^\dagger}{2}
=\sqrt{\frac{\omega}{2\hbar}}\,\hat q,\\[6pt]
\hat Y
&=\frac{\hat a-\hat a^\dagger}{2i}
=\frac{\hat p}{\sqrt{2\hbar\omega}}.
\end{aligned}
}
\]
Thus, the field quadratures are simply rescaled versions of the familiar harmonic oscillator coordinate and momentum.
Since
\[
[\hat q,\hat p]=i\hbar,
\]
the quadratures satisfy
\[
[\hat X,\hat Y]=\frac{i}{2}.
\]
The position–momentum uncertainty principle therefore becomes
\[
\boxed{
\Delta X\,\Delta Y\geq\frac14.
}
\]
The quadratures also have a simple connection to the amplitude and phase of an electromagnetic wave.
A classical monochromatic electric field can be written as
\[
E(t)=E_c\cos(\omega t)+E_s\sin(\omega t),
\]
or equivalently,
\[
E(t)=E_A\cos(\omega t-\phi),
\]
where
\[
E_c=E_A\cos\phi,
\qquad
E_s=E_A\sin\phi.
\]
The two coefficients \(E_c\) and \(E_s\) determine the amplitude \(E_A\) and phase \(\phi\) of the wave.
In the quantum description, the corresponding field components are represented by the operators \(\hat X\) and \(\hat Y\) (up to a choice of phase convention).
We can therefore visualize a quantum state in the \(X\)–\(Y\) plane:
The mean values \(\langle\hat X\rangle\) and \(\langle\hat Y\rangle\) specify the center of the state’s distribution.
The distance of this center from the origin is proportional to the mean field amplitude \(E_A\).
Its angle determines the phase of the mean electromagnetic field. During free evolution, this angle changes as \(\phi-\omega t\).
The spread around the center represents quantum fluctuations of the field.
The figure below illustrates a classical monochromatic electromagnetic field. Its amplitude and phase are precisely defined, and the field follows a sinusoidal oscillation in time.
Code
import numpy as npimport matplotlib.pyplot as plt# ------------------------------------------------------------# Classical monochromatic electromagnetic field## Left: Quadrature plane (X horizontal, Y vertical)# Right: Electric field as a function of time## Convention:# X(t) = A cos(phi - omega*t)# Y(t) = A sin(phi - omega*t)# E(t) = -E_A Y(t)/A# = E_A sin(omega*t - phi)# ------------------------------------------------------------# ParametersA =1.0phi = np.pi /2omega =1.0T =2* np.pi / omegat0 = T /8t = np.linspace(0, 3* T, 1500)# Quadratures at the selected instanttheta = phi - omega * t0X0 = A * np.cos(theta)Y0 = A * np.sin(theta)# Normalized electric fieldE = np.sin(omega * t - phi)E0 = np.sin(omega * t0 - phi)# Colors and stylingred ="#8b1e1e"gray ="#999999"plt.rcParams.update({"font.size": 12,"mathtext.fontset": "cm","axes.linewidth": 1.0,})fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(11, 4.2), gridspec_kw={"width_ratios": [1, 1.6]}, constrained_layout=True)# ------------------------------------------------------------# LEFT: X-Y quadrature plane# ------------------------------------------------------------angle = np.linspace(0, 2* np.pi, 500)# Circular trajectoryax1.plot( A * np.cos(angle), A * np.sin(angle), color=gray, ls="--", lw=1.4)# Coordinate axesax1.axhline(0, color="black", lw=0.9)ax1.axvline(0, color="black", lw=0.9)# Field vectorax1.annotate("", xy=(X0, Y0), xytext=(0, 0), arrowprops=dict( arrowstyle="-|>", color=red, lw=2.2, mutation_scale=16 ))# Projections onto the coordinate axesax1.plot( [X0, X0], [0, Y0], color=gray, ls=":", lw=1.2)ax1.plot( [0, X0], [Y0, Y0], color=gray, ls=":", lw=1.2)# Angle arc, measured counterclockwise from +Xr_arc =0.30* Aarc = np.linspace(0, theta, 100)ax1.plot( r_arc * np.cos(arc), r_arc * np.sin(arc), color=red, lw=1.3)# Arrowhead indicating positive angular directiondtheta =0.12ax1.annotate("", xy=( r_arc * np.cos(theta), r_arc * np.sin(theta) ), xytext=( r_arc * np.cos(theta - dtheta), r_arc * np.sin(theta - dtheta) ), arrowprops=dict( arrowstyle="-|>", color=red, lw=1.2, mutation_scale=10 ))# Angle labelax1.text(0.54* A * np.cos(theta /2),0.54* A * np.sin(theta /2),r"$\phi-\omega t_0$", color=red, ha="center", va="center", fontsize=11)# Amplitude labelax1.text(0.65* X0 -0.12,0.65* Y0 +0.12,r"$A$", color=red)ax1.set_xlim(-1.4* A, 1.4* A)ax1.set_ylim(-1.4* A, 1.4* A)ax1.set_aspect("equal")# Labels at the positive ends of the axesax1.text(1.34* A, 0.05* A,r"$X$", ha="center", va="bottom")ax1.text(0.05* A, 1.34* A,r"$Y$", ha="left", va="center")ax1.set_title("(a) Field quadratures")ax1.set_xticks([])ax1.set_yticks([])for spine in ax1.spines.values(): spine.set_visible(False)# ------------------------------------------------------------# RIGHT: Electric field versus time# ------------------------------------------------------------ax2.plot( t / T, E, color=red, lw=2.0)ax2.axhline(0, color="black", lw=0.9)# Highlight the selected instant t0ax2.scatter( [t0 / T], [E0], color=red, s=55, zorder=5)# Dotted projection onto the time axisax2.plot( [t0 / T, t0 / T], [0, E0], color=gray, ls=":", lw=1.2)# Label t0 on the time axisax2.annotate(r"$t_0$", xy=(t0 / T, 0), xytext=(0, 9), textcoords="offset points", ha="center", va="bottom", fontsize=11)ax2.set_xlim(0, 3)ax2.set_ylim(-1.35, 1.35)ax2.set_xlabel(r"Time $t/T$")ax2.set_ylabel(r"$E(t)/E_A$")ax2.set_title("(b) Classical electric field")ax2.set_xticks([0, 1, 2, 3])ax2.set_yticks([-1, 0, 1])ax2.spines["top"].set_visible(False)ax2.spines["right"].set_visible(False)plt.show()
Figure 3: Two equivalent representations of a classical monochromatic electromagnetic field. (a) The field quadratures describe a vector of constant amplitude rotating in the X–Y plane. Its angle is measured counterclockwise from the positive X-axis. (b) The corresponding sinusoidal electric field as a function of time. The highlighted point at t₀ corresponds to the vector shown in panel (a).
For a quantum state of the electromagnetic field, the mean values of the quadratures still describe the average field, but quantum fluctuations introduce uncertainty around these values. The uncertainty principle prevents both quadratures from being arbitrarily well defined simultaneously. Different quantum states of light are distinguished by their mean fields and by how these fluctuations are distributed in the \(X\)–\(Y\) plane.
We will use this representation to compare three important types of quantum states of light.
2.7.6.1. Fock states: Light with a definite photon number
A Fock state \(|n\rangle\) contains exactly \(n\) photons in a given electromagnetic mode:
\[
\hat N|n\rangle=n|n\rangle,
\qquad
\hat N=\hat a^\dagger\hat a.
\]
Consequently, its photon-number uncertainty vanishes:
\[
\boxed{
\Delta N=0.
}
\]
However, a Fock state does not have a nonzero average electric field.
Since the annihilation and creation operators change the photon number,
The uncertainties are equal in both directions and increase with photon number.
In the \(X\)–\(Y\) plane, Fock states are therefore rotationally symmetric around the origin. They have no preferred optical phase.
The vacuum state \(|0\rangle\) is the simplest example, with
\[
(\Delta X)^2
=
(\Delta Y)^2
=
\frac14.
\]
For \(n>0\), the full phase-space distribution has a more complicated, non-Gaussian structure. Rather than a simple uncertainty circle centered at the origin, it exhibits a ring-like structure, reflecting the absence of a preferred optical phase.
The important distinction is that a Fock state has a precisely defined photon number, but no classical oscillating mean electric field.
Code
import numpy as npimport matplotlib.pyplot as pltfrom matplotlib.colors import LinearSegmentedColormapfrom math import factorial# ------------------------------------------------------------# Fock state |n>## Left: Husimi Q distribution in the X-Y plane# Right: Mean electric field and quantum fluctuations## <X> = <Y> = 0# (Delta X)^2 = (Delta Y)^2 = (2n+1)/4# <E(t)> = 0# ------------------------------------------------------------# Parametersn =3omega =1.0T =2* np.pi / omegat = np.linspace(0, 3* T, 1200)# Quadrature uncertaintydelta_X = np.sqrt((2* n +1) /4)# For E(t) = -2 E0 Y(t), the field rms uncertainty is# Delta E / E0 = 2 Delta Y = sqrt(2n+1).delta_E = np.sqrt(2* n +1)# Colorsred ="#8b1e1e"gray ="#999999"cmap = LinearSegmentedColormap.from_list("field_grad", ["#ffffff", "#f4a582", "#c0392b", "#5c0000"])plt.rcParams.update({"font.size": 12,"mathtext.fontset": "cm","axes.linewidth": 1.0,})fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(11, 4.2), gridspec_kw={"width_ratios": [1, 1.6]}, constrained_layout=True)# ------------------------------------------------------------# LEFT: Husimi Q distribution# ------------------------------------------------------------# Coherent-state coordinate alpha = X + iY.## Q_n(alpha) = exp(-|alpha|^2) |alpha|^(2n) / (pi n!)## The maximum occurs at |alpha| = sqrt(n).limit =3.8x = np.linspace(-limit, limit, 550)y = np.linspace(-limit, limit, 550)X, Y = np.meshgrid(x, y)R2 = X**2+ Y**2Q = np.exp(-R2) * R2**n / (np.pi * factorial(n))Q /= Q.max()# Display probability density with white backgroundax1.imshow( Q, extent=[-limit, limit, -limit, limit], origin="lower", cmap=cmap, vmin=0, vmax=1, interpolation="bilinear")# Coordinate axesax1.axhline(0, color="black", lw=0.9, alpha=0.8)ax1.axvline(0, color="black", lw=0.9, alpha=0.8)# Axis labelsax1.text(0.96* limit, 0.06* limit,r"$X$", ha="center", va="bottom")ax1.text(0.06* limit, 0.96* limit,r"$Y$", ha="left", va="center")ax1.set_xlim(-limit, limit)ax1.set_ylim(-limit, limit)ax1.set_aspect("equal")ax1.set_title(rf"(a) Fock state $|n={n}\rangle$")ax1.set_xticks([])ax1.set_yticks([])for spine in ax1.spines.values(): spine.set_visible(False)# ------------------------------------------------------------# RIGHT: Mean electric field and fluctuation band# ------------------------------------------------------------# Mean field is zero at all timesE_mean = np.zeros_like(t)# The band extends to +/- one rms field uncertainty.# The gradient is darkest at the mean and fades to white# at the edges, matching the requested visual style.ny =500y_field = np.linspace(-1.3* delta_E,1.3* delta_E, ny)TT, EE = np.meshgrid(t / T, y_field)distance = np.abs(EE)inside = distance <= delta_Eintensity = np.clip(1- distance / delta_E, 0, 1)rgba = cmap(intensity)rgba[..., 3] = np.where(inside, 1.0, 0.0)ax2.imshow( rgba, extent=[0, 3, y_field.min(), y_field.max() ], origin="lower", aspect="auto", interpolation="bilinear")# Mean fieldax2.plot( t / T, E_mean, color=red, lw=2.0)ax2.set_xlim(0, 3)ax2.set_ylim(-1.3* delta_E, 1.3* delta_E)ax2.set_xlabel(r"Time $t/T$")ax2.set_ylabel(r"$E(t)/E_0$")ax2.set_title("(b) Electric-field fluctuations")ax2.set_xticks([0, 1, 2, 3])ax2.set_yticks([-delta_E, 0, delta_E])ax2.set_yticklabels([r"$-\Delta E/E_0$","$0$",r"$+\Delta E/E_0$"])ax2.spines["top"].set_visible(False)ax2.spines["right"].set_visible(False)plt.show()
Figure 4: A Fock state with a definite photon number (n = 3). (a) Rotationally symmetric phase-space representation, illustrating the absence of a preferred optical phase. The ring-like distribution reflects the quantum fluctuations of the field. (b) The expectation value of the electric field vanishes at all times, although the field has nonzero quantum fluctuations. The red shading illustrates the rms field uncertainty, which is independent of time.
2.7.6.2. Coherent states: The quantum description of classical light
A coherent state \(|\alpha\rangle\) is defined as an eigenstate of the annihilation operator:
Remarkably, these are exactly the same uncertainties as in the vacuum.
In the \(X\)–\(Y\) plane, a coherent state is therefore represented by a circular Gaussian distribution displaced from the origin.
As the mean photon number increases, the displacement grows while the absolute quadrature uncertainties remain unchanged. The fluctuations therefore become small relative to the mean field amplitude.
This explains why coherent states with large photon occupation numbers provide an excellent quantum description of classical electromagnetic waves.
Code
import numpy as npimport matplotlib.pyplot as pltfrom matplotlib.colors import LinearSegmentedColormap# ------------------------------------------------------------# Coherent state |alpha>## Left: Quadrature distribution at t0# Right: Mean electric field and quantum fluctuations## <X>(t) = |alpha| cos(phi - omega*t)# <Y>(t) = |alpha| sin(phi - omega*t)## (Delta X)^2 = (Delta Y)^2 = 1/4## <E(t)> / E0 = 2 |alpha| sin(omega*t - phi)# Delta E / E0 = 1# ------------------------------------------------------------# Parametersalpha_abs =2.0phi = np.pi /2omega =1.0T =2* np.pi / omegat0 = T /8t = np.linspace(0, 3* T, 1500)theta = phi - omega * t0X0 = alpha_abs * np.cos(theta)Y0 = alpha_abs * np.sin(theta)# Mean electric field and rms uncertainty, in units of E0E_mean =2* alpha_abs * np.sin(omega * t - phi)E0_mean =2* alpha_abs * np.sin(omega * t0 - phi)delta_X =0.5delta_Y =0.5delta_E =1.0# Colorsred ="#8b1e1e"gray ="#999999"cmap = LinearSegmentedColormap.from_list("field_grad", ["#ffffff", "#f4a582", "#c0392b", "#5c0000"])plt.rcParams.update({"font.size": 12,"mathtext.fontset": "cm","axes.linewidth": 1.0,})fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(11, 4.2), gridspec_kw={"width_ratios": [1, 1.6]}, constrained_layout=True)# ------------------------------------------------------------# LEFT: Coherent state in the X-Y plane# ------------------------------------------------------------limit =3.6grid = np.linspace(-limit, limit, 600)X, Y = np.meshgrid(grid, grid)# Circular Gaussian centered on the mean quadratures.# This is a schematic Gaussian density with standard# deviations Delta X = Delta Y = 1/2.density = np.exp(-0.5* ( ((X - X0) / delta_X)**2+ ((Y - Y0) / delta_Y)**2 ))# Transparent background outside the Gaussianrgba = cmap(density)rgba[..., 3] = np.clip(density, 0, 1)ax1.imshow( rgba, extent=[-limit, limit, -limit, limit], origin="lower", interpolation="bilinear")# Dashed circular trajectory of the mean fieldangle = np.linspace(0, 2* np.pi, 500)ax1.plot( alpha_abs * np.cos(angle), alpha_abs * np.sin(angle), color=gray, ls="--", lw=1.2)# Coordinate axesax1.axhline(0, color="black", lw=0.9)ax1.axvline(0, color="black", lw=0.9)# Mean-field vectorax1.annotate("", xy=(X0, Y0), xytext=(0, 0), arrowprops=dict( arrowstyle="-|>", color=red, lw=2.2, mutation_scale=16 ))# Projections onto the coordinate axesax1.plot( [X0, X0], [0, Y0], color=gray, ls=":", lw=1.2)ax1.plot( [0, X0], [Y0, Y0], color=gray, ls=":", lw=1.2)# Phase angle, measured counterclockwise from +Xr_arc =0.42arc = np.linspace(0, theta, 100)ax1.plot( r_arc * np.cos(arc), r_arc * np.sin(arc), color=red, lw=1.3)ax1.annotate("", xy=( r_arc * np.cos(theta), r_arc * np.sin(theta) ), xytext=( r_arc * np.cos(theta -0.12), r_arc * np.sin(theta -0.12) ), arrowprops=dict( arrowstyle="-|>", color=red, lw=1.2, mutation_scale=10 ))# Phase labelax1.text(0.85* np.cos(theta /2) +0.4,0.85* np.sin(theta /2),r"$\phi-\omega t_0$", color=red, ha="center", va="center", fontsize=11)# Mean amplitude labelax1.text(0.65* X0 -0.55,0.65* Y0 +0.15,r"$|\alpha|$", color=red)ax1.set_xlim(-limit, limit)ax1.set_ylim(-limit, limit)ax1.set_aspect("equal")# Labels at positive ends of axesax1.text(0.96* limit, 0.04* limit,r"$X$", ha="center", va="bottom")ax1.text(0.04* limit, 0.96* limit,r"$Y$", ha="left", va="center")ax1.set_title("(a) Coherent state")ax1.set_xticks([])ax1.set_yticks([])for spine in ax1.spines.values(): spine.set_visible(False)# ------------------------------------------------------------# RIGHT: Mean electric field and fluctuation band# ------------------------------------------------------------# Gaussian-style gradient within +/- one rms uncertainty.# The band follows the sinusoidal mean electric field.ny =600y_min = E_mean.min() -1.5* delta_Ey_max = E_mean.max() +1.5* delta_Ey_field = np.linspace(y_min, y_max, ny)TT, EE = np.meshgrid(t / T, y_field)mean_grid = E_mean[np.newaxis, :]distance = np.abs(EE - mean_grid)inside = distance <= delta_Eintensity = np.clip(1- distance / delta_E, 0, 1)rgba = cmap(intensity)rgba[..., 3] = np.where(inside, 1.0, 0.0)ax2.imshow( rgba, extent=[0, 3, y_min, y_max], origin="lower", aspect="auto", interpolation="bilinear")# Mean electric fieldax2.plot( t / T, E_mean, color=red, lw=1.8)ax2.axhline(0, color="black", lw=0.8)# Highlight the instant t0ax2.scatter( [t0 / T], [E0_mean], color=red, s=50, zorder=5)ax2.plot( [t0 / T, t0 / T], [0, E0_mean], color=gray, ls=":", lw=1.2)ax2.annotate(r"$t_0$", xy=(t0 / T, 0), xytext=(0, 9), textcoords="offset points", ha="center", va="bottom", fontsize=11)ax2.set_xlim(0, 3)ax2.set_ylim(y_min, y_max)ax2.set_xlabel(r"Time $t/T$")ax2.set_ylabel(r"$E(t)/E_0$")ax2.set_title("(b) Electric field and fluctuations")ax2.set_xticks([0, 1, 2, 3])ax2.set_yticks([-2* alpha_abs,0,2* alpha_abs])ax2.spines["top"].set_visible(False)ax2.spines["right"].set_visible(False)plt.show()
Figure 5: Coherent state of a single electromagnetic mode. (a) The circular Gaussian distribution is displaced from the origin, indicating a nonzero mean field amplitude and a definite mean optical phase. The red vector shows the mean quadratures at time t₀; the shaded region represents quantum fluctuations. (b) The mean electric field oscillates sinusoidally, while the shaded band indicates its rms quantum uncertainty. The fluctuations have the same absolute magnitude as in the vacuum state.
where \(r\geq0\) describes the degree of squeezing.
Their product remains
\[
\Delta X\,\Delta Y=\frac14.
\]
The uncertainty principle is therefore not violated. Instead, the quantum fluctuations are redistributed between the two field components.
In the \(X\)–\(Y\) plane, the circular uncertainty region of a coherent state becomes an ellipse.
For a state with a nonzero mean field amplitude, we can distinguish two particularly important cases:
Amplitude-squeezed light.
The uncertainty is reduced along the direction of the mean field amplitude, corresponding to the radial direction in the \(X\)–\(Y\) plane.
The field amplitude becomes more precisely defined, while its phase uncertainty increases.
Phase-squeezed light.
The uncertainty is reduced perpendicular to the mean field amplitude, corresponding to the tangential direction in the \(X\)–\(Y\) plane.
The phase becomes more precisely defined, while the amplitude uncertainty increases.
These descriptions apply most naturally to states with a sufficiently large mean field amplitude, for which radial and angular fluctuations can be interpreted approximately as amplitude and phase noise.
Figure 6: Amplitude- and phase-squeezed coherent states of a single electromagnetic mode. Top row: amplitude squeezing reduces fluctuations along the mean-field vector, producing an uncertainty ellipse elongated in the tangential direction. The electric-field uncertainty is smallest near the extrema of the mean oscillation. Bottom row: phase squeezing reduces fluctuations perpendicular to the mean-field vector, producing a radially elongated ellipse. The electric-field uncertainty is smallest near the zero crossings. Both states have the same mean electric field, and neither violates the uncertainty principle.
Squeezed states illustrate an important feature of quantum light: the fluctuations of the electromagnetic field are not necessarily fixed at the vacuum level. They can be redistributed, allowing one field component to be measured with reduced quantum uncertainty.
TipPhysical interpretation
A photon is not a small classical wave packet attached to a point in space. It is a quantum excitation of an electromagnetic mode.
The mode specifies the spatial structure, frequency, and polarization of the field. The quantum state determines its photon occupation and the statistical properties of its electric field.
Fock states, coherent states, and squeezed states are different quantum states of the same electromagnetic mode.
2.7.8. Summary
The route from classical electrodynamics to the quantum description of light can now be summarized:
The Lorentz force follows from a Lagrangian containing the scalar and vector potentials.
The canonical momentum \(\vec p=m\vec v+q\vec A\) leads to the minimal-coupling Hamiltonian, which describes the interaction between charged particles and electromagnetic fields.
In Coulomb gauge, the longitudinal electric field accounts for electrostatic interactions, while the transverse field contains the independent radiation degrees of freedom.
Each transverse electromagnetic mode behaves as a harmonic oscillator. Quantizing these oscillators introduces photon creation and annihilation operators, with photons representing discrete excitations of the field modes.
Even in the vacuum state, the electromagnetic field exhibits quantum fluctuations, reflecting the uncertainty principle and the nonzero ground-state energy of each mode.
Different quantum states describe different properties of light: Fock states have a definite photon number, coherent states most closely resemble classical electromagnetic waves, and squeezed states redistribute quantum uncertainty between field quadratures.
The central result is that light is a quantum field whose excitations are photons. Classical electromagnetic waves emerge from suitable quantum states of this field, particularly coherent states with large mean photon numbers.
Further reading. C. Cohen-Tannoudji, B. Diu, and F. Laloë, Quantum Mechanics, Vol. III, Chapter XVIII, especially the discussion of transverse fields and normal variables. The present exposition uses real oscillator coordinates to identify the independent degrees of freedom before introducing traveling-wave photon modes and their quantum states.