Home / Learn / Exam prep / GATE Physics / Lesson 4.4
All lessons

Module 4: Quantum mechanics · Lesson 4.4 · about 50 min

The quantum harmonic oscillator and ladder operators

The oscillator solved the algebraic way: raising and lowering operators, the spectrum (n + ½)ħω without a differential equation, matrix elements of x and p in seconds, Hermite functions, the classical limit, coherent states, sudden changes, and oscillators in 2D, 3D and in a field.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 4 · about 50 minutes. By the end you will be able to build the whole oscillator spectrum from [a,a†]=1, evaluate any matrix element of x, p or their powers in a few lines, sketch the eigenfunctions and compare them with the classical motion, and handle coherent states, sudden changes and 2D and 3D oscillators. The levels (n+12)ℏω and the Gaussian ground state were met in IIT JAM lesson 6.3; the classical oscillator is in the SHM lesson.

Factor the oscillator Hamiltonian into two operators that lower and raise the energy by exactly one quantum ħω. The bottom of the ladder fixes the zero-point energy, and every state and matrix element follows from one commutator.

1. Ladder operators

Start from Hˆ=pˆ22m+12mω2xˆ2 and define

a=mω2ℏ(xˆ+ipˆmω),a†=mω2ℏ(xˆ−ipˆmω)

Using [xˆ,pˆ]=iℏ from lesson 4.2:

[a,a†]=1,Hˆ=ℏω(a†a+12)=ℏω(Nˆ+12)

and the inverse relations you will use constantly:

xˆ=ℏ2mω(a+a†),pˆ=imℏω2(a†−a)

Watch the spectrum fall out.

Ladder property. [Nˆ,a]=[a†,a]a=−a and [Nˆ,a†]=a†. So if Nˆ|ν⟩=ν|ν⟩, then Nˆ(a|ν⟩)=(ν−1)a|ν⟩ and Nˆ(a†|ν⟩)=(ν+1)a†|ν⟩.

No negative values. ν=⟨ν|a†a|ν⟩=‖a|ν⟩‖2≥0. Lowering again and again would eventually go negative, unless the ladder stops.

The bottom rung. It stops only if some state has a|0⟩=0. Then Nˆ|0⟩=0, so the eigenvalues are ν=n=0,1,2,… and En=(n+12)ℏω.

Normalisation. ‖a|n⟩‖2=n and ‖a†|n⟩‖2=⟨n|aa†|n⟩=n+1. Choosing real positive factors: a|n⟩=n|n−1⟩, a†|n⟩=n+1|n+1⟩.

All states from the ground state. |n⟩=(a†)nn!|0⟩. In position space a|0⟩=0 is the first-order equation (x+ℏmωddx)ψ0=0, so ψ0∝e−mωx2/2ℏ.

a, a†
remove or add one quantum ħω; neither is Hermitian, so neither is an observable
N = a†a
counts the quanta (phonons, photons) in the state
½ħω
zero-point energy: the bottom rung, forced by [x, p] = iħ
x₀ = √(ħ/mω)
the natural length; for an electron x₀ = √(0.0762/ħω) nm with ħω in eV
Physical meaning
Energy enters and leaves the oscillator only in whole quanta, which is why a vibrating molecule or a mode of light absorbs and emits ħω at a time.

2. Matrix elements in seconds

Write ℓ=ℏ/2mω. Then ⟨m|xˆ|n⟩=ℓ(nδm,n−1+n+1δm,n+1): x connects only neighbours (the dipole rule Δn=±1), and the factor is the square root of the larger label. For powers, expand and keep only terms that return to where you started:

⟨n|xˆ2|n⟩=ℓ2(2n+1),⟨n|pˆ2|n⟩=mℏω2(2n+1),ΔxΔp=(n+12)ℏ

So ⟨T⟩=⟨V⟩=12En in every stationary state (the virial theorem for n=2). For x4, the diagonal part of (a+a†)4 gives ⟨n|xˆ4|n⟩=ℓ4(6n2+6n+3).

Worked example. At t=0 the oscillator is in (|0⟩+|2⟩)/2. Find ⟨T⟩.

  1. Tˆ=pˆ22m=ℏω4(2Nˆ+1−a2−a†2).
  2. ⟨2Nˆ+1⟩=12(1+5)=3. a2|2⟩=2|0⟩, so ⟨a2⟩=⟨a†2⟩=2/2.
  3. ⟨T⟩=14(3−2)ℏω=0.396ℏω, and ⟨V⟩=1.104ℏω. They add to 1.5ℏω, the mean of 12 and 52; in this non-stationary state they slosh back and forth at 2ω.

3. The eigenfunctions

With ξ=x/x0, ψn(ξ)=(2nn!π)−1/2Hn(ξ)e−ξ2/2, where the Hermite polynomials come from applying a†∝ξ−d/dξ: H0=1, H1=2ξ, H2=4ξ2−2, H3=8ξ3−12ξ. ψn has n nodes and parity (−1)n.

The stationary states on their energy levels inside the parabola, or (third button) |ψₙ|² against the classical density of a particle with the same energy. Turning points are dashed; the readout gives the probability of being found where a classical particle never goes, 16% for n = 0 and shrinking slowly as n grows.

For large n the wiggles average to the classical density 1/(πA2−x2), largest near the turning points where the particle is slowest: the correspondence principle at work. The ground state is the opposite, largest at the centre.

A half oscillator (wall at x=0) keeps only the odd states: energies 32ℏω,72ℏω,…. An oscillator in a uniform force F is the same oscillator moved to x=F/mω2 and lowered by F2/2mω2, with unchanged spacing.

4. Coherent states

The closest quantum state to a classical swinging pendulum is the eigenstate of the lowering operator:

a|α⟩=α|α⟩,|α⟩=e−|α|2/2∑nαnn!|n⟩=eαa†−α∗a|0⟩
  • The number of quanta is Poisson: P(n)=e−|α|2|α|2n/n!, mean |α|2, spread |α|. So ⟨H⟩=(|α|2+12)ℏω.
  • It is the ground-state Gaussian displaced in phase space, with ΔxΔp=ℏ/2 at all times, and α(t)=αe−iωt: ⟨x⟩ and ⟨p⟩ follow the classical orbit.
  • Different coherent states are not orthogonal: |⟨β|α⟩|2=e−|α−β|2.

A laser mode is a coherent state of light; with |α|2=106 photons the relative spread in photon number is only 10−3.

Worked example (sudden changes). An oscillator sits in its ground state.

  1. The centre jumps by d=x0: relative to the new centre the state is coherent with |α|2=d2/2x02=12, so it stays in the ground state with probability e−1/2=0.607.
  2. Instead ω→ω′: the overlap of the two Gaussians gives P0=2ωω′/(ω+ω′); for ω′=ω/4, P0=0.80. The new first excited state is never reached (wrong parity), and the mean energy jumps because a sudden change does work.

5. More dimensions

A 3D oscillator separates into three 1D ones: E=ℏ(ωxnx+ωyny+ωznz)+12ℏ(ωx+ωy+ωz). Isotropic:

EN=(N+32)ℏω,gN=(N+1)(N+2)2(2D: EN=(N+1)ℏω, gN=N+1)

In spherical terms the level N contains l=N,N−2,…,1 or 0 (one parity only), linking to lesson 4.5: N=2 has l=2 (5 states) and l=0 (1 state), total 6. Nuclear shell-model magic numbers 2, 8, 20 come from filling exactly these levels.

“The zero-point energy is there because the particle is jiggling at the bottom.” The ground state is stationary: nothing moves. 12ℏω is the least ⟨T⟩+⟨V⟩ allowed by ΔxΔp≥ℏ/2; squeezing the Gaussian raises one term more than it lowers the other.

“First-order perturbation theory gives the shift of an oscillator in an electric field.” It gives zero, because ⟨n|x|n⟩=0. The true shift −F2/2mω2 is second order, and exact.

  • a=mω/2ℏ(x+ip/mω), [a,a†]=1, H=ℏω(N+12), En=(n+12)ℏω.
  • a|n⟩=n|n−1⟩, a†|n⟩=n+1|n+1⟩; x=ℏ/2mω(a+a†), p=imℏω/2(a†−a).
  • ⟨x2⟩n=(2n+1)ℏ/2mω, ΔxΔp=(n+12)ℏ, ⟨T⟩=⟨V⟩ in stationary states; x connects n→n±1 only.
  • ψn∝Hn(ξ)e−ξ2/2: n nodes, parity (−1)n; half oscillator keeps odd n.
  • Coherent states: a|α⟩=α|α⟩, Poisson numbers, minimum uncertainty, classical motion.
  • 3D isotropic: (N+32)ℏω, degeneracy (N+1)(N+2)/2; 2D: N+1.

Practise: GATE questions on this lesson

They start easy and climb to top-rank level. More on the harmonic oscillator practice page and the GATE Physics practice page.

Next: lesson 4.5 uses the same ladder trick for angular momentum. The 1D Schrödinger solver draws oscillator states next to any other potential. Back to the GATE Physics course.

Check yourself

1What is a†|n⟩ for the oscillator raising operator?
2In the oscillator state |3⟩, ⟨x²⟩ in units of ħ/2mω is
3A coherent state |α⟩ is an eigenstate of which operator?

Sources

  • D. J. Griffiths and D. F. Schroeter, Introduction to Quantum Mechanics, 3rd ed. (2018), section 2.3
  • R. Shankar, Principles of Quantum Mechanics, 2nd ed. (1994), chapter 7: the harmonic oscillator
  • J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed. (2021), sections 2.3 and 2.4
  • GATE Physics (PH) syllabus, quantum mechanics section, published by the organising institute each year

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with the IITs, IISc or the GATE organising institute. The general aptitude part of GATE is not covered here. Check the official GATE website for the current pattern. All questions are original.