 For the x and y directions, the solution of the Schrödinger equation is the product of a plane wave in y-direction with some unknown function of x since the vector potential does not depend on y, i.e.formula_15.By substituting this Ansatz into the Schrödinger equation one gets the one-dimensional harmonic oscillator equation centered at formula_16.