|q⟩ Bad Qubits

intermediate · Physics · Time-Independent Perturbation Theory

Anharmonic Oscillator

A bent oscillator

The harmonic oscillator is exactly solvable, but no real potential is exactly parabolic. A more realistic model adds a small quartic term:

H^=p^22m+12mω2x^2H^(0)+λx^4H^.\hat{H} = \underbrace{\frac{\hat{p}^2}{2m} + \frac{1}{2}m\omega^2 \hat{x}^2}_{\hat{H}^{(0)}} + \underbrace{\lambda\, \hat{x}^4}_{\hat{H}'}.

The unperturbed levels are the familiar En(0)=ω(n+12)E_n^{(0)} = \hbar\omega(n + \tfrac12), and we compute how the quartic term shifts them. This is the canonical worked example of perturbation theory because the unperturbed states are known and the matrix elements are computed cleanly with ladder operators.

Ladder operators do the work

Write position in terms of the lowering and raising operators,

x^=2mω(a^+a^),\hat{x} = \sqrt{\frac{\hbar}{2m\omega}}\,(\hat{a} + \hat{a}^\dagger),

with a^n=nn1\hat{a}|n\rangle = \sqrt{n}\,|n-1\rangle and a^n=n+1n+1\hat{a}^\dagger|n\rangle = \sqrt{n+1}\,|n+1\rangle. The first-order shift needs the diagonal element of x^4\hat{x}^4:

En(1)=λnx^4n.E_n^{(1)} = \lambda\,\langle n|\hat{x}^4|n\rangle.

Expanding (a^+a^)4(\hat{a}+\hat{a}^\dagger)^4 gives sixteen terms; only those with equal numbers of raising and lowering operators survive the diagonal element nn\langle n|\cdots|n\rangle. Collecting them yields the standard result

nx^4n=(2mω)23(2n2+2n+1).\langle n|\hat{x}^4|n\rangle = \left(\frac{\hbar}{2m\omega}\right)^2 3\,(2n^2 + 2n + 1).

Working in units where /(2mω)=1\hbar/(2m\omega) = 1, the first-order energy shift is simply

En(1)=λ3(2n2+2n+1).E_n^{(1)} = \lambda\,\cdot 3\,(2n^2 + 2n + 1).

Reading the correction

A few observations:

Try it

For the quartic anharmonic oscillator with λ=1\lambda = 1 (and units where /(2mω)=1\hbar/(2m\omega) = 1), compute the first-order energy shift of the ground state E0(1)=λ0x^40E_0^{(1)} = \lambda\,\langle 0|\hat{x}^4|0\rangle using nx^4n=3(2n2+2n+1)\langle n|\hat{x}^4|n\rangle = 3(2n^2 + 2n + 1), and return it as a number.

Run your code to see the quantum state.

Sign in on the full site to ask questions and join the discussion.