NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Thermal-Drift Sampling: Generating Random Thermal Ensembles for Quantum Chaos Diagnostics

Jiyu Jiang, Mingrui Jing, Jizhe Lai, Xin Eric Wang, Lei ZhangarXiv 2026 · DOI

TL;DR

Researchers have developed a "quantum thermal-drift" algorithm that simultaneously generates many-body thermal states and their corresponding Hamiltonian labels with polynomial efficiency. By turning mid-circuit measurement randomness into a tool for sampling, this method provides a scalable way to create large "quantum datasets" for training machine learning models and diagnosing quantum chaos on near-term hardware.

What Problem Does This Paper Address?

Understanding many-body systems at finite temperatures is a cornerstone of modern physics, essential for studying quantum chaos, phase transitions, and black hole dynamics. However, generating "thermal states" (the quantum version of a system in equilibrium with a heat bath) is notoriously difficult.

Existing quantum algorithms are typically instance-oriented: if you want a thermal state for a specific Hamiltonian $H$, you design a complex circuit for that one case. If you need a dataset of 1,000 different thermal states for 1,000 different Hamiltonians (a requirement for "Hamiltonian learning" or training Quantum Machine Learning models), the classical overhead and circuit reconfiguration costs become astronomical. Classical simulation doesn't help much either, as it often hits the "sign problem" or struggles with the massive entanglement found in these systems.

Methods

The authors introduce a novel primitive called the quantum thermal-drift channel.

  1. The Channel ($N_\sigma$): Instead of a standard unitary gate, this is a measurement-controlled operation. It couples the system to ancilla qubits and performs a mid-circuit measurement. Depending on the outcome ($\uparrow$ or $\downarrow$), the system "drifts" slightly toward or away from the thermal equilibrium of a specific Pauli operator $\sigma$.
  2. The Algorithm: The algorithm consists of a sequence of these channels. It’s essentially a random walk in Hamiltonian space. The "randomness" isn't something to be suppressed; it's the engine of the sampler.
  3. Autonomous Labeling: Crucially, the record of all those mid-circuit measurements is the label. By the end of the circuit, you have a physical thermal state in your register and a mathematical description of the Hamiltonian that produced it in your classical computer.
  4. Efficiency: The authors prove the algorithm is efficient, scaling polynomially with system size ($n$) and quadratically with inverse temperature ($\beta$). This is the first time a polynomial resource bound has been established for generating random thermal ensembles.

Datasets

The paper focuses on generating synthetic quantum data rather than using pre-existing classical datasets. They validate their approach using:

  • 2D Heisenberg Model: Simulated on a $3 \times 3$ grid (9 qubits) to verify the theoretical scaling and the distribution of sampled coefficients.
  • 2D Transverse-Field Ising Model (TFIM): Used to study spectral correlations and chaos signatures.
  • 2-Qubit Ising Dataset: A generated collection of labeled thermal states used to train a Variational Quantum Classifier (VQC) to predict Hamiltonian properties of unseen states.

Key Insights and Ideas

  • Measurement as a Steering Wheel: In most quantum algorithms, measurement is the final step. Here, mid-circuit measurements "steer" the system toward a thermal distribution. The randomness of quantum mechanics is used to sample the "labels" (Hamiltonians) while the hardware prepares the "data" (states).
  • The Partition Function Bias: The authors discovered that the algorithm doesn't just sample Hamiltonians uniformly. The probability of sampling a specific Hamiltonian is reweighted by its partition function. This means the sampler naturally favors Hamiltonians with more "thermally accessible" states—essentially focusing on the most physically interesting parts of the model space.
  • Chaos Diagnostics: By looking at the "level-spacing statistics" (how the energy levels of the generated states are distributed), the authors showed a clear transition from Poisson statistics (orderly/integrable) to Wigner–Dyson statistics (chaotic). This proves the sampler isn't just making random noise; it's capturing the deep, chaotic correlations of real many-body physics.

Key Results

  • Polynomial Scaling: The gate complexity is $O(n^2 \lambda^2 \beta^2 \epsilon^{-2/3} \log(1/\delta))$, where $n$ is system size and $\epsilon$ is precision. This moves thermal state generation from "exponentially hard" to "practically scalable."
  • Distribution Match: Numerical simulations showed that the sampled Hamiltonian coefficients perfectly match a normal distribution reweighted by the partition function, confirming the theoretical "Label Distribution" theorem.
  • Near-Optimal Classification: A quantum classifier trained on this generated data achieved accuracy close to the Helstrom limit (the theoretical maximum for distinguishing quantum states) when tested on entirely new, unseen Hamiltonians.

Limitations and Future Work

  • Scaling Exponents: While polynomial, the $n^2$ and $\beta^2$ scaling might still be demanding for very large, very cold systems on current noisy hardware.
  • Exploiting Structure: The current algorithm treats the interaction topology generally. Future work could optimize the "drift" steps by exploiting the specific geometry (like 1D chains or 3D lattices) of the physical model being studied.
  • Quantum Advantage: While the algorithm is efficient, a formal proof of "quantum advantage" over the best possible classical Monte Carlo methods (especially those that avoid the sign problem in specific cases) remains an open challenge.

Reference: Jiang, J., Jing, M., Lai, J., Wang, X., & Zhang, L. (2026). Thermal-Drift Sampling: Generating Thermal Ensembles for Learning Many-Body Systems. arXiv:2602.05912v2 [quant-ph].

Summary updated

BibTeX
@misc{jiang2026thermal,
  author = {Jiyu Jiang and Mingrui Jing and Jizhe Lai and Xin Eric Wang and Lei Zhang},
  title = {{Thermal-Drift Sampling: Generating Random Thermal Ensembles for Quantum Chaos Diagnostics}},
  year = {2026},
  eprint = {2602.05912},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.05912},
}

Loading related content...

Figure