Skip to content
Quantum.world

Research

Pushing beyond the memory barrier in propagation algorithms with randomization

Overview Research area: Classical simulation of quantum circuits, specifically Pauli propagation (Heisenberg-picture evolution of observables as sums of Pauli strings). The work sits at the intersecti

Pushing beyond the memory barrier in propagation algorithms with randomization
arXiv
2610.28845
Published
2026-10-20
Authors
Manuel S. Rudolph, Ricard Puig, Slimane Thabet, Zoë Holmes

AI summary

Overview

Research area: Classical simulation of quantum circuits, specifically Pauli propagation (Heisenberg-picture evolution of observables as sums of Pauli strings). The work sits at the intersection of quantum-circuit simulators, Monte Carlo sampling methods, and tensor-network/quantum-hardware benchmarking.

Technical level: Advanced. The paper assumes familiarity with Pauli strings, Trotterization, Monte Carlo estimators, variance/bias decompositions, and tensor-network benchmarks, though the core idea is explained with a clear protocol and schematic figures.

Scope: The paper introduces a randomized "Monte Carlo Pauli propagation" framework that caps the number of stored Pauli strings at an arbitrary memory budget and recovers accuracy through parallel repetition, with an emphasis on the engineering choices needed to make this outperform deterministic propagation.

What This Paper Is About

Pauli propagation simulates quantum circuits by evolving an observable gate by gate, but non-Clifford gates cause Pauli strings to branch, so the number of stored terms can grow until it exhausts a machine's RAM — a hard wall, since a calculation needing twice the available memory simply cannot run. The authors turn memory from a barrier into a tunable hyperparameter: whenever the Pauli sum would exceed a chosen cap, they resample it stochastically, and independent repetitions are averaged to recover precision. The goal is to reproduce, with a small memory budget, results that deterministic propagation could only reach with far more memory.

Key Contributions

  1. A randomized breadth-first propagation protocol. The authors identify four quadrants of propagation algorithms (deterministic/randomized × depth-first/breadth-first) and establish the previously empty "randomized breadth-first" quadrant. Protocol 1 applies each gate deterministically, merges duplicates, truncates by coefficient threshold (a controlled bias), and resamples only if the memory limit M is exceeded — resampling to the largest number of unique Pauli strings that leaves room to apply the next gate.

  2. A tuned resampling and truncation scheme, with evidence that every component matters. The protocol combines semi-deterministic comb resampling (systematic resampling) with merging and a minimum relative coefficient threshold. The authors report that dropping any one component substantially degrades performance, and give phenomenological arguments for why.

  3. An implementation in PauliPropagation.jl (version 0.9 or higher) with measured performance. The code applies a Pauli rotation and resamples 10^9 Pauli strings in approximately one second (about 1 ns per Pauli string), with roughly a 20× speedup going from 1 to 64 threads on a CPU node with two Xeon Platinum 8360Y processors. For reference, merely copying Pauli strings and coefficients between arrays takes 0.15 ns per Pauli string on the same node, a memory-bandwidth bound.

  4. A large-scale application to an 8×8 disordered Heisenberg Floquet model. Using only M = 10^7 stored Pauli strings, the method estimates marginal collision entropies on a 3×3 patch and is compared against belief-propagation PEPS, MPS, and error-mitigated quantum hardware results, providing evidence that the hardware error mitigation in the referenced experiment over-corrected.

Main Findings

  • Memory scaling beats outside averaging: In Figure 3, estimator standard deviation is plotted against memory budget M at L = 3, 5, and 7 circuit layers. At L = 3 and L = 5, comb resampling with merging shows an apparent O(M^-1) scaling, while path sampling, one-norm resampling, and comb resampling without merging stay closer to the usual O(M^-1/2). Increasing the memory of a single simulation therefore reduces error faster than averaging more repetitions.

  • The mechanism behind the O(M^-1) behavior: With one-norm sampling and no merging, m_s ~ M samples give error ~ 1/√M. If sampling continues until the memory holds m_p ~ M unique strings, then for a peaked distribution such as p_i ∝ i^-2 the typical number of samples scales as m_s ∝ M^2, yielding an apparent 1/M standard deviation. In deeper circuits the coefficient distribution flattens, duplicates become rare, and the usual 1/√M scaling returns — matching the narrowing advantage observed at L = 7.

  • Resample only as much as needed: Delaying resampling until it is required to apply the next gate delays variance accumulation and gives better error-per-time trade-offs than more aggressive resampling. Figure 2 contrasts resampling to a small target (m = 1) with a large target (m = M/2), and the authors state that resampling to large m performs best.

  • A small controlled bias is essential: Purely unbiased randomized propagation accumulates prohibitive variance. Truncating small coefficients before resampling suppresses variance from the tail while comb sampling handles the dominant peaks; the authors note this mirrors the initiator approximation in full configuration interaction quantum Monte Carlo (FCIQMC). Theoretically, for a relative truncation threshold ε_rel the mean-squared error contains a bias term scaling as O(ε_rel^2 L^2) and a variance term scaling as O(γ^(2L)/m_s) with γ ≫ 1 characterizing the growth of the untruncated one-norm; increasing ε_rel delays the transition from polynomial to exponential error growth with depth.

  • Concrete accuracy at a 10^5-string cap (Figure 1): With M = 10^5 and ε_rel = 3×10^-4, the bootstrapped absolute error converges close to the 1.8×10^-2 error of deterministic propagation whose final Pauli sum holds 42M = 4.2×10^6 strings. Lowering the threshold to ε_rel = 10^-4 brings the error below 7×10^-3, outperforming a deterministic calculation storing 96M = 9.6×10^6 strings.

  • Ergodic-regime entropy estimates: For the 8×8 disordered Heisenberg model on a 3×3 patch (requiring 511 non-identity Pauli strings, with a maximum S_A = 9), the estimates at J/π = 0.015, 0.03, 0.05, and 0.07 are 2.53 ± 0.01, 6.23 (+0.40/−0.30), 8.04 (+0.13/−0.05), and 8.89 ± 0.00. These broadly match tensor-network results in the localized regime and fall between the MPS and PEPS results in the ergodic regime, suggesting the hardware error mitigation over-corrected. The authors flag J/π = 0.03 as having the largest statistical uncertainty, where biases cannot be argued negligible.

  • Bias must be handled carefully in second-order quantities: Squaring estimated expectation values is biased by the variance, so the authors use a replica trick — two randomized propagations multiplied — to estimate the inverse participation ratio without additional bias, and they clip replica-squared values to the physical range 0 ≤ ⟨P_i⟩^2 ≤ 1 after averaging.

Methodology in Plain English

The researchers start from the standard deterministic approach: evolve the observable's Pauli sum gate by gate and merge identical strings. When the sum approaches a chosen cap of M stored strings, they apply a stochastic compression step instead of letting memory grow.

Two families of sampling are compared. Path sampling follows a single branching path through the circuit, which uses constant memory but loses the benefit of merging, so the accumulated one-norm — for a Pauli rotation, |cos θ| + |sin θ|, typically greater than 1 — multiplies up exponentially with depth. Resampling instead compresses an already-built Pauli sum. Ordinary one-norm resampling draws independent samples with replacement, which is unbiased but produces duplicates and thus fewer unique strings than requested. Comb (systematic) resampling places a regular grid of "teeth" with spacing Δ over the cumulative weight distribution with a single random offset, so the count of teeth landing in each coefficient's interval determines how many times it is drawn — producing an already-merged, unbiased estimate with smaller allocation fluctuations.

The key engineering insight is that the sampling rule, compression strength, merging, and truncation are strongly coupled, so the authors benchmark combinations on an exactly verifiable testbed: a 6×5 transverse-field Ising model (J = 1, h = 1.5, Trotter step dt = 0.1) with a single-qubit Z observable in the middle of the lattice and the all-zero state, where exact state-vector simulation supplies the ground truth. They decompose error into variance plus squared bias, define a fixed-compute standard error that scales as σ√(t_run/T), and compare estimators at fixed memory.

For the large-scale demonstration they simulate four repetitions of a Floquet layer of a disordered Heisenberg-like Hamiltonian on an 8×8 lattice from a 2D Néel state, then compute the marginal collision entropy of a 3×3 patch via its inverse participation ratio. Compute is allocated across Pauli strings proportional to 10^(−γ|P_i|) with γ = 0.3, which approximately balances the binomial weight distribution up to weight k = 5, and relative truncation thresholds are continually lowered to check convergence.

Why This Matters

Pauli propagation is one of the few classical methods that can track an observable through deep circuits with merging and truncation, but its memory footprint has been the binding constraint — particularly on GPUs, which have high throughput but substantially less memory than large CPU nodes. This work converts an out-of-memory failure into a tunable, embarrassingly parallel sampling problem, so that additional compute buys statistical precision without requiring a bigger node. It also gives GPU acceleration a legitimate purpose: more repetitions per unit time rather than merely hitting the memory wall sooner.

Real-world applications (as framed by the paper):

  • Benchmarking quantum devices and establishing when quantum hardware offers genuine advantages over classical simulation.
  • Developing and iterating quantum algorithms without spending every iteration on scarce hardware.
  • Supporting compilation pipelines for quantum circuits.
  • Supporting error-mitigation and error-correction pipelines, including cross-checking whether a mitigation protocol over- or under-corrected.

Industry relevance: The method is released in the open-source library PauliPropagation.jl (version 0.9 or higher), is designed to sit on top of existing truncation and merging schemes and to combine with Pauli or Majorana propagation packages, and it targets exactly the hardware situation industry faces — clusters where memory, not throughput, is the limiting resource.

Future Directions

  • GPU acceleration with a high bar: The authors argue the throughput of approximately 10^9 Pauli strings per second sets a non-trivially high bar for GPUs to beat, especially since memory (not runtime) is disproportionately more important; individual or distributed GPU codes performing more independent repetitions are the natural target.
  • Extension beyond Pauli propagation: The framework requires only a sparse expansion with efficiently computable branching rules, so it should carry over to Majorana propagation, has close analogues in stabilizer propagation, and should extend to future propagation algorithms in other bases.
  • Richer estimators: The appendices present a randomized toolbox including importance sampling and estimators for higher-order quantities; a second-order variant was developed with and used in another work to estimate expectation values in out-of-time-ordered correlators (OTOCs) in scrambling systems.
  • Convergence in the ergodic regime: The intermediate point at J/π = 0.03 with M = 10^7 strings shows the largest statistical uncertainty and non-negligible bias, and the authors explicitly state those results should not be seen as fully converged — an open target for larger memory or better bias control.

Target Audience

Researchers and practitioners in quantum computing who build or use classical simulators: developers of Pauli and Majorana propagation software, groups benchmarking quantum hardware and error-mitigation protocols, and methodologists interested in Monte Carlo sampling and variance reduction for tensor-network-adjacent classical algorithms. It will also interest readers familiar with FCIQMC-style initiator approximations, since the truncation strategy is deliberately analogous. A reader without background in Pauli strings and Monte Carlo error analysis will find the protocol description accessible but the benchmarking sections demanding.

Authors’ abstract

Performant classical tools for simulating quantum circuits are important for benchmarking and supporting upcoming quantum devices. Pauli propagation offers promising capabilities, but deep circuits usually cause a rapid growth in the number of Pauli strings and can quickly exhaust the available memory. In this work, we introduce a randomized protocol that combines a specialized resampling schedule, merging, and a controlled amount of bias to keep the propagating Pauli sum within any prescribed memory budget. Additional computational resources can then be spent on embarrassingly parallel repetitions that systematically improve the estimate. Building on the open-source library PauliPropagation.jl, we show that 1) increasing memory of each simulation reduces the error systematically more than outside averaging, 2) resampling just enough to apply the next gate delays variance accumulation and gives better error-per-time trade-offs than more aggressive resampling, and 3) a small, controlled bias is crucial in cutting down variance and pushing far beyond unbiased randomization. The resulting framework can reproduce deterministic calculations while requiring several orders of magnitude less memory.

Read the original paper