Abstract: We show that a form of strong simulation for $n$-qubit quantum stabilizer circuits $C$ is computable in $O(s + n^\omega)$ time, where $\omega$ is the exponent of matrix multiplication. Solution counting for quadratic forms over $\mathbb{F}_2$ is also placed into $O(n^\omega)$ time. This improves previous $O(n^3)$ bounds. Our methods in fact show an $O(n^2)$-time reduction from matrix rank over $\mathbb{F}_2$ to computing $p = |\langle \; 0^n \;|\; C \;|\; 0^n \;\rangle|^2$ (hence also to solution counting) and a converse reduction that is $O(s + n^2)$ except for matrix multiplications used to decide whether $p > 0$. The current best-known worst-case time for matrix rank is $O(n^{\omega})$ over $\mathbb{F}_2$, while $\omega$ is currently upper-bounded by $2.3728\dots$ Our methods draw on properties of classical quadratic forms over $\mathbb{Z}_4$. We study possible distributions of Feynman paths in the circuits and prove that the differences in $+1$ vs. $-1$ counts and $+i$ vs. $-i$ counts are always $0$ or a power of $2$.
Introduction
In the landscape of quantum computation, stabilizer circuits (also known as Clifford circuits) represent a critical boundary between classical and quantum complexity. While the Gottesman-Knill theorem famously established that these circuits can be efficiently simulated on classical hardware, a significant gap has persisted between different types of simulation.
Weak simulation—the process of sampling outcomes from a circuit—has long been achievable in $O(n^2)$ time. However, strong simulation—the calculation of exact amplitudes and probabilities for specific outcomes—was generally thought to require $O(n^3)$ time, primarily due to the reliance on standard Gaussian elimination. This research by Chaowen Guan and Kenneth W. Regan closes that gap, demonstrating that the "quantumness" of these circuits is fundamentally tied to the classical complexity of matrix multiplication.
Bridging Quantum Amplitudes and Classical Algebra
The core of this improvement lies in translating quantum operations into the language of classical quadratic forms. While previous approaches often utilized the field $\mathbb{F}_2$ (bits), this work employs the ring $\mathbb{Z}_4$ (integers modulo 4). This choice is strategic: $\mathbb{Z}_4$ naturally captures the complex phases ($i, -1, -i$) inherent in quantum states, allowing the authors to model Hadamard, Phase, and CZ gates without the overhead of complex-number arithmetic.
The Rank-Simulation Equivalence
One of the paper's most significant contributions is establishing a formal equivalence between quantum simulation and matrix rank. The authors demonstrate a linear-time reduction from computing the rank of a dense matrix over $\mathbb{F}_2$ to finding the probability of an outcome in a stabilizer circuit.
This implies a fundamental "speed limit": the time gap between weak and strong simulation cannot be closed further unless the complexity of matrix rank itself is reduced. Currently, the best-known worst-case time for matrix rank is $O(n^\omega)$, where $\omega \approx 2.37$. By linking these problems, the authors place strong simulation firmly within the $O(n^\omega)$ complexity class.
Methodological Innovations
To achieve the $O(n^\omega)$ bound, the authors utilized several key techniques:
- Matrix Decomposition ($PLDL^T$): By applying a symmetric version of Gaussian elimination over $\mathbb{F}_2$, the authors reduce the quadratic forms to a block-diagonal matrix, which simplifies the analysis of the underlying state.
- Feynman Path Analysis: The research examines the distribution of paths through the circuit. The authors prove that the differences in counts between various phase outcomes (e.g., $+1$ vs. $-1$) are always either zero or a power of two. This structural property is what allows the final probability calculation to be performed so efficiently.
- The Block-Transpose Trick: To prove the reduction from matrix rank to simulation, the authors developed a construction that transforms any $n \times n$ matrix into a bipartite graph. This graph then defines a specific "graph state" circuit, effectively mapping a linear algebra problem onto a quantum circuit architecture.
Key Results and Implications
- Complexity Improvement: The paper establishes that strong simulation for an $n$-qubit stabilizer circuit with $s$ gates is computable in $O(s + n^\omega)$ time, a notable improvement over the previous $O(n^3)$ standard.
- Quadratic Form Counting: The methods provide a faster algorithm for counting solutions to quadratic forms over $\mathbb{F}_2$, also placing this problem into $O(n^\omega)$ time.
- Structural Insights: The identification of "net-zero" graphs—where path interference leads to a final amplitude of zero—provides new tools for graph theory and quantum circuit analysis.
Limitations and Future Directions
While this work sets a new theoretical benchmark, it also highlights the fragility of efficient simulation. The addition of even a single non-Clifford gate (such as the $T$ gate) elevates the complexity to #P-complete, making the problem exponentially harder.
Furthermore, while $O(n^\omega)$ is optimal for dense matrices, many practical quantum circuits result in sparse structures. Future research may explore whether sparse matrix techniques can further lower the practical runtime for specific circuit architectures, or how these methods might be adapted for "mostly Clifford" circuits that contain a limited number of non-stabilizer gates.
Summary updated