Discretisation schemes, step-size stability & energy conservation
q ← q + ε·p
p ← p − ε·∇U(q)
Both updates use the old values. This breaks the symplectic structure — the numerical flow does not preserve phase-space volume. Energy drifts monotonically, making trajectories spiral outward.
p ← p − ε·∇U(q)
q ← q + ε·pnew
Momentum updated first, then position uses the new momentum. This one-sided coupling preserves the symplectic 2-form. Energy oscillates around the true value with amplitude O(ε).
p ← p − (ε/2)·∇U(q)
q ← q + ε·p
p ← p − (ε/2)·∇U(qnew)
A symmetric, time-reversible composition. 2nd order accuracy means the energy shadow Hamiltonian is O(ε²) close to the true one. This is the integrator used in HMC.