Numerical simulation of the quantum harmonic oscillator.