Combining Harmonic Sampling with the Worm Algorithm to Improve the Efficiency of Path Integral Monte Carlo
Sourav Karmakar, Sutirtha Paul, Adrian Del Maestro, Barak Hirshberg
TL;DR
The paper tackles the low acceptance and slow sampling in Path Integral Monte Carlo (PIMC) for solids and dense systems by splitting the potential into harmonic and anharmonic parts. It introduces Harmonic PIMC (H-PIMC), which samples harmonic paths exactly and accepts based on the anharmonic residue, and its generalization Mixed PIMC (M-PIMC), which confines harmonic sampling to a local minimum vicinity and uses standard PIMC elsewhere. Benchmark results show H-PIMC dramatically improves acceptance and autocorrelation times for weakly to moderately anharmonic systems, accelerates energy convergence with fewer beads, and, for strong anharmonicity, M-PIMC optimizes autocorrelation by tuning the harmonic domain; M-PIMC-PBC extends these gains to periodic systems. The methods are further combined with the worm algorithm to achieve comparable efficiency gains for indistinguishable particles, suggesting substantial speedups for simulations of quantum solids, confined liquids, and complex periodic systems.
Abstract
We propose an improved Path Integral Monte Carlo (PIMC) algorithm called Harmonic PIMC (H-PIMC) and its generalization, Mixed PIMC (M-PIMC). PIMC is a powerful tool for studying quantum condensed phases. However, it often suffers from a low acceptance ratio for solids and dense confined liquids. We develop two sampling schemes especially suited for such problems by dividing the potential into its harmonic and anharmonic contributions. In H-PIMC, we generate the imaginary time paths for the harmonic part of the potential exactly and accept or reject it based on the anharmonic part. In M-PIMC, we restrict the harmonic sampling to the vicinity of local minimum and use standard PIMC otherwise, to optimize efficiency. We benchmark H-PIMC on systems with increasing anharmonicity, improving the acceptance ratio and lowering the auto-correlation time. For weakly to moderately anharmonic systems, at $β\hbar ω=16$, H-PIMC improves the acceptance ratio by a factor of 6-16 and reduces the autocorrelation time by a factor of 7-30. We also find that the method requires a smaller number of imaginary time slices for convergence, which leads to another two- to four-fold acceleration. For strongly anharmonic systems, M-PIMC converges with a similar number of imaginary time slices as standard PIMC, but allows the optimization of the auto-correlation time. We extend M-PIMC to periodic systems and apply it to a sinusoidal potential. Finally, we combine H- and M-PIMC with the worm algorithm, allowing us to obtain similar efficiency gains for systems of indistinguishable particles.
