Suppose the state of the particle is given as follows:
$$ |\psi_{(t)}\rangle = \frac{1}{\sqrt2} \left( e^{-\frac{i\omega t}{2}} |0\rangle + e^{-\frac{3i\omega t}{2}} |1\rangle \right) $$
Where the wavefunctions are: $\phi_0 = \left( \frac{1}{a^2\pi} \right)^{\frac{1}{4}} e^{-\frac{x^2}{2a^2}} $ and $\phi_1 = \left( \frac{4}{a^6\pi} \right)^{\frac{1}{4}} x \space e^{-\frac{x^2}{2a^2}} $.
I have found the expected position and momentum with time:
$$\langle \psi_{(t)}|x|\psi_{(t)}\rangle = \frac{a}{\sqrt 2} \cos (\omega t)$$
$$\langle \psi_{(t)}|\hat p |\psi_{(t)}\rangle = \frac{i\hbar}{a \sqrt 2} \cos (\omega t) $$
Then I try to compute the rate of change of energy:
$$ \frac{d}{dt} \left[ \langle \psi_{(t)}|\hat p |\psi_{(t)}\rangle + m\omega^2 \langle \psi_{(t)}|x|\psi_{(t)}\rangle \right] = - \left( \frac{i\hbar}{a\sqrt 2} + \frac{a}{\sqrt 2} m\omega^3 \right) \sin (\omega t) $$
This means that the total energy fluctuates with time, which is strange as shouldn't the total energy be conserved?