In quantum mechanics, the Pauli equation or SchrödingerPauli equation is the formulation of the Schrödinger equation for spin½ particles, which takes into account the interaction of the particle's spin with an external electromagnetic field. It is the nonrelativistic limit of the Dirac equation and can be used where particles are moving at speeds much less than the speed of light, so that relativistic effects can be neglected. It was formulated by Wolfgang Pauli in 1927.^{[1]}
For a particle of mass m and charge q, in an electromagnetic field described by the vector potential A = (A_{x}, A_{y}, A_{z}) and scalar electric potential ?, the Pauli equation reads:
Pauli equation (general)

where ? = (?_{x}, ?_{y}, ?_{z}) are the Pauli matrices collected into a vector for convenience, p = i?? is the momentum operator wherein ? denotes the gradient operator, and
is the twocomponent spinor wavefunction, a column vector written in Dirac notation.
is a 2 × 2 matrix operator, because of the Pauli matrices. Substitution into the Schrödinger equation gives the Pauli equation. This Hamiltonian is similar to the classical Hamiltonian for a charged particle interacting with an electromagnetic field, see Lorentz force for details of this classical case. The kinetic energy term for a free particle in the absence of an electromagnetic field is just p^{2}/2m where p is the kinetic momentum, while in the presence of an EM field we have the minimal coupling p = P  qA, where P is the canonical momentum.
The Pauli matrices can be removed from the kinetic energy term, using the Pauli vector identity:
to obtain^{[2]}
Pauli equation (standard form)

where B = ? × A is the magnetic field.
The Pauli equation is nonrelativistic, but it does incorporate spin. As such, it can be thought of as occupying the middle ground between:
Note that because of the properties of the Pauli matrices, if the magnetic vector potential A is equal to zero, then the equation reduces to the familiar Schrödinger equation for a particle in a purely electric potential ?, except that it operates on a twocomponent spinor:
Therefore, we can see that the spin of the particle only affects its motion in the presence of a magnetic field.
Both spinor components satisfy the Schrödinger equation. For a particle in an externally applied B field, the Pauli equation reads:
Pauli equation (Bfield)

where
is the 2 × 2 identity matrix, which acts as an identity operator.
The SternGerlach term can obtain the spin orientation of atoms with one valence electron, e.g. silver atoms which flow through an inhomogeneous magnetic field.
Analogously, the term is responsible for the splitting of spectral lines (corresponding to energy levels) in a magnetic field as can be viewed in the anomalous Zeeman effect.