Hamiltonian Monte Carlo (HMC) is a method for sampling from probability distributions in a high-dimensional space.