Harmonic Oscillator Wavefunctions

​
state
0
power
1
operator

x

p
ψ
0
(q)
-
2
q
2

4
π
<

x
>=0
The wavefunction for the
th
n
state for a harmonic oscillator is computed by applying the raising operator
n
times to the ground state. The expectation values of the dimensionless position and momentum operators raised to powers are also computed. The button allows you to toggle between the expectation values for the position operator and expectation values for the momentum operator.

Details

Excited states of the harmonic oscillator can be computed by applying the raising operator
a
+
=-

dq
+q
to the ground state wavefunction
ψ
0
. Applying the raising operator
n
times gives an unnormalized
ψ
n
. The wavefunction can be normalized by dividing by
n-1
∏
i=0
2(i+1)
. One can also define a lowering operator
a
-
=

dq
+q
. The position and momentum operator can be expressed in terms of
a
+
and
a_
as

x
=
a
+
+a_
2
and

p
=
a
+
-a_
2
. The variable
q
is dimensionless and is related to the physical distance by
x=q
ℏ/mω
where
m
is the mass of the oscillator and
ω
is the angular frequency.

Permanent Citation

Richard Gass
​
​"Harmonic Oscillator Wavefunctions"​
​http://demonstrations.wolfram.com/HarmonicOscillatorWavefunctions/​
​Wolfram Demonstrations Project​
​Published: September 28, 2007