If the vector potential is translationally invariant in the x-direction, why can I replace the px operator with its corresponding eigenvalue in the Hamiltonian?