arXiv:2610.02146quant-phOct 2026

Manuscript Offprint

arXiv:2610.02146

Polynomial-time additive-error estimation of output probabilities for shallow quantum circuits

Matthew Coudron, Michael J. Gullans, Jon Nelson, Joel Rajakumar, Shi Jie Samuel Tan

Abstract

We give a deterministic classical algorithm that estimates ∣⟨x∣U∣0n⟩∣2|\langle x|U|0^n\rangle|^2 to additive error ε\varepsilon in poly(n,1/ε)\text{poly}(n, 1/\varepsilon) time, where UU is a constant-depth quantum circuit comprised of gates with bounded fan-in and arbitrary connectivity, and xx is an arbitrary nn-bit output string. This improves over prior state-of-the-art algorithms that takes nO(log⁡(n))n^{O(\log(n))} time for the same task, nO(log⁡(log⁡(n)))n^{O(\log(\log(n))}) when UU is geometrically local, and nO(1)n^{O(1)} for 2D geometrically-local circuits.

1 Introduction

Constant-depth quantum circuits provide a basic setting for studying the computational tasks that quantum computers can perform using only a few layers of gates applied in parallel. Such settings are currently experimentally relevant for quantum devices limited by short coherence times, and they are theoretically significant in investigations of separations between quantum and classical computational complexity. In particular, certain families of constant-depth quantum circuits are conjectured to generate distributions that cannot be sampled efficiently by classical computers. [GWD17, BGK18, BVHS +^{+}18], and these proposals have been recently implemented on experimental quantum devices [RHF +^{+}25, BEG +^{+}24]. Even without any complexity-theoretic conjectures, they are known to unconditionally outperform classical constant-depth circuits for certain relational and sampling problems [BGK18, WKST19, GKM +^{+}25, WP26], and these advantages continue to hold up in noisy settings [BGKT20, CCRK26]. A basic question is,

What sort of computational advantages over classical computers do constant-depth quantum circuits provide?

Approaching this from the negative angle, improving the classical simulation of constant-depth quantum circuits helps delineate which computational advantages will fundamentally require high circuit depth or adaptive operations, and which can already arise from a constant number of layers followed by measurement. We consider the following computational task, which is weaker

Corresponding authors: nelson1@umd.edu, jrajakum@ucla.edu, stan97@umd.edu than sampling: given the description of an nn-qubit circuit implementing the unitary UU, a string x∈{0,1}nx \in \{0,1\}^n, and ε>0\varepsilon > 0, compute P^(x)\widehat{P}(x) with

∣P^(x)−P(x)∣≤ε,P(x)=∣⟨x∣U∣0n⟩∣2.(1)|\widehat{P}(x)-P(x)|\leq\varepsilon,\qquad P(x)=|\langle x|U|0^{n}\rangle|^{2}. \tag{1}

One can obtain the estimate of P(x)P(x) using a quantum computer by simply running the circuit repeatedly and counting the instances of x. It would be highly desirable from the perspective of quantum advantage if this task was difficult for classical computers: because it is defined as an observable estimation problem rather than a sampling problem, it more naturally lends itself to error mitigation and verification protocols [TBG17, LB17].

The problem of additive-error output probability estimation for constant-depth circuits has a rich history starting with Bravyi, Gosset, and Movassagh in 2019 [BGM21] who gave a polynomial-time classical algorithm for circuits with nearest-neighbor gates in 2-dimensions. Successive works extended the geometric setting and eventually removed the geometric restriction, at the cost of quasipolynomial time [BGM21, CC22, DTS +^{+}22, BGL24]. We obtain deterministic polynomial time for every fixed depth and gate arity, without a restriction on connectivity.

Theorem 1.1 (Main result). Given a bitstring x∈{0,1}nx \in \{0,1\}^n, an error tolerance ε\varepsilon, and the description of a constant-depth quantum circuit UU on nn qubits comprised of bounded fan-in gates with arbitrary connectivity, a deterministic classical algorithm computes an estimate of ∣⟨x∣U∣0n⟩∣2|\langle x|U|0^n\rangle|^2 to additive error ε\varepsilon in poly(n,1/ε)\text{poly}(n, 1/\varepsilon) time.

More generally, our classical algorithm can estimate probabilities for distributions over binary random variables defined on a bounded-degree strong dependency graph, given a subroutine for evaluating probabilistic outcomes on small sets S with runtime exponential in ∣S∣|S|.

At a high level, a common starting point for the latter three works that improve on the protocol by Bravyi, Gosset, and Movassagh is that estimating an ε\varepsilon-additive error output probability requires a nonzero estimate only when that probability exceeds ε\varepsilon. Therefore, in shallow quantum circuits, independence between regions of the circuit with disjoint light cones forces many regions to be strongly concentrated on the corresponding target bitstring. [CC22] and [DTS +^{+}22] exploit slices of the circuit with high probability weight to recursively decompose the circuit until they are small enough to approximate, while [BGL24] develops both a Hamming-ball approximation and a geometric dissection approach. These methods turn the combination of peakedness and restricted light-cone overlap into tractable classical approximations.

The main improvement we make has to do with how the classical algorithm deals with the small set of regions that are not peaked. At a high-level, we introduce a cluster expansion technique to handle the regions of the output distribution that are peaked [MW25, Bar26], and use an inclusion-exclusion argument to bound the approximation error that correlations with the non-peaked regions could introduce. The cluster expansion framework has recently gained tremendous interest in the setting of quantum information [HMS20, MH21, MM24, CRC +^{+}25, BLMT24, YL23, Zlo26, ZK26, MZ26, MZM +^{+}26, WA23, YSL25, YL25], as it provides a way to study systems that are perturbed from exactly solvable points [May37, KP86, NR04, FV17]. In the setting of output probability estimation for quantum circuits, cluster expansion (or similar techniques) have been applied before [BGM21, HMS20, MM24], but most prior work uses the identity or maximally mixed state as the exactly solvable point. In our work, we instead choose the peaked computational basis state as our exactly solvable point. In this formulation, we are able to directly apply a classical algorithm of [MW25] as a black box that computes sufficiently peaked marginals of the output distribution. Our main technical contribution is a reduction to this subroutine via inclusion-exclusion techniques.

The comparison in Table 1 concerns estimation of a specified output probability. [BGL24] additionally give a quasipolynomial-time approximate-sampling algorithm and, in their general

WorkConnectivityRunning time
Bravyi-Gosset-Movassagh [BGM21]Arbitrary2O~(n)2^{\widetilde{O}(\sqrt{n})}
Bravyi-Gosset-Movassagh [BGM21]Two-dimensional gridpoly⁡(n)\operatorname{poly}(n)
Coble-Coudron [CC22]Three-dimensional gridn(log⁡n)O(1)n^{(\log n)^{O(1)}}
Dontha et al. [DTS+^{+}22]Grid in fixed dimensionn(log⁡n)O(1)n^{(\log n)^{O(1)}}
Bravyi-Gosset-Liu [BGL24]ArbitrarynO(log⁡n)n^{O(\log n)}
Bravyi-Gosset-Liu [BGL24]Grid in fixed dimension D>2D>2nO(log⁡log⁡n)n^{O(\log \log n)}
This workArbitrarypoly⁡(n)\operatorname{poly}(n)

Table 1: Comparison of running times for output probability estimation for constant-depth circuits with gates of bounded fan-in up to additive error that is inverse polynomial in nn.

construction, an approximation to the output state, under the peakedness assumption max⁡xP(x)≥n−a\max_x P(x) \geq n^{-a} for a fixed constant aa. We emphasize that Theorem 1.1 gives polynomial-time probability estimation without any peakedness assumption, but does not provide polynomial-time algorithms for those stronger tasks. In particular, separate additive estimates of individual probabilities need not form a normalized distribution or guarantee bounded total variation error. Extending our work to polynomial-time sampling of arbitrary-connectivity peaked shallow circuits is a natural open question.

References (68)