The Hamiltonian in 1d is

Introduce dimensionless lowering and raising operators

Since

the Hamiltonian becomes

Call the (Hermetian) number operator.
We now have operators but we don’t have the Hilbert space.
Start from the operator algebra and commutation relation . In terms of :

Consequently,