Hamiltonian Monte Carlo needs a proposal map that is reversible and volume-preserving
PHYSICS · Multi-part · Fermi University Physics · Computational Physics · Mechanics & Dynamical Systems · Monte Carlo and lattice simulation of physical systems
Error, Chance and the Machine, Ch Markov-chain Monte Carlo
Problem
Hamiltonian Monte Carlo needs a proposal map that is reversible and volume-preserving, and it uses the velocity Verlet (leapfrog) integrator held from the first computational-physics course for this reason, even though that integrator is not exact. For the harmonic potential U(x)=x2/2 (so the force is −x), one leapfrog step of size δt from (x0,p0) is p1/2x1p1=p0−21δtx0,=x0+δtp1/2,=p1/2−21δtx1.
((a)) Take δt=0.5 and compute (x1,p1) from (x0,p0)=(1,0).
((b)) Flip the momentum, take one more leapfrog step from (x1,−p1), and flip the momentum again. Show that you return to (1,0).
((c)) Write the leapfrog step as a 2×2 matrix acting on (x,p) for general δt, and show that its determinant is one.
((d)) Repeat parts (a) and (b) with one explicit Euler step, x′=x+δtp, p′=p−δtx, in place of the leapfrog step, and find the determinant of the Euler step at δt=0.5. Say which of the two properties the Euler map lacks.