
(a) Show that the Hamiltonian for a one-dimensional harmonic oscillator can be written in terms of the creation and annihilation operators. The Hamiltonian for a one-dimensional harmonic oscillator is given by:
$$H = \frac{p^2}{2m} + \frac{1}{2} m \omega^2 x^2$$
Here's what I found:




