Harmonic Oscillator with Ladder Operators
The harmonic oscillator is the exactly solvable model that reappears everywhere: molecular vibrations, electromagnetic field modes, phonons, small oscillations near stable equilibria, and coherent states. Its algebraic solution also shows why operators are more than a notation for differential equations.
Sakurai solves the oscillator with ladder operators after developing time evolution and the Heisenberg picture. Ballentine gives both algebraic and coordinate-representation treatments. The Gottfried-named notes include coherent states and uncertainty discussion. Schiff's classic treatment is the differential-equation counterpart, often emphasizing Hermite polynomials and wave functions.
Definitions
The one-dimensional oscillator Hamiltonian is
Define the ladder operators
and
They satisfy
The number operator is
Solving for and gives
and
The Hamiltonian becomes
The ground state is defined algebraically by
Key results
The energy eigenstates obey
where .
The ladder action is
The zero-point energy
is not optional. If were zero, both kinetic and potential energy expectations would vanish, forcing , which contradicts the uncertainty relation.
In the ground state,
so
Thus the ground state is a minimum-uncertainty state.
A coherent state is an eigenstate of :
It can be expanded as
Under oscillator evolution, rotates in the complex plane:
This is why coherent states are the oscillator states closest to classical sinusoidal motion.
Visual
| Quantity | Expression | Meaning |
|---|---|---|
| Energy | evenly spaced spectrum | |
| Raising | adds one quantum | |
| Lowering | removes one quantum | |
| Position scale | natural width scale | |
| Coherent probabilities | Poisson number distribution |
Worked example 1: Matrix element of position
Problem. Compute for the oscillator.
Method.
- Use the ladder form of :
- Insert between and :
- The lowering term gives
so
- The raising term gives
so
- Therefore
Checked answer. only connects neighboring oscillator levels because it is linear in and .
Worked example 2: Ground-state uncertainty product
Problem. Show that the oscillator ground state saturates the uncertainty relation.
Method.
-
In , .
-
Since
the mean position is
because .
- Compute :
- Only contributes:
Thus
- Similarly,
which gives
- Multiply:
Checked answer. The result reaches the lower bound for .
Code
import numpy as np
dim = 6
a = np.zeros((dim, dim), dtype=complex)
for n in range(1, dim):
a[n - 1, n] = np.sqrt(n)
adag = a.conj().T
n_op = adag @ a
h = n_op + 0.5 * np.eye(dim)
print("energies:", np.diag(h).real)
print("<2|a^dagger|1> =", adag[2, 1])
Common pitfalls
- Forgetting the zero-point energy. The lowest oscillator energy is not zero.
- Treating and as commuting variables. Their commutator is the whole reason the spectrum is shifted.
- Applying as if were a physical state. The ladder stops at the ground state.
- Losing square-root factors in ladder actions. These factors control transition strengths and normalization.
- Confusing coherent states with number states. Coherent states have uncertain number but classical-like phase-space motion.
- Assuming the oscillator is only a mechanics example. It is the template for quantized normal modes in many-body physics and fields.
- Mixing dimensionless and dimensional , , , and conventions.
The ladder-operator solution is a model for how algebra can replace differential equations. Once is established, the spectrum follows from positivity of , the existence of a lowest state, and repeated laddering. The Hermite-polynomial wave functions are still important, especially for coordinate-space integrals, but they are no longer the only route to the physics. This is the contrast between Sakurai's operator-first style and the older Schiff-style wave-equation path.
Selection rules are another reason the oscillator matters. Since is proportional to , a perturbation linear in connects only neighboring number states. Since contains , , and number-conserving terms, it connects states with . These rules are not memorized separately; they follow from ladder algebra. Later, angular-momentum selection rules work in a similar way, with ladder operators and tensor structure controlling which matrix elements vanish.
Coherent states should be understood as superpositions, not as slightly fuzzy number states. A coherent state has a Poisson distribution over number eigenstates and a well-defined complex amplitude that rotates in time. Its expectation values follow the classical oscillator motion, while its uncertainties remain minimal. This is why coherent states are natural for quantum optics and for connecting oscillator modes to classical waves.
When checking oscillator calculations, use dimensions. should scale like , like , and energy like . If a matrix element of is dimensionless or an energy correction has units of length, the algebra has lost a scale factor. Dimensionless oscillator variables are convenient, but they must be declared before use.
The oscillator is also the prototype for normal-mode quantization. A complicated coupled system can often be diagonalized into independent quadratic modes, and each mode behaves like its own oscillator with its own creation and annihilation operators. This is the conceptual bridge to phonons in solids, photons in cavities, and small oscillations in quantum fields. The single-particle oscillator page therefore carries more weight than its elementary appearance suggests.
For perturbation theory, oscillator matrix elements are best computed algebraically. Expand the perturbing power of in and , commute operators until they act on number states cleanly, and use orthogonality. Coordinate-space integrals with Hermite polynomials are valid, but they are often slower and more error-prone for low-order polynomial perturbations.
As a final check, remember that number states have definite energy but not definite phase, while coherent states have a classical-like phase but uncertain number. Many conceptual errors in oscillator physics come from trying to assign both at once. The algebra makes the tradeoff explicit through noncommuting quadratures and the number-phase structure.
That tradeoff is why the oscillator remains central in quantum optics.