https://peeterjoot.com/2015/10/15/expectations-for-sho-hamiltonian-and-virial-theorem/
Expectations for SHO Hamiltonian, and virial theorem.