For the QHO, the average potential energy is written
It is convenient to re-write the position operator as
Now, we can write the average potential for the
state of the QHO like:
Now, the first two terms disappear, as the raising and lowering operators act on the eigenkets:
and the operator in the third term can be written like:
since
and
So, now we have that:
And, replacing
, we find that
And can check that
Which shows rather nicely that the Virial Theorem holds for the Quantum Harmonic Oscillator.
(See Liboff, Richard Introductory Quantum Mechanics, 4th Edition, Problem 7.10 for reference.)
Back to Harmonic Oscillator Spectrum and Eigenstates