Hamiltonian of a charged particle in an electromagnetic field
= Hamiltonian of a charged particle in an electromagnetic field
The <Legendre transform> of the <charged-particle electromagnetic Lagrangian> is
$$
H(\mathbf x,\mathbf p,t)=\frac{[\mathbf p-q\mathbf A(\mathbf x,t)]^2}{2m}+q\phi(\mathbf x,t).
$$