Quantum Statistics from Classical Simulations via Generative Gibbs Sampling
Weizhou Wang, Xuanxi Zhang, Jonathan Weare, Aaron R. Dinner · 2026
Read Quantum Statistics from Classical Simulations via Generative Gibbs Sampling by Weizhou Wang, Xuanxi Zhang, Jonathan Weare, Aaron R. Dinner (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-20228.txt.
Introduction
Weizhou Wang, Xuanxi Zhang, Jonathan Weare, and Aaron R. Dinner present GG-PI, a method for capturing quantum effects in molecular simulation at lower cost. Nuclear quantum effects matter for accurate molecular modeling, but the standard tool, path integral molecular dynamics, is expensive. Their framework uses a ring-polymer picture of the atoms.
GG-PI joins generative modeling of a single-bead density with Gibbs sampling. From classical simulation data, it recovers quantum statistics for the system. Cheaper quantum-accurate sampling would help chemists model reactions and materials where light atoms, such as hydrogen, make quantum behavior hard to ignore. The gain is plain: less cost, for the same trust in the end result. It is, at heart, a bid to spend less and learn as much.
Catalog record
| CREATOR | Weizhou Wang, Xuanxi Zhang, Jonathan Weare, Aaron R. Dinner |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 40 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2601-20228
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Quantum Statistics from Classical Simulations via Generative Gibbs Sampling Weizhou Wang, Xuanxi Zhang, Jonathan Weare, Aaron R. Dinner Abstract Accurate simulation of nuclear quantum effects is essential for molecular modeling but expensive using path integral molecular dynamics (PIMD). We present GG-PI, a ring-polymer-based framework that combines generative modeling of the single-bead conditional density with Gibbs sampling to recover quantum statistics from classical simulation data. GG-PI uses inexpensive standard classical simulations or existing data for training and allows transfer across temperatures without retraining. On standard test systems, GG-PI significantly reduces wall clock time compared to PIMD. Our approach extends easily to a wide range of problems with similar Markov structure. I Introduction Molecular dynamics (MD) is indispensable in physics, chemistry, and biology. However, in its standard form, its classical treatment of nuclei neglects nuclear quantum effects (NQEs) Markland and Ceriotti 2018 . By factorizing the imaginary-time propagator, path-integral molecular dynamics (PIMD) Ceperley 1995 ; Tuckerman et al. 1993 and path-integral Monte Carlo (PIMC) Metropolis et al. 1953 ; Hastings 1970 ; Herman et al. 1982 establish an isomorphism between quantum statistics and a classical ring polymer composed of a number of copies of the system (beads), providing a rigorous route to including NQEs in simulations. Despite their accuracy, the use of these approaches is limited owing to their computational cost, which scales linearly with the bead count. Many strategies have been pursued to accelerate PI simulations. These include ring-polymer contraction (RPC) Markland and Manolopoulos 2008 , modification of the free ring-polymer evolution Korol et al. 2019 ; Korol et al. 2020 , advanced integrators (e.g., PIGLET, PILE-G Ceriotti et al. 2010 ; Liu et al. 2016 ; Ceriotti and Manolopoulos 2012 ; Pollock and Ceperley 1984 ), machine learning force fields Fan et al. 2025 ; Li and Voth 2022 , and software engineering Ceriotti et al. 2014 ; Litman et al. 2024 . However, as long as the ring polymer remains, the expense exceeds that of standard MD (i.e., non-PIMD). An alternative is to embed NQEs directly into classical dynamics through colored-noise thermostats Ceriotti et al. 2009 , coarse-graining potentials Musil et al. 2022 ; Zaporozhets et al. 2024 or quantum thermal baths Dammak et al. 2009 . These methods can achieve MD-level costs but break down when systems are strongly anharmonic and/or at low temperatures. In addition, existing approaches generally require rerunning simulations when the ensemble temperature changes. This cost–accuracy tension motivates a different route: learning a data-driven map that recovers equilibrium quantum statistics at fixed imaginary-time interval \tau=\beta/P (where \beta=1/k_{B}T is the inverse temperature and P is the number of beads) from standard MD. This strategy has two advantages over those described above. First, once MD data consistent with the target \tau are available, no further force evaluations are needed during sampling. Second, a map trained at a given \tau transfers along a fixed \tau -line: changing T while adjusting P to keep \tau constant yields the corresponding finite- P path integral ensemble at temperature T , without retraining. Our approach adopts a Gibbs sampling Gelfand 2000 perspective on the ring-polymer ensemble. The core strategy relies on the single-bead conditional distribution p_{\tau}(\mathbf{x}_{i}\mid\mathbf{x}_{-i}) . Here, \mathbf{x}_{i} denotes the coordinate of the i -th bead, and \mathbf{x}_{-i} represents the configuration of all other beads. Once a high-fidelity sampler for this conditional distribution is available, repeated single-bead Gibbs updates are sufficient to sample the target ring-polymer distribution. Our key observation is that, since the single-bead conditional distribution depends only on the imaginary-time interval \tau and the midpoint of the two neighboring beads, we can train an accurate generative approximation to the conditional distribution using data from standard MD. In practice, a lightweight ( \sim 10^{5} -parameter) generative model is sufficient for high-fidelity sampling of the single-bead conditional distribution. Training data for this conditional probability distribution can be obtained in three ways: (i) a Bayesian construction together with unrestrained MD, (ii) restrained MD, and (iii) PIMD/PIMC. Options (i) and (ii) both rely only on inexpensive standard MD; option (iii) involves costly simulations, but the data can be transferred across temperatures by adjusting P to keep \tau constant. We illustrate all three of these possibilities below. In the following, we first derive the theory of our method, then validate the accuracy and efficiency of GG-PI on Zundel ion, bulk water, and para-hydrogen. While we focus on PI simulations in this paper, we point to several important applications with similar Markov structure that could also benefit from the strategy introduced here. II Methods The joint distribution of the ring polymer for distinguishable particles is: \displaystyle\pi_{\tau}(\mathbf{x}_{1},\ldots,\mathbf{x}_{P})\propto\exp\!\big[-S_{E}(\{\mathbf{x}_{k}\})\big], (1) \displaystyle S_{E}(\{\mathbf{x}_{k}\})=\sum_{k=1}^{P}\left[\frac{1}{2\hbar^{2}\tau}||\mathbf{x}_{k}-\mathbf{x}_{k-1}||^{2}_{\mathbf{M}}+\tau V(\mathbf{x}_{k})\right] where S_{E} is the Euclidean action Chandler and Wolynes 1981 ; Herman et al. 1982 , ||\mathbf{v}||_{\mathbf{M}}^{2}=\mathbf{v}^{T}\mathbf{M}\mathbf{v} is the mass-scaled norm, and \mathbf{M} is the diagonal mass matrix. The ring polymer satisfies the cyclic boundary condition \mathbf{x}_{0}\equiv\mathbf{x}_{P} . Eq. ( 1 ) defines a classical ring-polymer isomorphism of the quantum Boltzmann distribution. Importantly, the Euclidean action is local in the bead index: for a given bead \mathbf{x}_{i} , the only terms in S_{E} that depend on \mathbf{x}_{i} are the on-site \tau V(\mathbf{x}_{i}) and the two harmonic couplings to its neighbors \mathbf{x}_{i\pm 1} . Hence, conditioning on all other beads leaves \displaystyle \displaystyle p_{\tau}(\mathbf{x}_{i}\mid\mathbf{x}_{-i})\ \propto\ \exp\!\left[-\tau V(\mathbf{x}_{i})\right] (2) \displaystyle\cdot\exp\left[-\frac{1}{2\hbar^{2}\tau}\Big(\|\mathbf{x}_{i}-\mathbf{x}_{i-1}\|_{\mathbf{M}}^{2}+\|\mathbf{x}_{i+1}-\mathbf{x}_{i}\|_{\mathbf{M}}^{2}\Big)\right] which implies p_{\tau}(\mathbf{x}_{i}\mid\mathbf{x}_{-i})=p_{\tau}(\mathbf{x}_{i}\mid\mathbf{x}_{i-1},\mathbf{x}_{i+1}) . Completing the square gives \|\mathbf{x}_{i}-\mathbf{x}_{i-1}\|_{\mathbf{M}}^{2}+\|\mathbf{x}_{i+1}-\mathbf{x}_{i}\|_{\mathbf{M}}^{2}\\ =2\|\mathbf{x}_{i}-\mathbf{y}_{i}\|_{\mathbf{M}}^{2}+\text{const}, (3) where \mathbf{y}_{i}=(\mathbf{x}_{i-1}+\mathbf{x}_{i+1})/2 , and the constant is independent of \mathbf{x}_{i} . We can thus simplify the single-bead conditional density to the following form: \displaystyle p_{\tau}(\mathbf{x}_{i}\mid\mathbf{x}_{-i}) \displaystyle=p_{\tau}(\mathbf{x}_{i}\mid\mathbf{y}_{i}) (4) \displaystyle\propto\exp{(-\tau V(\mathbf{x}_{i}))}\mathcal{N}(\mathbf{y}_{i},\bm{\Sigma}_{\tau})[\mathbf{x}_{i}], (5) where \mathcal{N}(\mathbf{y}_{i},\bm{\Sigma}_{\tau}) is the probability density function of a normally distributed random variable with mean \mathbf{y}_{i} and covariance matrix \bm{\Sigma}_{\tau}=(\hbar^{2}\tau/2)\mathbf{M}^{-1} . Eq. ( 5 ) shows that the single-bead conditional distribution is a Gaussian distribution centered at \mathbf{y}_{i} and reweighted by e^{-\tau V(\mathbf{x}_{i})} . The Gaussian factor strongly localizes \mathbf{x}_{i} around \mathbf{y}_{i} , so a modest-capacity conditional flow suffices to approximate p_{\tau}(\mathbf{x}_{i}\mid\mathbf{y}_{i}) in practice. This conditional distribution also admits a denoising-posterior interpretation, where the kinetic energy acts as a universal Gaussian noise and the potential energy as the signal. This is also closely related to diffusion models; we briefly discuss this connection in the Appendix A We target the ring-polymer distribution in Eq. ( 1 ) via parallel odd–even Gibbs updates Gelfand 2000 using the single-bead conditional probability distribution in Eq. ( 5 ). Repeatedly resampling beads from their exact conditional probability distributions defines a Markov chain whose stationary distribution is \pi_{\tau}(\mathbf{x}_{1:P}) . However, direct inner Markov chain Monte Carlo per bead is slow, so we learn an E(3)-equivariant conditional flow q_{\theta}\approx p_{\tau} trained by flow matching Chen et al. 2018 ; Lipman et al. 2023 and use it to update all odd/even beads in parallel during inference. Metropolis-within-Gibbs Tierney 1994 can be used to ensure sampling converges to an exact distribution, but we omit it in our experiments due to the empirically observed similarity of the proposal and target distributions. To obtain training data without path-integral simulation, we apply Bayes’ theorem to Eq. ( 5 ): p_{\tau}(\mathbf{x}_{i}\mid\mathbf{y}_{i})=\frac{p_{\tau}(\mathbf{x}_{i})p_{\tau}(\mathbf{y}_{i}\mid\mathbf{x}_{i})}{p_{\tau}(\mathbf{y}_{i})}, (6) where we take \displaystyle p_{\tau}(\mathbf{x}_{i}) \displaystyle=\frac{1}{Z_{\tau}}e^{-\tau V(\mathbf{x}_{i})} (7) \displaystyle p_{\tau}(\mathbf{y}_{i}\mid\mathbf{x}_{i}) \displaystyle=\mathcal{N}(\mathbf{x}_{i},\bm{\Sigma}_{\tau})[\mathbf{y}_{i}]. Sampling p_{\tau}({\mathbf{x}}_{i}) is equivalent to running a classical simulation at the inverse temperature \tau or equivalently scaling the potential V\rightarrow V/P at the target temperature. Both