For a particle of mass in a one-dimensional harmonic oscillator potential where is the classical frequency of oscillation, the Hamiltonian is
The energy levels are , , and, defining the length scale , the wave functions are
where the Hermite polynomials are . The Mathematica functions for obtaining them are HermiteH[n, z].
In bra-ket notation, we will represent the state with quantum umber as , with .
If we define the annihilation and creation operators
which satisfy , we have
from which it follows that
This suggests an interpretation of the states of the system in which the quanta of energy are primary, with and respectively creating and annihilating a quantum of energy. Further notes on creation and annihilation operators can be found here.
For a particle in a two-dimensional potential , we define and , and the wavefunction of the particle will be determined by two quantum numbers and
In bra-ket notation, we will represent the state with quantum numbers and as
Creation operators and can be constructed from and as above, and we can construct a second set of operators and from and (using as the scale factor) in the same way. Then and act on to increase and respectively, and and to decrease them, and both of the latter annihilate the ground state. So for instance