Generative Neural Samplers for the Quantum Heisenberg Chain

Johanna Vielhaben, Nils StrodthoffarXiv 2020

Abstract

Markov Chain Monte Carlo (MCMC) methods, while foundational to statistical physics, often suffer from critical slowing down and ergodicity issues. This paper presents Generative Neural Samplers (GNS) as a robust alternative for simulating quantum many-body systems. By employing a Suzuki-Trotter transformation to map the 1D quantum Heisenberg chain onto a 2D classical lattice, we utilize autoregressive PixelCNN models to sample physical configurations. We introduce Neural Importance Sampling (NIS) and hard-coded physical constraints to ensure asymptotically unbiased estimates of thermodynamic observables. Our results for the XY and XXX chains demonstrate strong quantitative agreement with analytical solutions and traditional MCMC baselines, establishing the viability of deep learning for complex quantum statistical mechanics.

Introduction

In the study of lattice field theory and statistical physics, MCMC algorithms are the standard for first-principles simulations. However, these methods are frequently hampered by long auto-correlation times near phase transitions and the tendency to become trapped in local minima. Generative Neural Samplers, such as normalizing flows and autoregressive models, offer a path forward by enabling direct sampling from learned probability distributions. While successful in classical contexts like the 2D Ising model, extending these techniques to quantum systems is challenging due to intricate constraints and continuous symmetries. This work addresses these challenges by applying autoregressive neural networks to the quantum Heisenberg chain.

Methodology

Suzuki-Trotter Mapping and Constraints

To represent the quantum system in a format suitable for classical neural networks, we utilize the Suzuki-Trotter transformation. This maps the 1D quantum Heisenberg chain into a 2D classical Ising-like model on a checkerboard lattice. The accuracy of this approximation is governed by the Trotter length ($m$).

A significant challenge in this mapping is the emergence of local constraints. The resulting 2D system involves 4-spin interactions where only eight specific "plaquette" configurations are physically permissible. Initial attempts to enforce these rules via energy penalties led to mode collapse. Consequently, we modified the PixelCNN sampling procedure to strictly generate only "legal" configurations by deterministically calculating the final spin of each plaquette based on its neighbors.

The 2D classical mapping of the quantum chain and the eight physically allowed 4-spin plaquette configurations.

Neural Importance Sampling (NIS)

Since the learned distribution ($q_\theta$) of the neural network is an approximation of the true Boltzmann distribution ($p$), direct sample averages are biased. We employ Neural Importance Sampling to reweight generated configurations, ensuring that our estimates of energy, specific heat, and susceptibility are asymptotically unbiased. This reweighting is particularly critical at high temperatures, where rare configurations significantly influence thermodynamic observables.

Curriculum Pretraining

Learning the physical distribution becomes increasingly difficult at higher temperatures due to the widening energy gap between valid configurations. To mitigate this, we implemented a curriculum pretraining strategy, where models are first trained at lower temperatures and then used as initialization for higher-temperature simulations.

Results and Discussion

The PixelCNN + NIS framework was evaluated against the anisotropic XY chain and the isotropic XXX chain. For the XY chain, results were compared to the exact analytical Katsura solution.

Internal energy ($E/NJ$) as a function of temperature ($kT/J$) for the XY chain at Trotter lengths $m=2$ and $m=4$, showing agreement between the neural sampler, MCMC, and the Katsura solution.

As shown in the figures, the neural sampler achieves high accuracy across a broad temperature range for $m=2$ and $m=4$. The model successfully captures the characteristic specific heat peak of the XY chain near $kT/J \approx 0.07$. However, we observed that increasing the Trotter length beyond $m=4$ leads to training instabilities, indicating a current scaling limit of the PixelCNN architecture in this context.

Conclusion

This study demonstrates that Generative Neural Samplers, when combined with importance sampling and hard physical constraints, provide a powerful tool for quantum many-body simulations. While the current implementation faces scaling challenges with larger Trotter lengths, the success of the PixelCNN + NIS approach is a significant step toward replacing traditional MCMC. Future research will explore Transformer-based architectures, which may better handle periodic boundary conditions and long-range correlations through self-attention mechanisms.

Summary updated

BibTeX
@misc{vielhaben2020generative,
  author = {Johanna Vielhaben and Nils Strodthoff},
  title = {{Generative Neural Samplers for the Quantum Heisenberg Chain}},
  year = {2020},
  eprint = {2012.10264},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.10264},
}
Figure