An energy of a classical harmonic oscillator is given by 
E=2mv2+2kx2=2mp2+2mω2x2 
Therefore by analogy we construct a hamiltonian of a QHO by associating the corresponding operators to the physical quantities : 
H^=−2mℏ2∂x2∂2+21mω2x^2 and thus from the Schrodinger equation we get 
H^ψ=∂t∂ψ 
 −2mℏ2∂x2∂2ψ(x,t)+21mω2x^2ψ(x,t)=∂t∂ψ(x,t) which can be generalized to n-dimensions in the same way as we generalize it in the classical case.
Comments