Hausdorff dimension for the quantum harmonic oscillator