Homework Statement
I have the state:
|\psi>=cos(\theta)|0>+sin(\theta)|1>
where \theta is an arbitrary real number and |\psi> is normalized.
And |0> and |1> refer to the ground state and first excited state of the harmonic oscillator.
Calculate the expectation value of the Hamiltonian...