WOLFRAM|DEMONSTRATIONS PROJECT

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.