2 Dimensional quantum particle A quantum particle moves in 2 dimensions with Hamiltonian H:
$ H = \frac1{2m} ((P_1 + \frac12 eBX_2)^2 + (P_2 - \frac12 eBX_1)^2) $
For constants $e,B,m$ with $e$ and $B$ nonzero.
Show that the energy levels are of the form $ (n + \frac12)\bar h |eB|\frac{1}{m}$
The hint given is to define $\bar P$ and $\bar X$ as proportional to $P_1 + \frac12 eBX_2$ and $P_2 - \frac12 eBX_1$ and show that the original Hamiltonian has the form
$\frac1{2m} P^2 + \frac12m\omega^2X^2$ for some $\omega$, where
$P_j = -i\bar h \frac{\partial}{\partial x_j}$ and
$X_j = x_j$
We are given that this has energy levels $(n+\frac12)\bar h \omega$.

Not an answer, but some advice: you may have more luck if you help us translate the physics problem into a question about mathematics. For example, my bumbling attempt, knowing no quantum mechanics:
$H$ is an operator on complex-valued functions $\Psi$ over the real plane given by
$$H\Psi = \frac{1}{m}\left[\left(-i \hbar\frac{\partial}{\partial x} + \frac{1}{2}eBy \right)^2+\left(-i \hbar\frac{\partial }{\partial y} - \frac{1}{2}eBx \right)^2\right]\Psi$$
where $\hbar, e, B$ and $m$ are (real?) constants.
How do I show that the eigenvalues of $H$ are of the form $\left(n+\frac{1}{2}\right)\hbar |eB|\frac{1}{m}$ for $n\in\mathbb{Z}$?
