Source code for "Hamiltonian Methods and Zero Variance Principle" chapter of "Trends in Bayesian Methodology" book