# Harmonic Oscillator Wavefunctions

Harmonic Oscillator Wavefunctions

The wavefunction for the state for a harmonic oscillator is computed by applying the raising operator 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.

th

n

n