[Paper Review] Efficient and scalable Path Integral Monte Carlo Simulations with worm-type updates for Bose-Hubbard and XXZ models
This paper presents an open-source, C++14-compliant implementation of the worm algorithm for efficient and scalable path-integral Monte Carlo simulations of Bose-Hubbard and XXZ models on arbitrary lattices. It achieves near-linear scaling with system size and inverse temperature, with autocorrelation times near one in the superfluid phase, enabling accurate simulations of critical phenomena in strongly correlated quantum systems.
We present a novel and open-source implementation of the worm algorithm, which is an algorithm to simulate Bose-Hubbard and sign-positive spin models using a path integral representation of the partition function. The code can deal with arbitrary lattice structures and assumes spin-exchange terms, or bosonic hopping amplitudes, between nearest-neighbor sites, and local or nearest-neighbor interactions of the density-density type. We explicitly demonstrate the near-linear scaling of the algorithm with respect to the system volume and the inverse temperature and analyze the autocorrelation times in the vicinity of a U(1) second order phase transition. The code is written in such a way that extensions to other lattice models as well as closely-related sign-positive models can be done straightforwardly on top of the provided framework.
Motivation & Objective
- To develop a scalable, open-source implementation of the worm algorithm for sign-positive quantum models.
- To enable simulations on arbitrary lattice structures with nearest-neighbor hopping and density-density interactions.
- To achieve near-linear scaling with system size and inverse temperature for efficient critical regime studies.
- To provide a modular, extensible framework for future extensions to other lattice models and related sign-positive systems.
Proposed method
- The algorithm uses a path-integral representation with Fock states and a strong-coupling expansion in kinetic energy.
- It employs a worm-type update scheme including INSERTWORM-GLUEWORM and MOVEWORM updates to sample the single-particle Green’s function.
- The data structure uses a C++ vector of lists to store hopping events in chronological order, preserving time-ordering from many-body field theory.
- The implementation relies on ALPSCore libraries and supports both static lattice definitions and XML-based lattice input for flexibility.
- Key observables such as particle number, energy, density-density correlation, winding numbers, and imaginary-time Green’s functions are computed via dedicated estimators.
- The code is designed for high performance, with memory usage proportional to the number of hopping events, and scales efficiently on single nodes and supercomputers.
Experimental results
Research questions
- RQ1How can the worm algorithm be implemented in a way that ensures near-linear scaling with system size and inverse temperature for Bose-Hubbard and XXZ models?
- RQ2What is the behavior of autocorrelation times in the vicinity of a U(1) second-order phase transition, and how does it scale with system size and inverse temperature?
- RQ3Can the algorithm maintain performance and memory efficiency when scaling from small to large systems, particularly in critical regimes?
- RQ4How does the implementation compare to previous worm algorithm codes in terms of maintainability, extensibility, and performance?
Key findings
- The algorithm exhibits near-linear scaling with system volume and inverse temperature, enabling large-scale simulations.
- Autocorrelation times remain close to one in the superfluid phase, indicating efficient sampling due to the worm’s ability to explore long-range correlations.
- Memory usage scales proportionally to the number of hopping events, with an estimated 70 MB for a 96×96 system at moderate β, and doubling for fluctuations.
- The code maintains high performance, achieving over 2×10^7 updates per second on a single iMac node with a 3.1 GHz i5 processor.
- The implementation is highly extensible, supporting arbitrary lattices via static or XML-based definitions, and can be easily adapted to new models.
- Automated tests for the Bose-Hubbard and XXZ models confirm correctness by comparison with exact diagonalization results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.