We know that
$$
p = i\sqrt{\frac{\hbar m \omega}{2}}\left(A^\dagger - A\right) = i\ell\left(A^\dagger - A\right).
$$
Now, we want to find the matrix elements of $p$ in the energy representation. Recall that the energy eigenstates are given by $|n\rangle$, where
Show more…