Quantum Harmonic Oscillator

         
Schrödinger equation is solved for a gaussian wavepacket in an harmonic oscillator potential.

The potential and the motion of the wavepacket are plotted at the same time.