ParaToric 1.0-beta: Continuous-time quantum Monte Carlo for the toric code in a parallel field
Linsel, Pollet
We introduce ParaToric, a C++ package for simulating the toric code in a parallel field (i.e., $X$- and $Z$-fields) at finite temperature. We implement and extend the continuous-time quantum Monte Carlo algorithm of Wu, Deng, and Prokof'ev on the square, triangular, honeycomb, and cubic lattices with open and periodic boundaries, respectively. The package is expandable to arbitrary lattice geometries and custom observables diagonal in either the $X$- or $Z$-basis. ParaToric also supports snapshot extraction in both bases, making it ideal for generating training/benchmarking data for other methods, such as lattice gauge theories, cold atom or other quantum simulators, quantum spin liquids, artificial intelligence, and quantum error correction. The software provides bindings to C/C++ and Python, and is thus almost universally integrable into other software projects.
academic
ParaToric 1.0-beta: Continuous-time quantum Monte Carlo for the toric code in a parallel field
This paper introduces ParaToric, a C++ software package for simulating the toric code in a parallel field at finite temperature. The package implements and extends the continuous-time quantum Monte Carlo algorithm of Wu, Deng, and Prokof'ev, supporting square, triangular, honeycomb, and cubic lattices with both open and periodic boundary conditions. ParaToric is extensible to arbitrary lattice geometries and custom observables diagonal in the X or Z basis, and supports snapshot extraction in both bases, making it an ideal tool for generating training and benchmark data for other methods.
The toric code is one of the most fundamental and extensively studied models in modern condensed matter physics, originally proposed by Kitaev. It is the simplest model hosting topological phases (gapped Z₂ quantum spin liquids) and anyonic excitations, serves as a foundational model for quantum error correction, and has deep connections to Ising gauge theory.
Algorithm Limitations: The existing Wu, Deng, and Prokof'ev algorithm suffers from ergodicity issues at high temperatures and zero off-diagonal fields
Application Demands: Need for training and benchmark data for lattice gauge theories, cold atom quantum simulators, quantum spin liquids, artificial intelligence, and quantum error correction
Interoperability: Lack of a general-purpose interface easily integrated into other software projects
The original algorithm cannot guarantee ergodicity in specific parameter regions (large temperature and zero off-diagonal field), limiting its application in certain important physical regimes.
Extended Algorithm: Implements and extends the continuous-time quantum Monte Carlo algorithm with two new update mechanisms to address ergodicity issues
Multi-lattice Support: Supports square, triangular, honeycomb, and cubic lattices with both open and periodic boundary conditions
Rich Observable Set: Implements 19 different physical observables, including energy, anyon density, Fredenhagen-Marcu operators, etc.
Multi-language Interface: Provides C, C++, and Python interfaces, along with command-line tools
Data Generation Capability: Supports snapshot extraction for generating training data for other methods
Open Source Software: MIT licensed for easy integration and extension
To address ergodicity issues, two new updates are introduced:
Single-link Flip Along Entire Imaginary Time Axis: At high temperature or zero off-diagonal field, allows flipping a single link's spin along the entire imaginary time axis
Plaquette/Star Operator Flip Along Imaginary Time Axis: Flips plaquette (star) operators along the entire imaginary time axis in the σ̂ˣ (σ̂ᶻ) basis
This work fills the gap for toric code-specific QMC software; existing general-purpose QMC packages are typically not optimized specifically for the toric code.
The paper cites 37 relevant references, spanning from Kitaev's original work to the latest developments in numerical methods, reflecting the authors' deep understanding of the field and rigorous academic approach.
Overall Assessment: This is a high-quality software paper that not only achieves technical innovations but, more importantly, provides the quantum physics research community with a practical, efficient, and user-friendly research tool. The open-source nature of the software and comprehensive documentation give it significant dissemination value and long-term impact potential.