---
title: "Trading Classical and Quantum Computational Resources (2016)"
description: "How smaller quantum processors can simulate larger computations, and how stabilizer rank reduces the classical cost of quantum simulation."
canonical: "https://research.elamur.ai/free/en/papers/bravyi-2016-trading-classical-quantum-computational-resources/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bravyi-2016-trading-classical-quantum-computational-resources/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / Trading Classical and Quantum Computational Resources

# Trading Classical and Quantum Computational Resources

Paper · 2016 · Sergey Bravyi, Graeme Smith and John A. Smolin

**Authors:** Sergey Bravyi, Graeme Smith and John A. Smolin · **Year:** 2016 · **Venue:** Physical Review X · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**299** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W1789015869) · Physical Review X · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [DOI 10.1103/physrevx.6.021043](https://doi.org/10.1103/physrevx.6.021043)
- [arXiv 1506.01396](https://arxiv.org/abs/1506.01396)
- [OpenAlex](https://openalex.org/W1789015869)

## Deep dive: Trading Classical and Quantum Computational Resources

How smaller quantum processors can simulate larger computations, and how stabilizer rank reduces the classical cost of quantum simulation. · about 33 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

A quantum computation may need more qubits than the available processor contains. Adding hardware is one response, but this paper asks whether classical computation can make up the shortfall. Its motivating example is a client with access to a quantum computer containing 100 qubits who wants to run an algorithm requiring 101 qubits. The question is whether the smaller device still helps: can the computation be reorganized into smaller quantum tasks whose results a classical computer combines? The authors establish such tradeoffs for sparse quantum circuits and for a scheme called Pauli-based computation. They also develop a classical simulation algorithm whose cost depends on a new measure, stabilizer rank.

For sparse circuits, the relevant restriction concerns interactions. A circuit is called d-sparse when no qubit takes part in more than d gates involving another qubit. Under the condition n ≥ kd+1, the authors show how to replace a computation using n+k qubits with repeated computations using n qubits. The smaller circuits have sparsity d+3, while the repetition count and classical work grow exponentially with kd. This can be useful when the missing register is small and each qubit has relatively few interactions. The result concerns estimating the probability of a final output bit, within a small additive error; it does not reproduce the larger quantum state inside the smaller processor.

Pauli-based computation takes a different route. It begins with qubits prepared in a particular non-stabilizer state, called a magic state, and proceeds through measurements of Pauli operators. Later measurement choices may depend on earlier outcomes. The authors prove that this scheme can express general quantum computations: a circuit containing m T gates can be represented using m magic-state qubits, with polynomial classical processing. They then show that a Pauli-based computation requiring n+k qubits can be simulated using n qubits, with quantum repetitions and classical work scaling as 2^{O(k)}. Here, the extra cost depends on the missing magic-state resource rather than on a sparsity condition.

The paper’s classical simulation result follows from representing a difficult quantum state as a sum of states that admit efficient classical calculations. Stabilizer rank is the smallest number of stabilizer states needed in such a representation. An explicit decomposition expresses six copies of the chosen magic state using seven stabilizer states. Reusing that decomposition in larger registers produces a classical simulation time of 2^{αn} poly(n), with α ≈ 0.94, improving the exponential scaling over direct state-vector simulation. Numerical searches supplied the small decompositions behind this construction, but their optimality remains conjectural. The paper proves a much weaker lower bound and leaves the long-run growth of stabilizer rank unresolved.

### Ideas worth borrowing

Decompose the expensive boundary. In the sparse-circuit construction, the authors do not expand the whole computation indiscriminately. They isolate the interactions connecting the qubits that must be removed to the qubits that remain. Those interactions determine the decomposition cost. The reusable principle is to identify the interface that prevents a problem from fitting the available hardware, then expand that interface while preserving larger subproblems intact. This applies whenever a calculation has a small connecting boundary but substantial internal structure on either side.

Count the resource that causes difficulty. A circuit’s total qubit count does not fully describe its simulation cost. After conversion to Pauli-based computation, the number of T gates becomes the number of magic-state qubits that matter. Clifford operations and stabilizer ancillas can be absorbed into efficient processing. For other systems, the corresponding lesson is to separate operations that preserve an easy representation from operations that escape it. A useful cost measure should track the latter rather than treating every operation or stored object as equally expensive.

Search for small identities, then compose them. The classical speedup rests on a fixed, small decomposition that can be reused across a larger input. The numerical search is therefore an offline discovery procedure, while tensor products turn its output into a general algorithm. This pattern is valuable when finding a compact representation is difficult but checking it is manageable. A successful small construction can become a reusable computational building block, provided the composition rule and its cost are proved.

Preserve the cross terms. A linear combination of quantum states is not a probability mixture. The authors explicitly retain interactions between different terms of a decomposition when calculating probabilities. Ignoring those terms would discard interference and change the answer. More broadly, when a compressed representation combines overlapping components, reconstruction may depend on relationships between components as much as on the components themselves. A decomposition only becomes an algorithm once those relationships can be evaluated.

Use symmetry without making it a prison. The target magic-state product is invariant under permutations of its qubits, but the useful decomposition for six qubits requires stabilizer states that lack that symmetry. Restricting every candidate component to share the target’s symmetry would therefore exclude all exact solutions in that setting. Search procedures can profit from symmetry, yet they should distinguish symmetry of the desired result from symmetry of each ingredient. Asymmetric pieces may combine into a symmetric whole.

Match the objective to the eventual computation. A short state decomposition helps the purely classical simulator, whereas a density-operator decomposition supports the hybrid simulation through real weighted output probabilities. These are related representations with different operational costs. The hybrid construction must consider both the number of terms and the estimator’s variance. The broader lesson is to optimize the representation for the operation it enables: storage size, evaluation cost, coefficient growth, and sampling cost need not improve together.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, the connection is a possible engineering analogy. There is no established Mova implementation of the paper’s quantum simulation methods to describe. The paper concerns quantum states, Pauli measurements, and stabilizer calculations; it does not supply a language-processing algorithm or evidence of a direct improvement to Mova.

A concrete idea Mova could borrow is the separation between an inexpensive computational core and explicitly identified exceptions. In the paper, stabilizer states and Clifford operations form a tractable core, while magic states carry the resource that makes the general computation difficult. A transparent language system could similarly expose which operations remain within a compact, inspectable representation and which require additional search or a larger representation. That would be an architectural choice for Mova, requiring its own definition and evaluation. The quantum results do not establish that such a separation already exists for language processing.

The sparse-circuit argument suggests another possible design question: how much work crosses a subsystem boundary? For a language system, a boundary might separate independently processed structures from operations that combine them. The useful borrowing would be an explicit account of those dependencies and their cost. It would not be appropriate to transfer the paper’s exponential bounds to Mova, because those bounds follow from Pauli expansions of quantum gates and particular quantum measurement procedures.

The small-decomposition search also offers a plausible development pattern. Mova could use an exploratory search to discover compact representations of small cases, then admit only representations that a separate checker validates. The paper illustrates why this distinction matters: a heuristic finds candidates, but an exact identity carries the mathematical result. In a transparent implementation, the search procedure and the accepted construction could be kept conceptually distinct, with the latter available for inspection.

Finally, the paper encourages restraint in choosing a headline efficiency measure. Its hybrid simulator depends on sampling cost as well as decomposition length, and its classical simulator must evaluate pairs of components. A proposed Mova compression should likewise be judged by the operations needed to use it, rather than by compactness alone. These are prospective lessons about representation, verification, and resource accounting. They are not claims that Mova uses quantum hardware or inherits the paper’s simulation speedup.

### The problem and its context

The paper studies a mismatch between the size of a desired computation and the size of the available quantum device. Classical computers are presented as a mature resource, while quantum hardware is described as being limited to early demonstrations. The authors therefore ask how a small quantum processor and a substantial classical computer might work together.

Their motivating scenario makes the issue concrete. A processor with 100 qubits may be valuable even when the desired computation needs 101 qubits, but that value is not automatic. A general quantum state cannot simply be split into independently computed pieces and reassembled from ordinary measurement outcomes. The paper looks for structured settings in which smaller quantum tasks retain enough information for classical reconstruction of a specified answer.

The specified answer matters. In both principal settings, the computation ultimately returns a classical bit. Simulation means calculating the probability that this bit equals 1, to within a small additive error. This is a narrower objective than recreating the final quantum state. It gives the authors room to trade physical qubits for repeated executions and classical arithmetic.

#### Why sparse circuits are a useful starting point

A sparse circuit limits how frequently an individual qubit interacts with another qubit. Single-qubit gates do not count toward this restriction. The authors focus on constant sparsity or sparsity that grows slowly with the register size.

Low-depth circuits motivate this choice. If a circuit has depth d, each qubit can participate in no more than d two-qubit gates. The reverse implication does not generally hold: a bound on each qubit’s interactions need not provide the same bound on the circuit’s overall depth. Sparsity therefore captures a useful structural restriction without simply renaming circuit depth.

The paper gives both computational and physical reasons to care about this regime. It cites earlier arguments suggesting that even constant-depth quantum computation may resist efficient classical simulation. It also notes that relatively shallow computations impose less demanding coherence requirements, making them plausible candidates for early applications.

The proposed tradeoff exploits a specific consequence of sparsity. If k qubits are set aside, at most kd two-qubit gates connect them to the remainder. The cost of eliminating those qubits can therefore be related to a bounded collection of connecting gates. Without a restriction on this interface, the same proof would not yield the stated dependence on kd.

#### Why Pauli measurements offer another route

Pauli-based computation is built from measurements rather than from an arbitrary sequence of unitary gates. The allowed observables are tensor products of the single-qubit operators I, X, Y, and Z, with an overall sign. Their measured eigenvalues are +1 or −1.

The initial state supplies the non-stabilizer resource. Every qubit starts in the same magic state, and the computation proceeds through non-destructive measurements. Non-destructive means that the measured system remains available for later operations. The final quantum state is discarded; the output is obtained by classically processing the recorded measurement outcomes.

This formulation has a connection to quantum error correction as described in the paper. Stabilizer codes support fault-tolerant procedures for Pauli measurements, and the authors discuss both the Steane method and logical measurements associated with surface codes. They also cite protocols for preparing encoded magic states. Pauli-based computation is therefore motivated by operations that arise in fault-tolerant settings.

The authors relate their treatment particularly closely to Campbell and Browne’s analysis of magic-state distillation protocols. Their contribution is to establish a general computational formulation, show its equivalence to the circuit setting, and use that formulation to trade magic-state qubits for classical work.

#### What earlier simulation methods supplied

The paper builds on the efficient classical treatment of stabilizer computations. A stabilizer state can be prepared from an all-zero register using Clifford operations. Clifford operations include the Hadamard gate, the phase gate S, and CNOT. These operations preserve the stabilizer structure that makes efficient calculation possible.

Aaronson and Gottesman had examined circuits with a limited number of non-Clifford gates. The paper reports their simulation cost as 2^{4m} poly(n) when m counts those gates and the initial register is a stabilizer state. For the comparison made here, the authors restrict attention to the Clifford+T gate set, so m becomes the T-gate count.

Garcia, Markov, and Cross had also developed decompositions into stabilizer states. Their stabilizer-frame constructions use mutually orthogonal components. The present paper allows nonorthogonal components and concentrates on decompositions of magic-state products. That additional freedom is central: requiring orthogonality changes the representation problem.

A separate line of work used discrete Wigner representations. The paper describes efficient simulation when the relevant representation is non-negative, followed by methods that use Monte Carlo sampling when negativity appears. These approaches provide an alternative way to quantify the resource associated with difficult quantum behavior.

The sparse-circuit proof also connects to Markov and Shi’s tensor-network perspective. Its acceptance probability can be viewed as a tensor contraction. The distinctive hybrid step is to estimate certain tensor entries using a smaller quantum processor, then combine those estimates classically.

### The method, step by step

The paper develops two hybrid constructions and a purely classical simulator. They share a strategy: express a calculation in terms of components that remain manageable, then account for the cost of combining those components. The manageable components differ. Sparse circuits are split across a qubit partition; Pauli-based computations are simplified using stabilizer structure.

From limited quantum hardware to reconstructed probabilities The steps in order.

#### Specify the output before changing the computation

For the sparse-circuit setting, all qubits begin in the zero state. A circuit U acts on the register, every qubit is measured in the computational basis, and a polynomial-time classical function f converts the resulting bit string into the output bit.

The acceptance probability is written as:

```
π(U) = ⟨0^{n+k}|U†ΠU|0^{n+k}⟩
```

Here π(U) is the probability of output 1, U is the original circuit on n+k qubits, and U† is its conjugate transpose. The ket |0^{n+k}⟩ denotes the all-zero input. The operator Π selects measurement strings that the classical function accepts.

That selection operator is:

```
Π = ∑_{x : f(x)=1} |x⟩⟨x|
```

The variable x ranges over measurement strings, f is the original classical post-processing rule, and |x⟩⟨x| projects onto the basis state associated with x. The sum includes precisely the strings for which the output is 1.

This formulation keeps the classical output rule inside the simulation problem. The authors do not assume that acceptance is determined by a single designated qubit. Their construction supports a polynomial-time function of the full measured string.

#### Split a sparse circuit at a small register

Partition the qubits into A and B, containing k and n qubits respectively. Only gates crossing from A to B prevent the circuit from being a simple product of separate computations.

Any two-qubit gate can be expanded in the Pauli basis. Replacing each crossing gate by its expansion turns the full circuit into a sum of product circuits:

```
U = ∑_{α=1}^{χ} c_α V_α ⊗ W_α
```

The index α labels a term in the expansion. The coefficient c_α is complex. V_α acts on A, W_α acts on B, and ⊗ denotes the tensor product. The circuits V_α and W_α remain d-sparse because replacing a crossing two-qubit gate by single-qubit Pauli operators does not introduce additional two-qubit interactions.

The paper uses the following bound on the expansion size:

```
χ = 2^{4kd}
```

Here χ is the number of product terms after padding the construction if necessary, k is the size of A, and d is the original sparsity bound. The dependence arises because there are at most kd crossing gates, each with a Pauli expansion containing 16 terms.

The coefficients satisfy a useful normalization:

```
∑_{α=1}^{χ} |c_α|² = 1
```

The modulus |c_α| measures the size of coefficient c_α. This identity later controls the magnitude of the estimator used to reconstruct the acceptance probability. Counting terms alone would not provide that control.

The smaller A-side circuits can be handled classically. The authors compute their amplitudes by ordinary state-vector updates on k qubits. The B-side circuits remain quantum subroutines. The construction is useful because the difficult quantum work is retained in a register that fits the smaller device.

#### Retain interference between product terms

Substituting the circuit expansion into the acceptance probability produces pairs of terms:

```
π(U) = ∑_{y∈{0,1}^k} ∑_{α,β=1}^{χ} c_α(y)c̄_β(y)⟨φ_α|Π(y)|φ_β⟩
```

The string y is a possible computational-basis outcome on A. The indices α and β select two product-circuit terms. A bar denotes complex conjugation. The state |φ_α⟩ is the result of applying W_α to the all-zero B register. The operator Π(y) accepts those B-side outcomes that, together with y, satisfy the original function f.

The modified coefficient is:

```
c_α(y) = c_α⟨y|V_α|0^k⟩
```

Here c_α is the coefficient from the circuit expansion, and the amplitude ⟨y|V_α|0^k⟩ describes the A-side circuit. The paper gives O(kd·2^k) as the time needed to compute each such coefficient.

The important feature is the presence of α and β together. Terms with different indices describe interference between different circuit components. Running each W_α and retaining only its own output distribution would lose this information.

To estimate these terms, the authors introduce a control qubit that selects between W_α and W_β. Hadamard gates and a final measurement expose the relevant interference. A phase adjustment gives access to the imaginary part as well as the real part. The resulting circuit resembles a SWAP-test construction, but its final measurement also feeds the original acceptance rule.

Only locations where the two circuits differ require controlled operations. Those differences originate in the crossing gates that were expanded. This observation prevents the control construction from becoming an arbitrary controlled version of the whole B-side circuit.

The proof then bounds the reconstructed estimator and applies Hoeffding’s inequality. For an intermediate construction, the repetition count is expressed as:

```
c2^{16kd+3k} = 2^{O(kd)}
```

The symbol c is a constant associated with the desired fixed accuracy, k is the removed-register size, and d is sparsity. The O notation suppresses constant factors in the exponent. This is a scaling guarantee, rather than evidence that the resulting repetition count is small in practice.

#### Fit the control mechanism into the qubit budget

The interference circuit initially appears to require an extra control qubit beyond the retained register. It also gives that control qubit more interactions than the others.

The authors address the interaction count by moving the control role between physical qubits using swaps. Instead of repeatedly coupling the same qubit, the construction distributes the control operations. Under the theorem’s size condition, the resulting computation has sparsity d+3.

They address the register size by removing an additional qubit from the original computation. In the proof’s final arrangement, A contains k+1 qubits and B contains n−1 qubits. The control qubit then fits alongside B within the n-qubit hardware budget.

This is why the theorem includes both a sparsity increase and the condition n ≥ kd+1. The smaller device performs a changed family of circuits, with enough room and interaction capacity for the estimator. It does not execute a literal truncation of the original circuit.

#### Define the magic-state computation

The Pauli-based construction starts each qubit in:

```
|H⟩ = cos(π/8)|0⟩ + sin(π/8)|1⟩
```

The ket |H⟩ names the magic state, and |0⟩ and |1⟩ are computational-basis states. The trigonometric coefficients give its amplitudes. This state should be distinguished from the Hadamard gate, which the paper also denotes by H.

A computation measures Pauli operators sequentially. Each measured operator is a signed tensor product of I, X, Y, and Z. Its outcome σ_t is an eigenvalue in {+1,−1}. The choice of operator at step t can depend on all outcomes already recorded.

After the measurements, a polynomial-time classical calculation produces the output bit. There is no training set or learned parameter procedure. The inputs to the simulation are the computation’s measurement rules, its classical output rule, and the relevant state representation.

An important simplification is that the computation may be arranged so the measured Pauli operators commute along each realized measurement history. Adaptivity is still allowed. Commutation does not mean that the entire measurement schedule must be fixed in advance.

#### Convert Clifford+T circuits into Pauli measurements

The conversion begins with a circuit on n qubits containing m T gates. Each T gate is replaced by a gadget consuming a magic-state ancilla, performing Pauli measurements, and applying a correction determined by the outcomes.

The gadget measures ZZ and IX. Its possible output states differ from the desired T-gate result by known Clifford corrections. The corrections listed in the paper are I, Z, S, and ZS, assigned according to the measurement outcomes.

The conversion initially produces a generalized computation containing both magic-state qubits and stabilizer ancillas. Clifford gates can be moved towards the end by updating the Pauli operators that will be measured. Once they reach the end, they can be discarded because the final quantum state is not part of the requested output.

Noncommuting measurements receive a similar treatment. When a new Pauli operator anticommutes with an earlier measured operator, the new outcome is uniformly random, and its effect can be represented by a suitable Clifford operation. That operation is again propagated into later measurement descriptions.

Finally, qubits initialized in stabilizer states can be eliminated. Measurements that are dependent on earlier commuting measurements need not introduce new quantum information. The remaining computation uses m magic-state qubits and no more than m independent Pauli measurements.

This establishes the computational equivalence needed by the later simulation results. It also explains why the T-gate count is the important quantity in the paper’s circuit comparison.

#### Replace missing magic states with weighted stabilizer inputs

For hybrid simulation, the authors expand a density operator instead of a state vector:

```
|H⟩⟨H|^{⊗k} = ∑_{i=1}^{χ} α_i |φ_i⟩⟨φ_i|
```

The left side describes k magic-state qubits. On the right, each |φ_i⟩ is a stabilizer state, α_i is a real coefficient, and χ is the number of terms. The coefficients need not be non-negative, so this is not an ordinary probabilistic mixture.

Linearity transfers the decomposition to output probabilities:

```
p(Q) = ∑_{i=1}^{χ} α_i p(Q_i)
```

Here Q is the original computation, p(Q) is its probability of output 1, and Q_i replaces the k magic-state inputs with the stabilizer input |φ_i⟩. The earlier elimination argument converts each Q_i into a computation using only the remaining n magic-state qubits.

For a single magic state, the decomposition is:

```
|H⟩⟨H| = α₁|0⟩⟨0| + α₂|1⟩⟨1| + α₃|+⟩⟨+|
```

The states |0⟩, |1⟩, and |+⟩ are stabilizer states. The coefficients α₁, α₂, and α₃ specify their real weights.

Their values are:

```
(α₁, α₂, α₃) = (1/2, (1−√2)/2, 1/√2)
```

The middle coefficient is negative. That sign is essential to the identity and is the reason the construction must combine weighted estimates rather than randomly choose an input according to these coefficients.

Taking tensor products gives χ = 3^k terms. To estimate the original probability, the simulator runs the smaller computations and combines their output bits:

```
ξ = ∑_{i=1}^{χ} α_i b_i
```

The random variable b_i is the output bit of Q_i, and ξ is a weighted estimator. Its expected value is p(Q).

Independence gives the variance bound:

```
Var(ξ) ≤ ∑_{i=1}^{χ} α_i²
```

Var(ξ) denotes the estimator’s variance, and the sum measures the squared coefficient weights. This connects the algebraic representation to the number of samples needed.

The paper summarizes the resulting cost as:

```
C ∼ χ max(1, ∑_{i=1}^{χ} α_i²)
```

The quantity C is the overall cost of adding virtual qubits in this construction. The symbol ∼ expresses the scaling relation used in the paper. The maximum ensures that both the number of component computations and the sampling requirement enter the accounting. With the chosen tensor-product decomposition, the stated scaling is 2^{O(k)}.

#### Define stabilizer rank for state vectors

The purely classical algorithm uses a different representation:

```
|ψ⟩ = ∑_{α=1}^{χ} c_α|φ_α⟩
```

Here |ψ⟩ is a target pure state, the |φ_α⟩ are stabilizer states, and the c_α are complex amplitudes. The smallest possible χ is the stabilizer rank of ψ.

The paper abbreviates the rank of a magic-state product by:

```
χ_n = χ(H^{⊗n})
```

The function χ gives stabilizer rank, H^{⊗n} denotes n copies of the magic state, and the subscript n records the number of copies.

Tensor products provide the composition rule:

```
χ_{n+m} ≤ χ_nχ_m
```

The integers n and m specify two block sizes. Combining decompositions of those blocks produces a valid decomposition of the combined register. This establishes an upper bound; it does not assert that the combined decomposition is optimal.

The distinction is important for interpreting the numerical results. A compact identity on a small block can prove an asymptotic simulation bound even if the exact minimum rank of that block remains unknown.

#### Calculate probabilities through stabilizer overlaps

For a commuting sequence of measured Pauli operators, the projector associated with a measurement history is:

```
Π_t = ∏_{a=1}^{t} (I+σ_aP_a)/2
```

The index a runs over the measurements already performed. P_a is the measured Pauli operator, σ_a is its recorded eigenvalue, and I is the identity. The subscript t indicates the current history length.

Expanding the initial magic-state product gives:

```
Pr(σ₁,…,σ_t) = ∑_{α,β=1}^{χ_n} c̄_αc_β⟨φ_α|Π_t|φ_β⟩
```

Pr denotes probability. The coefficients c_α and stabilizer states |φ_α⟩ come from the state-vector decomposition, and c̄_α is the complex conjugate of c_α. Again, the calculation requires pairs of terms because amplitudes interfere.

The authors show that each projected overlap can be evaluated in O(n^3) time. Their proof represents stabilizer amplitudes using binary linear algebra and quadratic phase functions.

A representative stabilizer-state expression is:

```
|ψ⟩ ∝ ∑_{u∈F₂^r} ω^{f(u)}|z+uΨ⟩
```

The proportionality sign leaves normalization and an overall phase implicit. The vector u contains r binary coordinates, F₂ is the field of binary values, z is a binary offset, and Ψ is a binary matrix. The function f describes phases, and ω is defined next.

```
ω = e^{iπ/4}
```

The symbol i is the imaginary unit. Powers of ω encode the phase values used in the stabilizer representation.

The allowed phase polynomial has the form:

```
f(x) = f_∅ + 2∑_a f_ax_a + 4∑_{a<b} f_{a,b}x_ax_b
```

The entries x_a are binary variables. The constant f_∅ is taken modulo 8, the linear coefficients f_a modulo 4, and the quadratic coefficients f_{a,b} modulo 2. These restrictions make the phase function compatible with stabilizer structure.

The computational task reduces to evaluating sums of the form:

```
⟨f⟩ = ∑_{x∈F₂^n} ω^{f(x)}
```

The notation ⟨f⟩ names this phase sum. It is not a quantum expectation value. The authors prove that binary changes of variables reduce its evaluation to polynomial-time linear algebra, yielding the projected-overlap routine.

For a complete sampled trajectory, the simulation cost is:

```
T(n) = χ_n² n⁴
```

Here T(n) denotes the simulation-time scaling, χ_n² counts pairs of stabilizer components, and the polynomial factor includes overlap evaluation across the sequence of measurements.

The simulator obtains each next outcome by conditional sampling:

```
Pr(σ_t | σ₁,…,σ_{t−1}) = Pr(σ₁,…,σ_t) / Pr(σ₁,…,σ_{t−1})
```

The numerator is the probability of the extended history, and the denominator is the probability of the history already sampled. Computing these quantities supplies the bias for a classical random choice of σ_t. Repeating this procedure reproduces the adaptive measurement process.

#### Use the six-qubit decomposition

The decisive construction is an exact representation of six magic states using seven stabilizer states. The paper temporarily leaves the magic state unnormalized:

```
|H⟩ = |0⟩ + t|1⟩
```

The scalar t is the relative amplitude of |1⟩ in this convention.

```
t = tan(π/8) = √2−1
```

The normalization change simplifies the coefficients of the explicit decomposition. It does not alter the stabilizer-rank question.

The components include the all-zero state, the all-one state, uniform superpositions over even-weight and odd-weight strings, and states obtained by controlled-Z phase patterns. Hamming weight means the number of non-zero bits in a string.

Using the paper’s notation, the identity is:

```
|H^{⊗6}⟩ = (−16+12√2)|B_{6,0}⟩ + (96−68√2)|B_{6,6}⟩ + (10−7√2)|E₆⟩ + (−14+10√2)|O₆⟩ + (7−5√2)Z^{⊗6}|K₆⟩ + (10−7√2)|φ′⟩ + (10−7√2)|φ″⟩
```

The states |B_{6,0}⟩ and |B_{6,6}⟩ contain the strings of weight 0 and 6. The states |E₆⟩ and |O₆⟩ sum over even and odd weights respectively. The state |K₆⟩ applies a controlled-Z phase for every qubit pair to the uniform superposition over all strings, and Z^{⊗6} applies Z to each qubit. The states |φ′⟩ and |φ″⟩ apply the controlled-Z patterns specified by the paper’s two graphs to |O₆⟩.

This identity establishes:

```
χ₆ ≤ 7
```

The quantity χ₆ is the minimum stabilizer rank for six magic states. Seven is a demonstrated upper bound, rather than a proved minimum.

Repeating the block gives:

```
χ_n ≤ 7^{n/6}
```

The expression describes the rank bound obtained from six-qubit blocks in the construction. The technical derivation first treats register sizes divisible by the block size.

The corresponding overlap calculation has time:

```
O(7^{n/3} n³)
```

Here n is the number of magic-state qubits. This is the cost of evaluating a measurement-history probability; the complete simulation includes the remaining polynomial work. The resulting exponential coefficient is reported as roughly 0.94.

#### Discover candidate decompositions numerically

The exact identity was found through a numerical search over tuples of stabilizer states. Given a normalized target φ and a proposed term count χ, the authors choose the objective:

```
F(φ₁,…,φ_χ) = ‖Πφ‖
```

The operator Π projects onto the span of the candidate stabilizer states φ₁ through φ_χ. The norm measures how much of the target lies in that span. Reaching F = 1 means that the span contains the target exactly.

A proposed move selects a component and a Pauli operator, then projects that component into a Pauli eigenspace:

```
|φ_a′⟩ = c(I+P)|φ_a⟩
```

The index a identifies the selected component, P is the proposed Pauli operator, and c normalizes the result. A zero result is rejected. Valid moves preserve stabilizer structure.

Improving moves are accepted. A worsening move is accepted according to:

```
p_acc = exp[−β(F−F′)]
```

The quantity p_acc is the acceptance probability, β is the inverse-temperature parameter, and F and F′ are the objective values before and after the proposal. Allowing some worsening moves helps the search move between candidate spans.

The authors gradually increase β using a geometric schedule. They use β_in = 1, β_f = 4000, M = 1000 walk steps at each temperature, and 100 annealing stages. Because the target has real amplitudes, they restrict candidates to real stabilizer states and allow only Pauli moves containing an even number of Y operators.

This is a discovery procedure instead of a proof of optimality. An exact decomposition certifies that its term count is achievable. Failure to find a shorter decomposition does not certify that none exists.

### Experiments and results

The paper combines mathematical guarantees with a numerical search for small stabilizer decompositions. It does not report a hardware benchmark, a measured acceleration on a quantum processor, or a dataset-based predictive evaluation. The principal results are resource bounds, explicit identities, and structural observations about those identities.

The simulation task is consistent across the main theorems: estimate the probability of a final classical output, within a small additive error. In the classical Pauli-based simulator, sampling the measurement history supplies a way to generate output bits. Repeating such sampling supports probability estimation.

#### The hybrid resource bounds

For a d-sparse computation using n+k qubits, the theorem provides a simulation using n qubits when n ≥ kd+1. The smaller quantum computations are (d+3)-sparse. Their repetition count scales as 2^{O(kd)}, and the accompanying classical work scales as 2^{O(kd)} poly(n).

These quantities measure different resources. The retained qubit count describes hardware size; the sparsity bound describes interactions per qubit; the repetition bound describes how many smaller executions are required. The theorem trades the first resource against the others.

The authors identify k = O(1) and d = O(log n) as a useful regime because the resulting running-time bounds are polynomial in n. Their claim of potential advantage over purely classical simulation relies on the earlier discussion of sparse quantum computations believed to be classically difficult. It is not an unconditional lower-bound separation between all classical algorithms and the hybrid construction.

For Pauli-based computation, the hardware reduction has no sparsity parameter. A computation using n+k magic-state qubits can be simulated through repeated n-qubit computations, with repetition count 2^{O(k)} and classical time 2^{O(k)} poly(n).

The proof supplies a concrete construction with χ = 3^k density-operator terms. Those terms become smaller computations after the stabilizer inputs are eliminated. The result establishes an exponential dependence on the removed magic-state resource, together with polynomial dependence on the retained computation.

#### The classical baseline and the improved exponent

The direct baseline stores the evolving quantum state as a vector with 2^n complex entries. A Pauli operator acts by permuting those entries and changing their phases. Updating the state and evaluating a measurement probability therefore takes O(2^n) time per step.

Because the Pauli-based computation has at most n measurement steps, the paper gives O(n2^n) for this direct simulation. The stabilizer-rank method replaces the state vector with a reusable decomposition and calculates pairs of stabilizer overlaps.

The authors also compare against Aaronson and Gottesman’s bound for circuits containing a limited number of non-Clifford operations. Under the paper’s Clifford+T comparison, m denotes the T-gate count.

Clifford+T circuit simulation, coefficient multiplying T-count m in the exponent The stabilizer-rank construction reduces the stated exponential dependence on T-count.

**The numbers**

| System or setting | coefficient in 2^{coefficient × m}, excluding polynomial factors |
| --- | --- |
| Aaronson–Gottesman bound | 4 |
| Stabilizer-rank simulation (this paper) | 0.94 |

This comparison concerns asymptotic upper bounds. It does not show a measured runtime ratio, and it does not locate the circuit sizes at which an implementation would become faster. Polynomial factors and constants remain relevant to that question.

The paper’s own bound is 2^{0.94 m} poly(n) after translating the circuit to a Pauli-based computation on m qubits. For an n-qubit Pauli-based computation directly, the theorem gives 2^{αn} poly(n), where α ≈ 0.94.

#### What the numerical search established

The search output consists of explicit stabilizer decompositions. The paper supplies identities for small products of the magic state and conjectures that their term counts equal the corresponding ranks.

For two copies, the paper establishes χ(H^{⊗2}) = 2. This already shows why the tensor-product representation of separate magic states is wasteful: combining copies can permit a representation that uses shared stabilizer structure.

The six-copy identity is decisive for the stated classical improvement. The authors derive β = log₂(7)/6 ≈ 0.468 as the exponent in the rank upper bound. Because probability evaluation pairs decomposition components, the simulator’s exponential dependence involves the square of that rank bound.

The numerical work does not establish exact ranks for every larger register. Its contribution is constructive: it finds a valid small-block identity, and the tensor-product argument turns that identity into an algorithm for larger computations.

#### Comparison with a restricted Wigner-based approach

The paper discusses a preliminary combination of earlier Wigner-based methods yielding approximately 2^{0.543 n} poly(n). The associated quantity is M = 2^{-1}+2^{-1/2} ≈ 1.207, and the stated running-time form is M^{2n} poly(n).

That smaller exponent applies under narrower conditions. The measured operators must be X-type or Z-type, and their selection cannot be adaptive. The paper says that this restricted class is not known to express universal quantum computation.

The comparison therefore concerns a tradeoff between scope and cost. The stabilizer-rank result handles general Pauli-based computation, including adaptive choices. The restricted Wigner-based estimate cannot be treated as a direct replacement without losing those capabilities.

### What the ablations show

The paper contains no conventional component-removal ablation study; its evidence about why the approach works comes from structural comparisons, small-block decompositions, representation restrictions, and the proofs’ resource accounting.

#### Symmetric targets may require asymmetric components

The clearest controlled restriction concerns permutation symmetry. The state |H^{⊗6}⟩ is unchanged when its qubits are permuted. One might therefore search only among stabilizer states with the same symmetry.

The authors find that this restriction is too strong. The target does not lie in the subspace generated by symmetric stabilizer states on six qubits. Any exact stabilizer decomposition must therefore contain at least two components that are not symmetric.

Their displayed construction has the corresponding shape: the initial group of components respects all qubit permutations, while the graph-defined states break that symmetry. The cancellation and combination of these asymmetric pieces restore the symmetry of the target.

For n ≤ 5, the situation differs. The target belongs to the span of symmetric stabilizer states, and the best decompositions found by the authors use such states. This comparison explains why a search strategy that works on smaller blocks can become inadequate at the block size needed for the improved simulation.

The result concerns representability, not merely search convenience. At six qubits, restricting the candidate space to symmetric components would prevent success regardless of the search schedule.

#### State rank must be judged after probability evaluation

A compact amplitude decomposition does not immediately imply a faster simulator. Quantum probabilities require pairwise combinations of amplitudes, so the relevant term count is squared.

The paper demonstrates this issue through its two-copy construction. The rank bound obtained from repeating that block reaches 2^{n/2}. Squaring the term count leaves the exponential scale of direct state-vector simulation unchanged.

The six-copy construction crosses the needed threshold. Its seven-term representation gives a rank exponent below 1/2, so the squared-rank calculation improves the exponential dependence.

This analysis identifies the mechanism of the speedup more precisely than the statement that stabilizer decompositions are compact. The decomposition must be compact enough to survive the cost of evaluating interference between all its components.

#### Orthogonality changes the difficulty

Earlier stabilizer-frame methods imposed orthogonality on their components. The present paper removes that requirement, allowing overlapping stabilizer states.

The lower-bound discussion shows why this distinction matters. If the components are orthogonal, their Gram matrix is especially simple. Combining that property with the small overlap between a magic-state product and a stabilizer state gives an exponential rank lower bound in that restricted case.

For general nonorthogonal decompositions, the same reasoning depends on the smallest Gram-matrix eigenvalue. The paper does not establish a sufficiently strong general bound on that quantity. The unrestricted representation problem therefore remains substantially less constrained.

This is not evidence that every nonorthogonal decomposition is useful. It shows that orthogonality excludes possibilities that the new method deliberately permits, and that conclusions proved under orthogonality cannot simply be transferred to the unrestricted rank.

#### Real-valued search is a justified restriction

The numerical search also reduces its candidate space by keeping only real stabilizer states. Unlike the symmetry restriction, this one is supported by an argument for the target under study.

The magic-state product has real amplitudes. The authors observe that taking the real part of a stabilizer state yields either zero or a vector proportional to a stabilizer state. An optimal decomposition can consequently be chosen within the real candidates.

The implemented move restriction requires an even number of Y operators in a proposed Pauli. This preserves real amplitudes. The restriction reduces irrelevant search directions without excluding the type of exact solution being sought.

The paper does not compare several annealing schedules or report search success rates. Its parameter choices document how the displayed identities were found, rather than establishing an optimized numerical search method.

#### Length and variance are distinct controls

The hybrid Pauli-based construction offers another useful analysis. Its cost includes both χ, the number of stabilizer-input computations, and a bound on the weighted estimator’s variance.

A representation with fewer terms could still be unattractive if its coefficients were large enough to increase sampling cost. Conversely, a larger representation might have favorable coefficient behavior. The paper’s cost expression keeps these effects visible.

This analysis also distinguishes the hybrid result from the classical stabilizer-rank result. The former combines real weighted probabilities from density-operator terms. The latter combines complex amplitudes and their cross terms. A representation that is good for one task is not automatically good for the other.

### Limitations

The paper establishes explicit simulation constructions and upper bounds. Its main limitations concern where those constructions apply, what kind of output they reproduce, whether the numerical decompositions are optimal, and how much the asymptotic results imply about practical use.

#### Restrictions stated by the authors

The sparse-circuit theorem requires bounded interaction counts and the condition n ≥ kd+1. Its exponential overhead depends on kd. The authors identify small k and modest d as the useful regime; the theorem does not promise an economical simulation when many qubits are missing or each removed qubit has many interactions.

The Pauli-based theorem has a different restriction. Its qubits begin in the specified magic state, and the allowed quantum operations are Pauli measurements. The equivalence proof connects this scheme to Clifford+T circuits, but it does so through a representation in which the T-gate count determines the magic-state register.

The simulation objective is a classical output probability. Neither hybrid theorem says that the smaller processor contains the larger computation’s final state. The distinction is essential because the constructions reconstruct an answer through repeated tasks and classical combination.

The authors explicitly leave the exact asymptotic behavior of stabilizer rank open. They conjecture exponential growth but prove only:

```
χ_n ≥ Ω(n^{1/2})
```

Here χ_n is the rank of n magic-state copies, and Ω denotes an asymptotic lower bound. The expression n^{1/2} gives the growth rate established by their argument. It remains far below the exponential upper bound used by the simulator.

The small-block numerical decompositions also have an acknowledged status: they are upper bounds that the authors believe to be tight. The paper does not prove their optimality in general.

#### Approximation is not automatically easier

The authors discuss replacing exact stabilizer decompositions with approximate ones, but they do not establish that this yields a substantial rank reduction.

Their concern arises from conditional sampling. A particular measurement history can have exponentially small probability. An approximation that looks accurate at the state level may be inadequate when the simulator divides one small history probability by another.

For the algorithm presented, the authors say that approximate decompositions would need precision at least 2^{−Ω(n)}. That requirement makes approximate rank a separate technical problem instead of an immediate shortcut around exact decomposition.

A careful reader should therefore resist interpreting the numerical objective as an approximate-simulation guarantee. The search seeks a span containing the target. A candidate with high but imperfect overlap would require an additional error analysis before it could replace an exact identity in the simulator.

#### What the numerical search cannot certify

The annealing procedure searches a very large discrete space through local proposals. It can find useful decompositions, but it has no stated guarantee of locating the smallest one.

The paper notes that the number of stabilizer states grows as 2^{(1/2+o(1))n²}. This explains the need for a heuristic and also limits how much can be inferred from unsuccessful searches. The absence of a better candidate is weaker evidence than a mathematical lower bound.

The search uses explicit vectors of size 2^n because it operates on small registers. It is therefore not itself a demonstration that optimal decompositions can be discovered efficiently for large n.

The asymptotic simulator avoids that discovery problem by reusing a fixed small construction. This is sufficient for its theorem. It does not answer whether substantially better large-block constructions can be found, how expensive their discovery would be, or whether their improvements would offset additional overhead.

#### Practical performance remains unmeasured

As a limitation of the setup, the paper supplies no end-to-end runtime measurements comparing implementations of the hybrid construction, the stabilizer-rank simulator, and direct simulation.

The approximate exponent 0.94 describes asymptotic scaling after polynomial factors are set aside. It does not locate a practical crossover point. The sparse-circuit proof also contains explicit repetition expressions whose size may matter considerably even when the asymptotic statement is polynomial in a selected regime.

The hybrid results assume access to the required smaller quantum computations. They do not include an experimental analysis of gate noise, measurement errors, or imperfect magic-state preparation. Though fault-tolerant techniques motivate Pauli-based computation, that motivation is not a hardware demonstration of the tradeoff.

The theorem also permits the smaller circuits to change. In the sparse case, additional swaps distribute the control role, and the sparsity increases. A device constrained by a particular connectivity pattern would need further implementation work beyond the resource bounds stated here.

These observations limit practical claims without weakening the mathematical constructions. The paper shows that the trade is possible under its assumptions; it does not show that every available processor would realize it advantageously.

#### Two estimator expressions need care

A careful reading of the sparse-circuit derivation reveals a problem with the displayed random-variable definition. The text assigns +1 only when the control outcome is 0 and the classical acceptance condition holds, assigning −1 otherwise. That assignment does not generally have the real projected overlap as its expectation.

The circuit’s interference information and the need to evaluate cross terms are clear, but the stated sign rule requires correction before it can serve as an implementation specification. The displayed unbiasedness claim should therefore not be accepted solely from that definition.

There is also a mismatch in the hybrid Pauli-based proof’s sample-count statement. The displayed expression involving a minimum does not express the variance-dependent growth that the following overall cost formula uses. The latter formula includes the maximum needed to account for sampling cost.

These are local issues in the estimator presentation. They do not provide new numerical evidence against the decomposition identities, but they matter when translating a proof outline into a concrete algorithm.

#### The general lower-bound obstacle remains open

The final lower-bound discussion isolates a structural difficulty. The authors use a Gram matrix whose entries are overlaps between stabilizer components. Its smallest eigenvalue controls how large the decomposition coefficients may become.

For orthogonal components, that control is immediate. For general overlapping components, near-dependence can allow large coefficients and cancellation. The argument therefore does not establish an exponential lower bound for unrestricted stabilizer rank.

The unconditional lower bound instead uses a specially constructed state with many distinct amplitudes and a controlled T-gate preparation cost. This proves that rank must grow, but it leaves a broad gap between what is required and what the best displayed construction achieves.

That gap limits any claim of optimal simulation cost. The exponent reported in the theorem belongs to the authors’ construction. It is not a proved barrier for every classical simulator or every stabilizer decomposition.

### What came after

No specific later study is identified for discussion. The subsequent influence of the paper therefore cannot be assigned to particular follow-up results here. Its own closing questions do, however, define clear directions for further work.

One direction is better exact decompositions. The classical simulator turns a small-block rank bound into a general running-time bound, so improved constructions on larger blocks could change the exponent. The paper suggests this possibility without establishing that larger searches will succeed.

Another direction concerns the choice of magic state. The authors compare the H-type state with an R-type state defined through the operator (X+Y+Z)/√3. Their numerical observations suggest equal stabilizer ranks for n ≤ 6. They conjecture that the equality persists and propose that magic states minimize the rank of tensor powers among non-stabilizer single-qubit states.

A further direction is stronger lower bounds. The paper conjectures χ_n ≥ 2^{Ω(n)} and explains why slower growth would have consequences for simulating constant-depth Clifford+T circuits. Its Gram-matrix argument identifies one obstruction: unrestricted decompositions can use overlapping components whose coefficients are difficult to control.

Approximate decompositions form a separate open route. A smaller approximate representation would be useful only with an error analysis that supports the intended probability calculations. The paper’s warning about rare measurement histories makes that requirement concrete.

Across these questions, the enduring contribution is a way to formulate the resource tradeoff precisely. Physical qubits, non-Clifford resources, decomposition length, interference calculations, and sampling variance enter different parts of the cost. The paper shows how to connect them in explicit constructions while leaving their optimal relationship unresolved.

## Cite

Cite as Sergey Bravyi, Graeme Smith and John A. Smolin. 2016. Trading Classical and Quantum Computational Resources. Physical Review X.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1103/physrevx.6.021043](https://doi.org/10.1103/physrevx.6.021043) · [arXiv 1506.01396](https://arxiv.org/abs/1506.01396)

```bibtex
@article{bravyi2016trading,
  title = {{Trading Classical and Quantum Computational Resources}},
  author = {Sergey Bravyi, Graeme Smith and John A. Smolin},
  journal = {Physical Review X},
  year = {2016},
  doi = {10.1103/physrevx.6.021043},
  eprint = {1506.01396},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1103/physrevx.6.021043}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
