I'm asked to calculate the average Kinetic and Potential Energies for a given state of a quantum harmonic oscillator. The state is: $$ \psi(x,0) = \left(\dfrac{4m\omega}{\pi\hbar}\right)^\frac{1}{4}e^{\frac{-2m\omega}{\hbar}x^2} $$ The thing is, calculating $\langle T\rangle=\int_{-\infty}^{\infty}\psi(x)(-i\hbar)^2\frac{d^2}{dx}\psi dx=\left(\dfrac{4m\omega}{\pi\hbar}\right)^\frac{1}{2}\int_{-\infty}^{\infty}e^{\frac{-4m\omega}{h}x^2}dx-\left(\dfrac{4m\omega}{\pi\hbar}\right)^\frac{1}{2}\int_{-\infty}^{\infty}x^2e^{\frac{-4m\omega}{h}x^2}dx=\hbar\omega$
Where I used that the momentum operator is $p=-i\hbar\frac{d}{dx}$
$\langle V\rangle=\dfrac{m\omega^2}{2}\left(\dfrac{4m\omega}{\pi\hbar}\right)^\frac{1}{2}\int_{-\infty}^{\infty}x^2e^{\frac{-4m\omega}{h}x^2}dx=\dfrac{\hbar\omega}{16}$
But then the Virial Theorem is not satisfied. I've read the virial theorem holds for any bound state and all states in a Quantum Harmonic Oscillator are bound. Can someone point out where I am going wrong? Thank you