intermediate · Physics · The Harmonic Oscillator: Ladder Operators
Matrix Elements of x and p
The ladder operators turn the otherwise hard problem of computing integrals like
∫ψm∗(x)xψn(x)dx into simple bookkeeping. Because x^ and p^ are
linear in a and a†, every matrix element is just a pair of square roots.
Matrix elements of position
Use x^=(a+a†)/2 and act to the right with the lowering and raising rules
a∣n⟩=n∣n−1⟩, a†∣n⟩=n+1∣n+1⟩:
x^∣n⟩=21(n∣n−1⟩+n+1∣n+1⟩).
Projecting onto ⟨m∣ and using orthonormality ⟨m∣k⟩=δmk,
⟨m∣x^∣n⟩=21(nδm,n−1+n+1δm,n+1)
The element is nonzero only for m=n±1: position connects a level only to its immediate
neighbours. This is the harmonic selection rule.
Matrix elements of momentum
The same calculation for p^=i(a†−a)/2 gives
⟨m∣p^∣n⟩=2i(n+1δm,n+1−nδm,n−1).
Momentum obeys the same Δn=±1 rule, but its elements are pure imaginary and
antisymmetric in m↔n — consistent with p^ being Hermitian (its matrix is
i times a real antisymmetric matrix, hence equal to its own conjugate transpose).
Reading the tables
Restoring physical units multiplies x^ by ℏ/2mω and p^ by
mωℏ/2, but the structure is fixed by the dimensionless coefficients above. A few
specific values:
The growth of the elements like n reflects the widening of the wavefunction at higher
levels — exactly the ⟨x^2⟩=n+21 trend found earlier.
Try it
This is a numerical exercise — your code should return a number. Build the truncated matrix of
x^=(a+a†)/2 and read off the element ⟨2∣x^∣3⟩=3/2=3/2.
Run your code to see the quantum state.
Sign in on the full site to ask questions and join the discussion.