Universal quantum computation with ideal Clifford gates and noisy ancillas
Paper · 2005 · Sergey B. Bravyi and Alexei Kitaev
Summary
A quantum computer may have some operations it can perform with great precision and still lack the operations it needs to run an arbitrary quantum circuit. Bravyi and Kitaev ask whether a single unreliable preparation procedure can supply what is missing. In their setup, Clifford gates, Pauli measurements, and preparation of a standard qubit state are exact. The only imperfect operation prepares an auxiliary qubit in a fixed mixed state. Each preparation is independent. The question is which auxiliary states make universal quantum computation possible under these rules.
The answer depends on the direction and strength of the auxiliary qubit’s polarization. A qubit’s state can be pictured as a point in the Bloch sphere. The six pure states associated with the Pauli measurement axes form an octahedron inside that sphere. Every point in the octahedron is a probabilistic mixture of states the exact operations can already prepare. The Gottesman–Knill theorem then gives an efficient classical simulation of the entire computation, including choices that depend on earlier measurement outcomes. Outside the octahedron, the authors identify regions where the auxiliary state can instead supply a resource for universal quantum computation.
Their construction uses quantum error-detecting codes to concentrate that resource. A round starts with independent copies of the noisy state and measures checks on the group. The check results determine whether to keep the group, with a correction based on some of the results in one of the protocols. An accepted group is decoded to a single qubit. Above the relevant input threshold, the retained qubit is closer to its target than the inputs were. By repeatedly regrouping the outputs, the authors can approach either of two families of pure states, called T-type and H-type magic states. A sufficiently large projection onto a direction from either family is enough. The paper gives threshold projections of approximately 0.655 for T-type and 0.718 for H-type.
The paper also shows how each type of magic state supplies a phase gate outside the Clifford group. Measurements make the sign of a phase step random, but reveal which sign occurred, so the circuit can keep track and stop at the required phase. The authors account for the small chance that this process exhausts its supply of states and for the residual error in the distilled states. Their results give sufficient conditions for efficient universal computation and a region where efficient classical simulation is possible. They leave open where the transition occurs for the states between those guarantees.
Deep dive: Universal quantum computation with ideal Clifford gates and noisy ancillas
Bravyi and Kitaev show how ideal Clifford gates can distill noisy qubits into magic states that enable universal quantum computation. · about 35 minutes to read
The problem and its context
When errors enter through one operation
The paper starts from a question about the distribution of errors. In an ordinary fault-tolerance argument, an error threshold describes how reliable physical operations must be for an error-correction scheme to keep a long computation under control. The authors cite estimates ranging from 10⁻⁶ to 10⁻⁴ for schemes discussed in their introduction. These estimates depend on the assumed errors and the correction procedure. If all the operations used to detect and correct errors are themselves imperfect, the correction circuitry contributes to the problem it is trying to solve.
Bravyi and Kitaev consider an arrangement in which errors occur only when preparing a particular auxiliary state. The remaining operations are exact, and stored qubits suffer no errors between operations. The exact operations can then be used repeatedly to check whether the auxiliary preparation has supplied a useful state. A failed check can cost that batch of preparations while leaving the computation that will eventually use the resulting state untouched. This separation is what makes a preparation threshold worth studying on its own.
The authors motivate the question partly through topologically ordered systems. Their discussion describes anyons as excitations whose behavior under exchanges can be used to enact operations. Moving them around one another, fusing them, and distinguishing their types can give access to a protected set of gates and measurements. What that set can compute depends on the available anyons. The paper describes examples in which braiding can support universal computation, as well as situations in which protection may be available for only an incomplete gate set. Supplementing protected operations with an imperfect operation is a way to ask what such an incomplete set could still accomplish.
A second motivation comes from encoded quantum computation. The paper points to earlier work in which Clifford gates can be implemented with high accuracy on qubits encoded in concatenated stabilizer codes. Applying gates transversally limits the spread of errors within a block. An encoded implementation also needs a way to prepare the auxiliary state on an encoded qubit. The authors point to Knill’s work on fault-tolerant encoding of a known one-qubit state for that part of the task. This motivates treating some operations as effectively much more reliable than state preparation, while the paper takes the exact-operation limit to isolate the consequences.
Why Clifford operations are the starting point
The Clifford group is defined by how its gates transform Pauli operators. The Pauli operators describe qubit observables along the three coordinate axes and their products across registers. Conjugation by a Clifford gate takes a Pauli operator to another member of the Pauli group. This property keeps the description of a large class of states manageable. A stabilizer state can be specified by listing compatible Pauli checks and the eigenvalues the state has for those checks. Applying a Clifford gate transforms the checks. A Pauli measurement allows the description to be updated using its recorded outcome.
The Gottesman–Knill theorem supplies the classical baseline. Starting from standard prepared qubits, a classical probabilistic computer can efficiently track the stabilizer description and sample the outcomes of a Clifford and Pauli-measurement computation. It can do so even when those outcomes determine the next operation, provided that determining that operation is itself efficient. Thus a register can contain many qubits and undergo adaptive measurements while still admitting a compact classical description.
The problem posed by the paper is whether an auxiliary preparation forces a computation outside this description and, if it does, whether the change is enough to enable universal quantum computation. These are distinct questions. A state can fall outside the convex set generated by the Pauli eigenstates, while a particular procedure for converting that state into a useful gate can still fail. The distinction motivates studying the boundary of the classically simulable region alongside the convergence boundaries of explicit distillation procedures.
The idea of preparing an auxiliary resource and using it to supply a missing gate had a precedent in the work the authors cite. They describe a proposal to use Clifford operations to distill an entangled state for implementing a Toffoli gate. In Bravyi and Kitaev’s question, the primitive preparation is a single qubit, and its entire contribution can be specified by its density matrix. That restriction makes it possible to describe the input geometrically and analyze exactly how a selected code processes independent copies of the state.
What the auxiliary preparation supplies
The ideal operations are preparation in the computational basis state labeled zero, Clifford unitaries, and nondestructive measurements of single-qubit Pauli observables. A nondestructive measurement keeps the post-measurement state, so later operations can act on the register in the subspace selected by the outcome. The auxiliary operation prepares a qubit with density matrix ρ. A density matrix specifies the statistics of any measurement on that qubit, including when its preparation leaves it mixed. Repeated calls supply a tensor product of identical density matrices. That assumption allows the probability of a preparation pattern across a batch to factor into its individual probabilities.
The paper also allows classical processing between quantum operations. A circuit can inspect the most recent outcomes, choose a correction, discard a batch, or request a new preparation. Random classical choices fit within the allowed operations because an ideal preparation, Clifford gate, and measurement can generate a fair random bit. The computational cost of choosing operations still matters. An existence argument for a sequence of measurement-dependent choices would fall short of an efficient construction unless the choices could be computed as the circuit runs.
The method, step by step
From a noisy preparation to a gate
The construction has a preparation stage and a gate stage. The preparation stage aligns the input with a target magic state and simplifies the noise by averaging over suitable Clifford operations. It then groups the resulting states and measures each group. Some measurement results identify a subspace that can be decoded into one better auxiliary qubit. The accepted qubits can be used as inputs to a further round. The gate stage takes the purified states and consumes them in a circuit whose measured outcomes reveal the phase applied to a data qubit.
From independent noisy ancillas to a phase gate
The steps in order.
There is no training procedure. The inputs are copies of a specified quantum state, and the quantities being estimated are functions of that state. The quantum codes determine the checks. The recorded outcomes determine acceptance and, where needed, a Clifford correction. The authors analyze this process by calculating the weights of the input patterns that survive the checks and the states to which those patterns decode.
Locating the input state
The Bloch representation expresses the density matrix in a basis consisting of the identity and the Pauli matrices.
ρ = (I + ρₓσˣ + ρᵧσʸ + ρ𝓏σᶻ)/2
Here ρ is the auxiliary qubit’s density matrix and I is the one-qubit identity. The operators σˣ, σʸ, and σᶻ are the Pauli observables. The real coefficients ρₓ, ρᵧ, and ρ𝓏 are the corresponding coordinates of the polarization vector. Division by 2 gives the density matrix unit trace. Each coordinate gives the expectation of the matching Pauli observable, so this representation records the bias in each of the three measurements.
|ρₓ| + |ρᵧ| + |ρ𝓏| ≤ 1
The bars give the absolute magnitudes of the Bloch coordinates. The inequality defines the octahedron, with 1 the magnitude of the non-zero coordinate at each vertex. The positive and negative ends of each axis are the two pure eigenstates of the corresponding Pauli observable. Those vertices are all accessible through Clifford operations. Convex mixing fills their hull, so an input inside the hull can be reproduced by sampling which eigenstate to prepare. The classical simulation can use the same type of sampling before continuing with the stabilizer description.
The pure targets for distillation point along other symmetry directions of the octahedron. The following projectors specify one representative from each family.
|T⟩⟨T| = [I + (σˣ + σʸ + σᶻ)/√3]/2
The ket |T⟩ denotes the T-type representative, and its product with the corresponding bra ⟨T| is the projector onto that state. The identity and Pauli matrices have their Bloch-representation meanings. The factor √3 gives the diagonal direction unit length, and the factor 2 normalizes the projector’s trace.
|H⟩⟨H| = [I + (σˣ + σᶻ)/√2]/2
Here |H⟩ is the H-type representative and ⟨H| is its bra. The Pauli terms select the direction with equal positive components along the x and z axes. The square root of 2 normalizes that direction, and the outer division by 2 again gives unit trace. One-qubit Clifford transformations generate eight T-type states and twelve H-type states, with global phases ignored. The T-type directions run through the centers of the octahedron’s faces. The H-type directions run through the centers of its edges.
For the thresholds, the authors maximize the fidelity to the target family. Their fidelity convention uses the square root of the overlap with a pure target.
F_M(ρ) = max_{U∈C₁} √⟨M|U†ρU|M⟩
The label M stands for either T or H. The ket |M⟩ is the chosen representative, and ⟨M| is its bra. The operator U ranges over the one-qubit Clifford group C₁, and U† is its adjoint. The matrix element inside the square root is the probability of finding the rotated input in the target state. Maximizing over the group amounts to picking the best direction in the family. Once that direction has been chosen, the analysis can rotate the input to work with a fixed target.
This convention gives a separate quantity for the error probability. For a fixed target and an input diagonal in its basis, it is the probability of the orthogonal component. Before dephasing, it is the probability that a hypothetical measurement in that basis would give the orthogonal outcome. Dephasing removes off-diagonal terms while preserving these probabilities. The resulting ensemble can be analyzed as a distribution over pure product states even though the procedure has no record of which product state a particular batch represents.
Measuring checks with Clifford operations
A block check is a Hermitian Pauli product and has eigenvalues +1 and −1. A collection of independent commuting checks can be mapped to separate single-qubit Pauli observables by a Clifford change of basis. The circuit can apply that change of basis, measure the required observables, and undo the change of basis. This realizes a joint nondestructive measurement. The resulting list of eigenvalues is called a syndrome. It specifies which joint eigenspace the block occupies after measurement.
Π_λ = ∏_{j=1}^k (I + λⱼSⱼ)/2
The symbol Π_λ is the projector for syndrome λ. The index j runs over the k checks. The operator Sⱼ is the jth check, λⱼ is its measured sign, and I is the identity on the register. Each factor, including its division by 2, projects onto the required eigenspace of one check. The factors commute, so taking their product projects onto the intersection. The trace of the projected density matrix gives the probability of the syndrome. Dividing by that probability gives the density matrix conditional on observing it.
The code subspace is the joint eigenspace in which the checks have their prescribed positive signs. The useful subspaces here can hold a single logical qubit. That qubit is encoded in the joint state of the block. The decoding gate transfers its state to a single physical qubit and leaves the other qubits in a separate state. The job of the syndrome measurement is to change the distribution over the possible logical states before decoding. The job of the decoder is to extract that logical state.
Why a pure magic state supplies a missing gate
The phase injection argument uses an ancilla with equal basis magnitudes and a known relative phase.
|A_θ⟩ = 2⁻¹ᐟ² (|0⟩ + e^(iθ)|1⟩)
The ket |A_θ⟩ denotes the auxiliary state at angle θ. The states |0⟩ and |1⟩ are the computational basis vectors. The complex exponential uses the imaginary unit i, and e^(iθ) is the relative phase of |1⟩. The leading factor normalizes the qubit. The phase gate to be implemented leaves |0⟩ unchanged and multiplies the coefficient of |1⟩ by the same complex exponential.
The circuit takes a data qubit with arbitrary amplitudes and measures its joint Pauli z parity with the ancilla. Even parity retains the terms in which the basis labels agree. The relative phase of the ancilla is then attached to the data amplitude for |1⟩. Odd parity retains the terms in which the labels differ. In that branch, the phase initially multiplies the amplitude for |0⟩. Factoring out an overall phase leaves the opposite phase on |1⟩. An ideal controlled-NOT, with the data qubit as control, separates the ancilla from the data in both branches.
|ψ_out⟩ = a|0⟩ + b e^(±iθ)|1⟩
The ket |ψ_out⟩ is the final data state up to a global phase. The complex numbers a and b are the original data amplitudes, and the basis states are the same as before. The exponent contains the known sign selected by parity, the imaginary unit i, and the angle θ. Each sign occurs with probability 1/2, independently of the values of the data amplitudes.
A parity result can therefore be used as a classical record of what the circuit actually did. With fresh phase ancillas, successive applications take the cumulative phase forward or backward by θ. The accumulated integer step count follows a symmetric random walk, and the circuit stops when the angle reaches the desired value. The paper gives a tail proportional to the inverse square root of the allowed number of steps for reaching the target integer. When θ is a rational multiple of a full turn, only finitely many distinct angles occur. The walk can then be tracked on a cycle, and the probability of requiring more than the allotted number of steps falls exponentially. Both angles used for universality are of this latter kind.
To obtain the phase ancilla from an H-type state, the authors apply the Clifford phase gate K followed by the Hadamard gate H. K leaves the zero basis state alone and multiplies the one basis state by i. The Hadamard exchanges the Pauli x and z axes under conjugation. In this order their action turns |H⟩ into the equal-magnitude phase state with angle −π/4, up to a physically irrelevant overall phase. The phase gate supplied by this state and the single-qubit Clifford gates generate a dense set of single-qubit unitaries. Adding the available two-qubit Clifford gates gives a universal gate set.
For T-type states, the circuit first prepares a pair of |T⟩ states and measures their joint Pauli z parity. The two basis amplitudes of |T⟩ have different magnitudes, and the amplitude of |1⟩ carries phase π/4. The even-parity branch squares the two amplitudes and doubles the relative phase. It occurs with probability 2/3. The odd-parity branch is discarded, and the operation is repeated with another pair. The average cost of obtaining even parity is three copies of |T⟩. After a controlled-NOT removes the second qubit and a Hadamard acts on the first, the state has the form of the phase ancilla at angle −π/6, up to a global phase. The corresponding phase gate also gives universality with the available Clifford operations.
The symbol T in the distillation proof has a different role from the injected phase gate. It names a particular Clifford operator whose eigenvectors define the T-type basis used in the five-qubit calculation. The injected gate acts on the data. The Clifford operator T is used to align the preparation noise with the target basis and analyze how the code treats input patterns.
T-type distillation with a five-qubit code
After rotating the input so that its best T-type target is |T⟩, the authors call that target |T₀⟩. They use |T₁⟩ for the orthogonal pure state pointing in the opposite direction. These are eigenstates of the Clifford operator T. Its conjugation cycles the Pauli axes, taking x to z, z to y, and y to x. The authors average the input over the identity, T, and the inverse of T. Using each with probability 1/3 implements the dephasing without measuring the input in the magic-state basis.
D_T(ρ) = (ρ + TρT† + T†ρT)/3
The map D_T is the T-basis dephasing operation, ρ is the aligned input, T is the Clifford cycling operator, and T† is its adjoint and inverse. The three terms describe the three Clifford choices. The relative phases of the off-diagonal terms average to zero, while the probabilities of the two eigenstates stay fixed.
ϵ = 1 − ⟨T|ρ|T⟩ = [1 − (ρₓ + ρᵧ + ρ𝓏)/√3]/2
The quantity ϵ is the initial probability of the orthogonal T-type state. The bra and ket in the middle expression select the population of the target state in ρ. The Bloch coordinates in the last expression refer to the input after the choice of orientation, where they can be taken to be non-negative. Their sum divided by √3 is the projection onto the representative T-type direction. The unit term and division by 2 convert this polarization to the error probability.
An elementary round takes five dephased inputs. A binary string labels which of the five qubits are in the target state and which are in its orthogonal partner. The string’s Hamming weight is the number of entries labeled one, so it counts the errors in that term of the mixture. Independence gives each string a probability determined by applying the individual error probability to all the positions marked one and the individual correct probability to all the remaining positions.
The physical checks are the commuting Pauli products of the five-qubit code. An auxiliary check, obtained by multiplying the four generating checks, makes their cyclic pattern explicit.
(S₁, S₂, S₃, S₄) = (σˣ⊗σᶻ⊗σᶻ⊗σˣ⊗I, I⊗σˣ⊗σᶻ⊗σᶻ⊗σˣ, σˣ⊗I⊗σˣ⊗σᶻ⊗σᶻ, σᶻ⊗σˣ⊗I⊗σˣ⊗σᶻ)
The symbols S₁ through S₄ denote the generating checks. In each product, the tensor symbol ⊗ separates operators applied to different qubits in register order. The symbols σˣ and σᶻ are the corresponding Pauli operators, and I acts trivially at the specified position. The block is kept only when every generating check gives +1.
To see which patterns survive, the authors use the fact that applying T to all five qubits preserves the code subspace. This operation acts there as the logical version of T. On a product of T-basis states, its eigenvalue is determined by the number of occurrences of each one-qubit eigenvalue.
T̂|Tₓ⟩ = e^[(iπ/3)(5−2|x|)] |Tₓ⟩
Here T̂ is T applied to every qubit of the block, x is the binary input string, |x| is its Hamming weight, and |Tₓ⟩ is the product of the T-basis states specified by x. The symbol i is the imaginary unit, and π gives the angular unit in the exponential. The exponent counts the contributions from the five factors, changing the sign of the individual phase for every orthogonal-state entry.
Because projection onto the code subspace commutes with T̂, it preserves the eigenvalue whenever the projected vector survives. The logical T operator has eigenvalues exp(+iπ/3) and exp(−iπ/3). Input strings of weight 1 or 4 have eigenvalue −1 and are therefore removed by the projection. Weight 0 and weight 3 can project onto the logical state labeled one. Weight 2 and weight 5 can project onto the logical state labeled zero. The apparent reversal for weight 0 is handled deliberately. After decoding, the authors apply the Clifford operation consisting of a Hadamard followed by Pauli y to swap the two labels. This makes the accepted zero-error input contribute to the desired physical output.
The appendix calculates that a product of all targets, or a product of all orthogonal partners, passes the checks with probability 1/6. It expands the code projector in Pauli products and uses the orthogonality of those products under the trace. To determine the total projection weights of the intermediate patterns, the main argument uses completeness of the product basis. Projecting the resolution of the identity must give the identity on the code subspace. Because the zero-error and all-error weights are already known, this fixes the combined contribution of the intermediate patterns for each logical state.
pₛ = [ϵ^5 + 5ϵ^2(1−ϵ)^3 + 5ϵ^3(1−ϵ)^2 + (1−ϵ)^5]/6
Here pₛ is the probability that a five-qubit block passes the checks. The input error probability is ϵ and the input target probability is 1−ϵ. The terms in the numerator come from weights 5, 2, 3, and 0 in that order. The coefficients and the overall division by 6 include the projection weights obtained from the code. Acceptance includes contributions both from patterns that decode correctly and from patterns that decode to the orthogonal state.
t = ϵ/(1−ϵ)
The variable t is the ratio of input error probability ϵ to input target probability. Factoring out the all-target preparation probability expresses the conditional error compactly in terms of this ratio.
ϵ_out = (t^5 + 5t^2)/(1 + 5t^2 + 5t^3 + t^5)
The symbol ϵ_out is the probability of the orthogonal output conditional on acceptance, including decoding and the final swap. The variable t has the definition above. Its powers label the surviving weights, and the constant term corresponds to the all-target input after the common probability factor is removed. Only the weight 2 and weight 5 contributions are errors after the label swap. The denominator includes every accepted pattern.
This conditional error can serve as the input error of the next round because the output is again diagonal in the same T basis. The protocol works on disjoint groups, rejects failures, and assembles new groups from the retained states. Successive rounds trade quantity for quality. The survival probability determines how many groups can be formed at the next level. The conditional error determines whether forming those groups gives a better state.
H-type distillation with a fifteen-qubit code
The H-type procedure starts from the same organization of independent, dephased inputs, but changes the target orientation and the treatment of the syndrome. It rotates the best H-type direction to the equal-magnitude phase state at angle π/4. The authors call this state |A₀⟩ and call its orthogonal partner |A₁⟩. The Pauli z operator exchanges them. They are the positive and negative eigenstates, respectively, of a Clifford observable A.
A = (σˣ + σʸ)/√2
The symbol A denotes the Hermitian one-qubit operator associated with the target direction. The operators σˣ and σʸ are Pauli matrices, and √2 normalizes their sum so that A has eigenvalues +1 and −1. A is itself a Clifford operation. Averaging over the identity and A dephases the aligned input in the A basis. As in the T-type scheme, this gives a mixture with a target probability and an orthogonal-state probability that are unchanged by the averaging.
The code labels its fifteen qubits by the non-zero inputs to a Boolean function of four variables. A Boolean function supplies a binary vector by evaluating it at all those inputs in a fixed order. The spaces used in the construction come from functions that vanish at the all-zero input. The first space, L₁, comes from linear functions. The second space, L₂, includes the quadratic terms as well. A binary vector specifies an operator by marking the positions at which it should act. Addition and inner products of these vectors use arithmetic modulo 2.
These spaces give a Calderbank–Shor–Steane code, or CSS code. A standard CSS code has two families of checks, one built from Pauli z and the other from Pauli x. Their binary supports are chosen to be mutually orthogonal under the binary inner product. The Pauli strings therefore commute, even though Pauli x and Pauli z anticommute on the same qubit. The authors also consider a rotated version in which the second family uses A in place of Pauli x. A and Pauli z likewise anticommute on a single qubit, so the support condition still gives commuting families.
L₁⊥ = L₂ ⊕ [1]
Here L₁⊥ is the set of binary vectors orthogonal to every element of L₁. The direct sum symbol ⊕ adds the span of the all-ones vector [1] to L₂. Consequently L₁⊥ consists of two disjoint classes, L₂ itself and the class formed by adding [1] to each element of L₂. The analogous identity in the other direction gives L₂⊥ as the direct sum of L₁ and the span of [1]. These relations will let the authors distinguish patterns that contribute to the same syndrome but decode to different logical states.
The rotated X-family checks present a practical question. Their products of A need not be Pauli products, whereas the device measures Pauli observables. The authors first consider the sector in which all the Pauli z checks give the trivial syndrome. Standard basis strings in this sector have binary labels in L₂⊥. On such strings, applying an A check differs from a Pauli x check on the same support by phase factors. The weights and overlaps of the binary supports make those factors cancel. In particular, the weights of words in L₁ are multiples of 8, and their overlap weights with elements of L₂⊥ are multiples of 4. Thus the rotated check and its Pauli counterpart have identical action within that sector.
For a general outcome of the Pauli z checks, the circuit first shifts the state to the trivial sector. It uses a pattern of A operations determined by the measured syndrome. Since A anticommutes with Pauli z, it flips the signs of precisely the z checks whose supports have odd overlap with the pattern. Finding a pattern that realizes the observed signs amounts to solving binary linear equations. The correction commutes with the A checks, so shifting the z syndrome leaves their eigenvalues unchanged. The circuit can then read those eigenvalues using the Pauli x checks.
Distillation accepts any z syndrome for which the corrected block has trivial A syndrome. It leaves the z correction in place, so every accepted block ends in the same code subspace for decoding. This is a different use of the measurement record from the T-type scheme. There, an unexpected check sign is enough to reject the block. Here, part of the record selects a known Clifford operation, and the other part decides whether the corrected block is retained. The input density matrix is diagonal in the product A basis, so those A corrections leave the input density matrix invariant when evaluating the accepted branch probabilities.
The same code-subspace identity reveals a symmetry. A one-qubit rotation W that preserves Pauli z and takes Pauli x to A maps the standard code to the rotated code when applied at every position. Their trivial-syndrome subspaces coincide, so the bitwise W operation preserves the code subspace. The authors identify W as a non-Clifford operation. The distillation circuit accesses the rotated checks through the syndrome-dependent Clifford procedure above. W enters the explanation of the code, while the prescribed operations that prepare the output remain within the exact gate set.
Counting the H-type outcomes
A product of A-basis states is labeled by a binary vector marking positions in |A₁⟩. The eigenvalue of any A check is then the sign given by its binary inner product with that vector. The trivial A syndrome keeps precisely the patterns in L₁⊥. The projector associated with the z checks averages a retained pattern over additions from L₂, because a Pauli z at a marked position swaps the two A-basis states. Each of the two classes in L₁⊥ therefore projects to a different logical state. The class containing the all-zero pattern gives |A₀⟩ after decoding. The other class gives |A₁⟩.
The two projected states can be viewed as normalized uniform superpositions over their respective classes, written in the product A basis. To determine which is which under a Clifford decoder, the paper chooses logical Pauli operators on the code subspace and checks their expectations in the state associated with the all-zero pattern. The expectations match those of the target physical qubit. Decoding maps the logical Pauli operators to the ordinary Pauli operators on one qubit. The spare qubits separate from it and can be discarded. This step establishes the orientation of the distilled state as well as its encoded dimension.
The probability calculation can now use a weight enumerator. This polynomial counts vectors in a binary space by their Hamming weight. It represents the probability of an entire class of patterns when its arguments are chosen to be the probabilities for a target and an orthogonal input.
W_L(x,y) = ∑_{u∈L} x^(n−|u|) y^|u|
In this expression W_L is the weight enumerator of the binary space L, u runs over its vectors, n is the vector length, and |u| gives the number of ones. The variables x and y assign weights to the zero and one positions, respectively. They are polynomial arguments and do not denote the Boolean coordinate functions used to define the code. The exponent of x counts the zeros and the exponent of y counts the ones.
W_L₁(x,y) = x^15 + 15x^7y^8
Here W_L₁ is the enumerator of the space from the linear Boolean functions. The all-zero vector contributes x^15. The other vectors arise from non-zero linear functions, each taking the value one at eight inputs, with the zero input excluded. This gives the second monomial with coefficient 15, with x and y retaining their counting roles.
The success probability is a weight-enumerator evaluation over L₁⊥. The error given acceptance uses the enumerator for the class complementary to L₂ inside that space. Adding the all-ones vector exchanges zeros and ones, so the contribution of the error class can be counted by exchanging the arguments in an evaluation over L₂. The MacWilliams identity converts enumerators of binary spaces to those of their orthogonal spaces. This allows both quantities to be expressed using the simple polynomial for L₁.
pₛ = [1 + 15(1−2ϵ)^8]/16
Here pₛ is the probability of retaining a fifteen-qubit block, with the different z syndromes included, and ϵ is the input probability of |A₁⟩. The factor 1−2ϵ is the difference of the two input probabilities. Its power 8 reflects the weight of the non-zero vectors in L₁. The constants come from the enumerator and the normalization of the syndrome projection.
ϵ_out = [1 − 15(1−2ϵ)^7 + 15(1−2ϵ)^8 − (1−2ϵ)^15] / [2(1 + 15(1−2ϵ)^8)]
The symbol ϵ_out is the conditional probability of |A₁⟩ after decoding, and ϵ again denotes its probability in each independently prepared, dephased input. The numerator and denominator combine the weight-enumerator contributions for the logical classes. The denominator supplies the conditional normalization. The powers reflect the weights and complementary weights that occur in the enumerators. The output is again diagonal in the same basis, allowing successful outputs to serve as inputs to a further round.
Budgeting distillation for a circuit
Universality with pure resource states establishes which operations can be approximated. Efficient universality from noisy preparations also requires an accounting of the resources needed as the circuit grows. The authors consider a circuit expressed using Clifford gates and one of the injected phase gates. They cap the number of magic states spent on each non-Clifford gate. A run is aborted if an injection exceeds its cap. The rational angles make long injection runs exponentially unlikely, so this cap can grow logarithmically with the number of opportunities for an abort.
pₐ ∼ L exp(−αK)
The quantity pₐ is the probability of an abort somewhere in the circuit in the small-abort regime, L is the number of non-Clifford gates, K is the budget of magic states per gate, and α is a positive constant describing the exponential tail. The symbol ∼ denotes the scaling estimate. The budget K in this estimate is distinct from the Clifford gate named K in the preparation circuit. When L times the exponential is small, the leading contribution comes from the probability of a rare cap overrun at any one gate.
ϵ_out ∼ 1/(L log L)
Here ϵ_out is the target error per distilled magic state, L is the number of simulated non-Clifford gates, and log denotes a logarithm. The relation gives the scale of precision needed. Each gate can use a logarithmic number of imperfect states. The authors allow gate error of order 1/L because the worst-case accumulated error grows linearly in the number of faulty gates. The inverse factor of log L accounts for the number of magic states available to each gate simulation.
The improving part of either distillation recursion makes the error fall rapidly once it becomes small. Round acceptance reduces the supply, while error suppression reduces the number of rounds required. To establish efficiency, the paper relates the number of raw preparations to the required precision and then substitutes the precision needed for a circuit. The cost is therefore measured from physical preparation requests through successful state production to the non-Clifford gate budget. A low conditional error and a favorable success probability each address a different part of that accounting.
Experiments and results
What is measured
The main evidence comes from exact probability calculations, plots of the resulting functions, and a numerical solution of the H-type threshold equation. The preparations in the analysis are independent copies of a single state ρ. There is no empirical dataset or split. The baseline for a distillation round is its own input error. A round is useful for recursive improvement where the error of the retained output is lower. The point at which the two errors agree determines the threshold for that update. Block acceptance is measured separately because quality conditional on acceptance says little about how many raw preparations were needed to obtain an output.
The paper also gives a different baseline based on the octahedron. This establishes how much fidelity to a target family can be obtained by mixtures of Pauli eigenstates. An achieved threshold exceeding that bound leaves room for a different protocol to improve on it. The comparison is between a sufficient condition for the proposed distillation procedure and a restriction from the set of states that ideal stabilizer operations can already prepare.
Threshold input error for distillation from independent dephased ancillas
The T-type scheme tolerates a higher input error in its target basis.
The numbers
| System or setting | input error probability |
|---|---|
| H-type fifteen-qubit protocol | 0.141 |
| T-type five-qubit protocol (this paper) | 0.173 |
The chart compares the nontrivial fixed points of the two elementary update rules. Each input error is the probability of the orthogonal state in that protocol’s own target basis after alignment and dephasing. The figures are approximate, and improvement requires a strict inequality. The comparison ranks the thresholds on this metric. A raw state can have different overlaps with the two target families, so the applicable protocol depends on the full polarization vector.
Fixed points, fidelities, and polarization
For the T-type procedure, the authors solve for the nontrivial fixed point exactly.
ϵ₀ = [1 − √(3/7)]/2 ≈ 0.173
The symbol ϵ₀ is the threshold on the input error in the five-qubit procedure. The square root comes from solving for equality of the input and conditional output error. The final decimal is the paper’s approximation of this probability. Below it, recursively applying the accepted update drives the error towards zero. At the threshold the update leaves the error unchanged. Above it the recursion moves towards the maximally mixed state, whose error in the target basis is 1/2.
F_T = √{[1 + √(3/7)]/2} ≈ 0.910
Here F_T is the threshold fidelity to the T-type family, expressed using the square-root convention. The inner expression is the target-state population at the threshold. A maximum fidelity F_T(ρ) strictly greater than this value gives the T-type universality guarantee. The threshold projection onto a corresponding T direction is approximately 0.655. The paper gives these different forms because the same condition can be read from the error probability, the target fidelity, or the polarization.
For the H-type procedure, solving for the nontrivial fixed point numerically gives an initial error threshold of approximately 0.141. In terms of maximum H-type fidelity, the guarantee starts above F_H of roughly 0.927. In geometric terms, it starts above a projection of roughly 0.718 onto one of the H-type directions. The H-type update likewise improves sufficiently good inputs on its own side of the threshold. Figure 3 shows the conditional error as a function of input error, so the fixed point has the same interpretation as in the T-type plot.
The lower-bound comparison uses maximum fidelities within the octahedron. For the T-type family that value is roughly 0.888, compared with the achieved threshold of approximately 0.910. For the H-type family it is roughly 0.924, compared with approximately 0.927. These are fidelity values, rather than probabilities of an orthogonal component. In the T case, the fidelity bound has an additional geometric interpretation. The collection of states whose best T-type fidelity is at most that bound is exactly the octahedron. Reaching the bound with a T-type protocol would therefore address the entire outside region.
Yield and cost at high precision
Figure 2 also shows what the five-qubit procedure costs in acceptance. As the input error runs from 0 to 1/2, the success probability decreases from 1/6 to 1/16. In the small-error regime it is close to 1/6, and the paper estimates a yield near 1/30 per incoming state for one level of grouping and postselection. The conditional output error at small input error is approximately 5ϵ². Quadratic suppression and a fractional yield operate at every level. The combined analysis gives a power ξ of approximately 0.2 in the stretched-exponential scaling of final error with raw input count.
For the fifteen-qubit procedure, acceptance approaches certainty when the input error is small, so the yield in this regime is close to 1/15. The conditional output error is approximately 35ϵ³. The cubic suppression reflects the first surviving error contributions after conditioning on the syndrome. With roughly constant yield in the small-error regime, the paper obtains a power ξ of approximately 0.4 for the corresponding scaling of error with the number of raw inputs. These are asymptotic results for operating within the convergence region. The polynomial approximations to a single round and the near-target yields describe the part of the recursion where its inputs are already accurate.
The authors make the circuit-level cost explicit for the H-type case.
n ∼ [log(1/ϵ_out)]^γ
The quantity n counts raw auxiliary states for one H-type output at target error ϵ_out. The exponent γ is the logarithm of 15 to base 3, roughly 2.5. The base comes from the cubic error reduction and the argument from the fifteen-qubit grouping at near-unit acceptance. The symbol ∼ denotes the asymptotic scaling used in the paper.
N ∼ L(log L)^(γ+1)
The symbol N counts all raw auxiliary states in the H-type circuit estimate, L counts the non-Clifford gates, and γ is the exponent just defined. The additional logarithmic factor in the exponent accounts for the magic-state budget per gate. In the estimate the errors of the supplied magic states are set to the scale required by the circuit-wide error analysis. This is the resource result that connects the distillation thresholds to efficient simulation of universal quantum computation.
What the ablations show
The paper reports no formal ablations and instead examines the surviving error patterns, the effects of input quality on acceptance and output error, and numerical behavior for some alternative T-type codes.
The error-pattern calculations explain why the distillation maps have different low-error behavior. In the five-qubit protocol, the symmetry under bitwise application of T gives each product pattern an eigenvalue. The code only admits the logical eigenvalues, so a single orthogonal input has zero projection onto the accepted subspace. The first erroneous output contribution comes from a pair of orthogonal inputs. This accounts for the quadratic leading term. The calculation relies on how the input basis transforms under the code symmetry. Reading the minimum distance of the code alone would leave out how an accepted product pattern becomes a logical state.
The five-qubit acceptance curve explains a separate cost. Even a block of perfect T-type inputs has only a certain probability of landing in the code subspace. The failure probability therefore includes the intrinsic probability of projecting a product input onto that subspace. It cannot be interpreted as the frequency of bad input preparations. The proof makes this distinction concrete by calculating the all-target projection probability directly. It then uses completeness to determine the contribution of the other patterns without having to reconstruct each individual weight-two or weight-three projection.
In the fifteen-qubit scheme, the first check family sorts blocks into z sectors. The Clifford correction moves each sector to the same place for reading the second family of checks. A nontrivial z result and a nontrivial A result have different consequences because the former can be removed while preserving the information in the latter. The binary-space calculation identifies exactly which error patterns pass the decisive A check, and the two logical classes determine the accepted output. This explains the cubic error term together with near-unit acceptance at low error. The paper does not run a separate quantitative comparison with a version in which some of the usable z outcomes are rejected.
The two update curves separate behavior near a pure input from behavior near a threshold. A higher-order leading term describes how quickly an already accurate input improves. The threshold measures how far from the target the input can start and still move in the improving direction. The H-type scheme has the higher-order suppression and the more favorable yield at low error, while the T-type scheme has the more permissive threshold when both are measured in their respective input error coordinates. Choosing between them from an arbitrary raw state also requires knowing its projection onto each family.
The authors consider whether the five-qubit code could be replaced by a larger code with similar symmetry. They discuss stabilizer codes defined using linearity over GF(4), the finite field with four elements. Such codes can have the property that bitwise T preserves the code space and acts as logical T. They identify a family of suitable block lengths in which the same error-rejection mechanism applies. Their report also includes results from numerical simulations of selected codes at n = 11 and n = 17. Here n is the number of qubits per block. The reported trend is toward a higher required input fidelity for the larger blocks tested. The paper offers this as evidence about those examples and conjectures that the five-qubit code may be the best choice for distillation within this class. It gives no numerical threshold values for those examples.
Limitations
Limits identified by the authors
The main open question is the behavior of states outside the stabilizer octahedron that fall short of the known distillation guarantees. Within the octahedron, the authors can invoke a classical simulation because the auxiliary preparation is a mixture of available stabilizer states. Beyond it, that argument ceases to apply. The five-qubit procedure still requires a stronger T-type overlap than merely crossing the octahedron boundary. The separate H-type criterion gives another sufficient condition. Together, these results leave states unclassified. The paper emphasizes that putting the T-type threshold at the stabilizer bound would suffice to resolve the proposed transition at the boundary.
The authors treat the two achieved thresholds as properties of their particular constructions. The lower bounds are derived from stabilizer mixtures. For any stricter threshold reached by an explicit protocol, the interval between these quantities still has to be understood. The observation that a larger code preserves the same logical operation helps explain how to search for alternatives. Its symmetry gives neither its full acceptance polynomial nor its convergence threshold. The numerical trend from selected larger codes leaves open what can be done with other codes and with other Clifford distillation procedures.
The authors also identify a physical open problem. A system would have to provide reliable storage and the required Clifford processing. Although the paper motivates this arrangement with topology, it leaves open which anyon types could provide the full Clifford set in the required form while leaving the gate set incomplete. The paper’s example is a mathematical account of how to use such an operation set if available. The discussion of encoded implementations explains a possible origin for highly accurate Clifford operations and the further need for an encoded auxiliary preparation.
Limits of the assumptions and estimates
The high preparation thresholds apply only to the auxiliary state. Every syndrome measurement, decoder, Clifford correction, and storage interval is exact by assumption. In a device where these operations also fail, they can introduce additional errors at each level of the recursion. The numerical thresholds in the paper specify how much orthogonal-state weight the starting auxiliary qubits can carry under the exact-operation conditions. A threshold on arbitrary physical gates or a whole processor would require a separate calculation that propagates the errors in all those steps.
Independence is equally important. The probability formulas assign a weight to a product pattern using the same single-qubit error probability at every position. Correlated preparations could change the probabilities of the very patterns that survive. For example, the rejection of a single orthogonal input controls the leading term because independent preparations make simultaneous orthogonal inputs less likely at low error. With correlations, the single-qubit polarization alone would leave the probability of simultaneous errors undetermined. The paper’s threshold conditions are therefore formulated for repeated independent preparations of the same state.
The asymptotic yield estimates also use a regime in which inputs are already close to the target, and the recursion estimates neglect fluctuations in the number of accepted blocks. The exact one-round probabilities give the behavior at specified input errors, including the region closer to threshold. A finite circuit budget at a specified starting fidelity would also depend on how many rounds it takes to enter the small-error regime and how much margin is needed for variable acceptance. The resource scaling establishes efficient growth as circuit size increases for inputs on the favorable side of a threshold. The constants in a practical preparation budget can depend on where those inputs start.
Finally, the classical and quantum conclusions answer different operational questions. Efficient classical simulation refers to sampling the outcomes of the allowed adaptive computation on a classical probabilistic computer. The positive quantum result gives a construction for approximating a universal circuit using the stated preparations and exact operations. Neither conclusion determines the capabilities of an input lying outside its proof conditions. The unresolved region is where the two available arguments stop giving classifications.
What came after
The later survey Quantum algorithms: A survey of applications and end-to-end complexities cites Bravyi and Kitaev’s paper. The survey’s stated subject places the citation in the broader question of end-to-end quantum algorithm costs. Bravyi and Kitaev address a specific part of that question by connecting raw state preparation, postselected purification, and the supply of non-Clifford gates needed by a circuit.
The citation establishes a connection to that broader survey. The nature of any particular reuse, such as a resource estimate based on either of the paper’s codes or an extension of a threshold result, is unspecified.
Cite
Cite as Sergey B. Bravyi and Alexei Kitaev. 2005. Universal quantum computation with ideal Clifford gates and noisy ancillas. Physical Review A.
@article{bravyi2005universal,
title = {{Universal quantum computation with ideal Clifford gates and noisy ancillas}},
author = {Sergey B. Bravyi and Alexei Kitaev},
journal = {Physical Review A},
year = {2005},
doi = {10.1103/physreva.71.022316},
eprint = {quant-ph/0403025},
archivePrefix = {arXiv},
url = {https://doi.org/10.1103/physreva.71.022316}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bravyi-2005-universal-quantum-computation-ideal-clifford/