Bosonic auxiliary-field quantum Monte Carlo
English · 简体中文
Documentation · Get started · The algorithm · Reproduce results · Guide for agents
Worldline and stochastic-series-expansion methods organize sign-free sampling around local matrix-element positivity. BAFQMC establishes nonnegative bosonic weights through global symmetry after Hubbard–Stratonovich decoupling. Reflection positivity (RP) and time-reversal symmetry (TRS) open a new computable region: frustrated bosonic models protected by these symmetries.
This repository puts the construction to work: finite-temperature solvers for two-flavor bosons on a triangular lattice, with and without onsite pairing; exact diagonalization (ED); and a complete workflow to reproduce the paper's benchmarks. Run new calculations. Extend the method. Build on the code. Everything here is available under MIT.
The supplied solvers calculate finite-temperature properties of two boson flavors on a periodic triangular lattice. In the paper's notation, the main benchmark Hamiltonian is
Here
The lattice has
Nearest-neighbor bonds run along
The code also implements the two density-interaction channels used in the Supplemental Material:
The main model is
Want to study another model? The model-development guide and dedicated agent skill explain how to extend the lattice, hopping, interactions, and pairing, with matching ED and physics tests.
Clone this repository and open it in your preferred coding agent. The agent instructions and task recipes provide the implementation map, physical conventions, commands, and checks. Start with a request such as:
Read AGENTS.md, set up BAFQMC in Linux or WSL, and run the small BAFQMC + ED
installation check. Tell me where the results are.
Reproduce all paper benchmarks. Use the published parameters and seeds,
save the new results in a dedicated directory, and show me the final figures.
I want to study the triangular-lattice model at U = 1, beta = 4 and mu = -5
while varying the pairing strength. Prepare a separate campaign, check one
small case with ED, and explain the computing budget before production.
Extend the paper's main model to a nearest-neighbor kagome lattice at
t = 1, U = 1, Delta = 0, beta = 4, mu = -5. Read the new-model skill, derive
the HS symmetry, implement the geometry and matching ED and observables,
and validate a small case. Report the computing budget before production.
Add an observable for my research. Derive its estimator using the existing
Green-function convention, implement it in BAFQMC and ED, and verify it on a
small system.
Describe the physics you want to study and the computing resources you can use. Your agent can work through the details in the linked guides.
After environment setup, run:
python3 reproduce.pyThis builds the solvers, runs fresh BAFQMC and ED calculations for all 22 benchmark points, processes the measurements, and produces both figures. Allow approximately 12–24 hours, 16 GiB RAM, and 8 GiB free disk on a modern desktop CPU. The default uses one MPI rank and one numerical-library thread, with cases run sequentially. The resource guide gives measured timings and instructions for resuming a campaign.
python3 reproduce.py --plan # Show the scope and resource estimate
python3 reproduce.py --mode smoke # Small BAFQMC + ED installation checkSmall processed benchmark data, including means and standard errors, are included. Large simulation outputs are generated locally and excluded from Git.
- Get started: install, run, and find your results.
- Algorithm and conventions: models, symmetry, and observables.
- Output observables: operator definitions and file conventions.
- Extend to other models: from Hamiltonian to tested implementation.
- Research tasks for agents: new calculations and extensions.
- Benchmark details: parameters, data, and reproduction modes.
- Contributing: develop and validate changes.
arXiv: 2609.XXXXX (forthcoming).