- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper tackles the problem of computing the partition function (more generally , where admitting a convergent power series), of a quantum spin Hamiltonian on sites, a quantity that encodes a system's properties but whose exact evaluation requires memory and time, making it intractable beyond very small systems. The authors propose the Hypercube Walk Estimator (HWE), an unbiased stochastic estimator that combines graph random features with Hutchinson's trace estimator to estimate the trace using only local random walks, while never materializing the matrix. The core insight is that the off diagonal part of the Hamiltonian induces a structured hypercube, while the diagonal terms are maintained through incremental local updates and therefore reducing the per-step cost to (where is the mean degree of the spin coupling graph), independent of the Hilbert space dimension . They provide a proof that the estimator is exactly unbiased and adapt it to three Hamiltonian classes of physical interest: (1) the transverse-field Ising model, (2) the Sherrington-Kirkpatrick spin glass and (3) the XXZ model. HWE maintains a bounded memory and accuracy (n the validated that were checked) where exact matrix methods run out of memory.
Strengths and weaknesses
Strengths:
-
Reducing the memory footprint from an exponential to a bounded
-
HWE has exact unbiasedness, without introducing truncation or Trotter approximation errors
-
Dropping the per step computation cost to instead of materializing a giant matrix
Weaknesses:
-
The underlying problem is #P-hard, the number of samples required to control the estimator's noise can still scale exponentially with the system size (in the worst case scenarios)
-
In near zero temperatures, the random walks encounter rapid sign alterations causing the estimator's variance to explode
-
The accuracy was not checked past
Questions
- You describe the method as parallelizable but ran all experiments on a single CPU. Did you actually run any parallel experiments? and if so, how much faster does it get?
- You mention that you trade space complexity for sampling. What is the price of this trade off? How much sampling that trade actually costs as n grows?
- You show the method runs with low memory up to (Figure 2), but the empirical error comparisons stop at (Figures 1,3,4). How do you know the estimate is still accurate at ?
Limitations
Yes
Paper formatting concerns
No
Final justification
Parallelism and sample complexity concerns were resolved, and the novel, unbiased, memory efficient contribution outweighs remaining gaps.
We thank the reviewer for the thoughtful feedback and for recognizing that our method successfully reduces the memory footprint to O(n) while maintaining exact unbiasedness.
Calculating the partition function for these general, frustrated Hamiltonians is indeed inherently #P-hard; no algorithm can guarantee polynomial time to a fixed accuracy. Our new theorem explicitly reflects this fundamental limit, proving an exponential sample complexity scaling of exp(O(βnd)).
Let H be an n-spin Hamiltonian with maximum degree d, and let W≤nd be the maximum absolute row sum of H. To estimate Z=tr(e−βH) to within relative error ϵ with probability ≥1−δ, the number of samples M satisfies:
M≤ϵ2δp21exp(1−pCβnd),C=2(1+1−p)
Proof sketch. We split e−βH=(e−βH/2)2 and generate two independent random walks from the same starting node, each producing a one-hot random feature vector for g(H)=e−βH/2. The second moment of a single walk's importance weight is bounded by noting that the ratio ∣H(u,v)∣/t(u,v) at each step simplifies to the row sum ∑v∣H(u,v)∣≤W. Averaging over the geometric walk length yields a series that evaluates to the modified Bessel function I0(βW/1−p)∼exp(βW/1−p). The key cancellation occurs when forming the relative error bound via Chebyshev's inequality: the N2 factor from the variance of the N-scaled estimator cancels exactly with the N2 from the partition function lower bound Z≥Ne−βW (Gershgorin), eliminating the Hilbert space dimension entirely.
However, our core contribution is not breaking #P-hardness, but rather relocating the exponential bottleneck. Exact methods fail due to an insurmountable memory limit: they require O(4n) continuous memory. Our HWE method strictly bounds memory to O(n2) for dense couplings and O(nd) for sparse couplings, completely eliminating the memory wall.
Thanks for pointing this out. We have significantly expanded the experiments section to demonstrate this capability. Because each Hutchinson sample is independent, the algorithm achieves near-linear speedup (25.1× on 32 workers), demonstrating that the time bottleneck can be effectively mitigated with standard parallel compute.
Parallel Speedup (n=14, 1 to 32 workers)
We trade that space bottleneck for a time bottleneck which, crucially, is embarrassingly parallel. By eliminating the memory barrier, our method allows us to scale to system sizes completely unreachable by exact methods and leverage parallel compute to manage the variance. To demonstrate this trade-off in practice, we successfully scaled HWE to n=50 (representing a massive 250≈1015 dimensional Hilbert space).
Large-n Scaling (TFIM on 64 cores)
Thank you for suggesting we show how sign alterations affect variance. The effective sign does indeed decay severely at higher β (low temperatures), which is the standard manifestation of the sign problem. However, at moderate temperatures, the effective sign decays gracefully and does not collapse with n.
Effective Sign vs. Inverse Temperature (β) (system size n=10)
Effective Sign vs. System Size (n) (β=0.2)
To evaluate the accuracy of our model for much larger n (up to n=50, representing a 250 space), we designed the M_only experiment. This evaluates a structurally biased estimator, Z^M=tr(e−βM), which isolates the off-diagonal transverse field (M) by completely ignoring the diagonal Ising couplings (D) of the full Hamiltonian.
By removing the diagonal terms—which typically introduce sign cancellations and larger importance weights—this estimator establishes a variance lower bound, reflecting the baseline noise of the underlying random walk and Hutchinson machinery alone. We measure its relative error against the exact diagonalization of M alongside its relative variance, proving the core algorithmic machinery remains highly accurate and stable at extreme scales.
M_only — tr(e−βM), β=0.4, 64 workers
The price of trading O(N)/O(N2) memory for a walk-based Monte Carlo estimator is increased sampling variance, and hence more samples (NHutch,Nsources,Nwalks) needed to reach a fixed target accuracy. Quantitatively, required sample count scales as ∼1/⟨sign⟩2, where ⟨sign⟩ is the effective-sign metric. In the moderate-temperature regime we benchmarked (see response above), this cost grows mildly / sub-exponentially with n. At low temperature (large β), the cost grows sharply which is consistent with the standard sign problem in Monte Carlo methods generally and is not specific to the space/time savings of our walk construction; this is a fundamental limitation shared by all sign-problem-affected stochastic trace estimators, not an artifact we introduced. We view this as an honest characterization of the tradeoff's boundary rather than a limitation we can eliminate: the method is most advantageous in the regime (moderate β, larger n) where memory savings are needed most and the variance cost remains controlled.