intermediate · Physics · The Harmonic Oscillator: Ladder Operators
Position and Momentum in Terms of a, a†
The ladder operators were built from x^ and p^. Inverting that relationship lets us
express position and momentum back in terms of a and a† — and that is what makes the
algebra so practical, because a and a† have such simple matrix elements.
The inversion
Adding and subtracting the definitions a=(x^+ip^)/2 and
a†=(x^−ip^)/2 isolates x^ and p^:
a+a†=22x^=2x^,a−a†=22ip^=i2p^.
Solving,
x^=2a+a†,p^=i2a−a†=2i(a†−a)
(in natural units; restoring constants gives x^=ℏ/2mω(a+a†) and
p^=imωℏ/2(a†−a)). Both x^ and p^ are Hermitian, as
they must be: x^†=(a†+a)/2=x^, and similarly for p^.
Why this is so useful
The operators a and a† shift the number by exactly one rung. Therefore x^ and
p^, being their sum and difference, connect only neighbouring number states:
⟨m∣x^∣n⟩=0only whenm=n±1.
This selection rule — that x^ has matrix elements only between adjacent levels — is the
algebraic origin of the dipole selection rule Δn=±1 for harmonic transitions. We
quantify these matrix elements in the next lesson.
Mean square of position
A clean application: the spread of position in a number state. Square x^,
x^2=21(a+a†)2=21(a2+(a†)2+aa†+a†a).
Sandwiched between ⟨n∣ and ∣n⟩, the a2 and (a†)2 pieces shift the
level by ±2 and so are orthogonal to ∣n⟩; only the number-diagonal terms survive:
Since ⟨x^⟩=0 in any number state, this is also the variance:
(Δx)2=n+21. By symmetry (Δp)2=n+21 as well, so excited
states are progressively more spread out in both position and momentum.
Try it
This is a numerical exercise — your code should return a number. Build x^=(a+a†)/2
as a truncated matrix, square it, and return the first-excited-state spread
⟨1∣x^2∣1⟩=n+21=23.
Run your code to see the quantum state.
Sign in on the full site to ask questions and join the discussion.