Quantum Mechanics

Quantum Harmonic Oscillator

E_n = ℏω(n + ½) — evenly spaced energies, zero-point ½ℏω at the bottom

The quantum harmonic oscillator places a particle of mass m in a parabolic potential V(x) = ½mω²x². Solutions: E_n = ℏω(n + ½) for n = 0, 1, 2, ... — an infinite ladder with equal spacing ℏω. The ground state is not at the bottom: E₀ = ½ℏω is the zero-point energy, irreducible by uncertainty. Wave functions ψ_n are Hermite polynomials times a Gaussian. Ladder operators a† and a connect adjacent levels. Foundation of phonons, photons, and quantum field theory.

  • Energy levelsE_n = ℏω(n + ½)
  • Zero-point energyE₀ = ½ℏω
  • Level spacingΔE = ℏω (constant)
  • Length scalex₀ = √(ℏ/mω)
  • Ladder opsa†|n⟩ = √(n+1)|n+1⟩
  • Foundation ofPhonons, photons, free QFT

Interactive visualization

Press play, or step through manually. The visualization is yours to drive — try it before reading on.

Open visualization fullscreen ↗

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

Why the harmonic oscillator matters

Any smooth potential, expanded around a stable minimum, is locally parabolic: V(x) ≈ V₀ + ½mω²(x − x₀)². The harmonic oscillator is the universal model for any system near equilibrium — the leading non-trivial term in the Taylor series. Solve it once, and you have a template for chemical bonds, crystal vibrations, photon modes, fields in spacetime, and trapped atoms. No other model in physics earns its keep across so many domains.

  • Molecular vibrations. Diatomic molecules vibrate at IR frequencies. H–Cl stretches at 2990 cm⁻¹ (ℏω ≈ 371 meV); zero-point energy ≈ 186 meV. The vibrational spectrum (visible in IR spectroscopy as absorption peaks) is the QHO ladder in action.
  • Phonons in solids. Lattice vibrations are collective harmonic motions. Each normal mode of a crystal is a QHO; its quanta are phonons. Heat capacity, thermal conductivity, sound velocity, and electron-phonon coupling all flow from this picture.
  • Photons and free fields. Quantize the electromagnetic field mode-by-mode and each mode becomes a QHO. Photons are its quanta. Same for gluons, gravitons, and every free quantum field: free QFT is just an infinite collection of harmonic oscillators.
  • Trapped ions and cold atoms. Ion traps confine atoms in approximately harmonic potentials. Sideband cooling, motional coherent states, and quantum logic gates on motional qubits all rely on QHO physics.
  • Vacuum energy and Casimir effect. Each EM mode contributes ½ℏω to the vacuum. Mode-density differences between gaps and walls produce the measurable Casimir attraction. The unresolved cosmological constant problem is the same zero-point sum, taken seriously across all field modes.

The Hamiltonian and its spectrum

H = p²/(2m) + ½mω²x²

Two ways to solve: directly (substitute, get the Hermite differential equation, find polynomial solutions), or algebraically (introduce ladder operators and bypass differential equations entirely). The algebraic route, due to Dirac, is the cleanest.

Define a = (mωx + ip) / √(2mℏω) and its adjoint a†. Then H = ℏω(a†a + ½), and from [x, p] = iℏ we get [a, a†] = 1. Let |n⟩ be an eigenstate of n̂ = a†a with eigenvalue n. The commutator implies a†|n⟩ ∝ |n+1⟩ and a|n⟩ ∝ |n−1⟩. Normalization gives a†|n⟩ = √(n+1)|n+1⟩, a|n⟩ = √n|n−1⟩. The chain must terminate (energies must be bounded below), forcing a|0⟩ = 0 — the ground state — and n ∈ {0, 1, 2, ...}.

Energy spectrum:

E_n = ℏω(n + ½), n = 0, 1, 2, 3, ...

E₀ = ½ℏω    (zero-point energy)
E₁ = (3/2)ℏω
E₂ = (5/2)ℏω
...
ΔE = E_{n+1} − E_n = ℏω    (constant spacing)

Wave functions

Solve a|0⟩ = 0 in position space — it's a first-order ODE giving a Gaussian. Apply (a†)^n to climb the ladder. Result: ψ_n(x) = (mω/πℏ)^{1/4} · (1/√(2^n n!)) · H_n(ξ) · exp(−ξ²/2), where ξ = x/x₀ and x₀ = √(ℏ/mω) is the natural length scale; H_n are Hermite polynomials.

nE_nψ_n(x) (unnormalized form)Nodes
0½ℏωexp(−ξ²/2)0
1(3/2)ℏω2ξ · exp(−ξ²/2)1
2(5/2)ℏω(4ξ² − 2) · exp(−ξ²/2)2
3(7/2)ℏω(8ξ³ − 12ξ) · exp(−ξ²/2)3
n(n+½)ℏωH_n(ξ) · exp(−ξ²/2)n

Each ψ_n has exactly n nodes (zeros), and the wave function leaks into the classically forbidden region |x| > x_classical. Probability oscillates inside the well, then decays Gaussianly outside.

Zero-point energy — atom-vibration estimate

For a diatomic molecule with ℏω ≈ 200 meV (typical mid-IR vibration), the zero-point energy is E₀ = ½ × 200 = 100 meV per mode. Three vibrational modes in a non-linear triatomic give ~0.3 eV of irreducible vibrational energy at zero kelvin. Thermal energy at 300 K (kT ≈ 25 meV) is much smaller, so most molecules sit in the vibrational ground state at room temperature — but with the n=0 zero-point energy locked in, not in the classical "frozen at x=0" sense.

This is measurable. Isotope substitution (D for H) reduces ω by 1/√2 because reduced mass doubles. Zero-point energy drops by the same factor. Reaction rates, bond lengths, and equilibrium constants shift accordingly — measurable kinetic isotope effects.

Common mistakes

  • Saying the ground state has zero energy. E₀ = ½ℏω, not zero. The lowest classical energy is at x=0, p=0 — quantum mechanics forbids this exact configuration.
  • Confusing the QHO with a real spring at any amplitude. Real springs and bonds are only parabolic near equilibrium. Beyond a few x₀, anharmonicity kicks in (overtone shifts, dissociation, level crowding). QHO is the leading approximation, not the full story.
  • Forgetting that "ω" is angular frequency. The level spacing is ℏω = hν with ν = ω/(2π). Mid-IR ν ~ 3×10¹³ Hz → ω ~ 2×10¹⁴ rad/s → ℏω ~ 0.13 eV. Get the factor of 2π right.
  • Treating a and a† as Hermitian. They are not — they are conjugates of each other. Only a†a (the number operator) and a + a† ∝ x or i(a − a†) ∝ p are Hermitian.
  • Picturing only Hermite functions. Eigenstates are stationary — they don't slosh in the well. The classical-like sloshing motion comes from coherent superpositions of eigenstates (coherent states), which oscillate with the classical period 2π/ω.
  • Ignoring degeneracy in higher dimensions. A 2D isotropic QHO has E = ℏω(n_x + n_y + 1) with n_x + n_y = N defining an N+1-fold degenerate level. 3D has ½(N+1)(N+2) degeneracy. Important in shell models of nuclei and quark confinement.

Frequently asked questions

Why are the energy levels evenly spaced?

The harmonic potential V(x) = ½mω²x² is exactly quadratic — symmetric around the equilibrium point. Ladder operators a† and a, derived from the commutation [x, p] = iℏ, raise and lower energy by exactly ℏω with no n-dependence in the spacing. Geometrically: the parabolic well gets wider as you go up, so each new level adds the same chunk of phase-space area (2πℏ) and the same energy quantum ℏω. Anharmonic potentials (Morse, x⁴, Lennard-Jones) break this regularity — levels bunch up near dissociation.

What is zero-point energy and why does it exist?

The ground state has E₀ = ½ℏω — the lowest possible energy is not zero. A classical particle sits at the bottom of the well with no kinetic energy. A quantum particle cannot: the Heisenberg uncertainty Δx · Δp ≥ ℏ/2 forbids simultaneous knowledge of x = 0 and p = 0. The minimum-uncertainty state (a Gaussian) saturates this bound, giving total energy E₀ = ½ℏω = ½⟨p²⟩/m + ½mω²⟨x²⟩. Zero-point motion is real — measured directly in liquid helium (which never solidifies under its own vapor pressure), and underpins the Casimir effect.

What are ladder operators?

Define a = (mωx + ip)/√(2mℏω) and its adjoint a†. Then H = ℏω(a†a + ½). The commutator [a, a†] = 1 turns these into raising and lowering operators: a†|n⟩ = √(n+1)|n+1⟩ raises to the next level, a|n⟩ = √n|n−1⟩ lowers, and a|0⟩ = 0 — you can't go below ground state. n̂ = a†a is the number operator with eigenvalue n. The whole spectrum and all wave functions can be derived from these algebraic relations alone, without ever solving a differential equation. Same algebra underpins photons in QED, phonons in solids, and creation-annihilation in any free quantum field.

What does the QHO have to do with photons?

Decompose the electromagnetic field into Fourier modes — each mode oscillates like a harmonic oscillator with frequency ω_k. Quantize each: the n-th level of mode k has n photons of energy ℏω_k. Creation a†_k makes a photon; annihilation a_k destroys one. Zero-point energy of each mode contributes ½ℏω_k to vacuum energy (the source of Casimir forces and the unsolved cosmological constant problem). The same construction works for every free field — gluons, gravitons, lattice phonons. Free quantum field theory is just infinitely many harmonic oscillators.

Do real molecules behave like QHOs?

Approximately, near the bottom of their potential wells. Diatomic molecules vibrate at frequencies ω giving ℏω in the 50–500 meV range (mid-IR photons). H₂ has the largest ℏω ≈ 0.516 eV (4395 cm⁻¹); heavier diatomics like I₂ have ~27 meV. Zero-point vibrational energy is ~100 meV per mode and matters chemically: it shifts reaction barriers, sets isotope effects (H/D substitution lowers ℏω since ω ~ 1/√m, changing zero-point energies). Far from equilibrium, the parabolic approximation breaks: real bonds dissociate, which the QHO model can never represent.

What is a coherent state?

A coherent state |α⟩ is an eigenstate of the lowering operator: a|α⟩ = α|α⟩ with complex α. It is the quantum state that most resembles a classical oscillator — the expectation values ⟨x⟩ and ⟨p⟩ oscillate sinusoidally like a classical particle, while the position and momentum uncertainties remain at their minimum (the ground-state Gaussian, rigidly translated and boosted). Coherent states describe the output of a laser. Their photon-number distribution is Poissonian. Schrödinger introduced them in 1926 specifically to bridge quantum and classical for the harmonic oscillator.