Professional Documents
Culture Documents
Universal quantum computation with ideal Clifford gates and noisy ancillas
Sergey Bravyi* and Alexei Kitaev†
Institute for Quantum Information, California Institute of Technology, Pasadena, 91125 California, USA
共Received 6 May 2004; published 22 February 2005兲
We consider a model of quantum computation in which the set of elementary operations is limited to
Clifford unitaries, the creation of the state 兩0典, and qubit measurement in the computational basis. In addition,
we allow the creation of a one-qubit ancilla in a mixed state , which should be regarded as a parameter of the
model. Our goal is to determine for which universal quantum computation 共UQC兲 can be efficiently simu-
lated. To answer this question, we construct purification protocols that consume several copies of and
produce a single output qubit with higher polarization. The protocols allow one to increase the polarization
only along certain “magic” directions. If the polarization of along a magic direction exceeds a threshold value
共about 65%兲, the purification asymptotically yields a pure state, which we call a magic state. We show that the
Clifford group operations combined with magic states preparation are sufficient for UQC. The connection of
our results with the Gottesman-Knill theorem is discussed.
tions from the basis O?兲 The images of 兩T典 and 兩H典 under the action of one-qubit
The main question that we address in this paper is as Clifford operators are called magic states of T type and H
follows: For which density matrices can one efficiently type, respectively.
simulate universal quantum computation by adaptive compu- 关This notation is chosen since 兩H典 and 兩T典 are eigenvectors
tation in the basis O? of certain Clifford group operators: the Hadamard gate H and
It will be convenient to use the Bloch sphere representa- the operator usually denoted T, see Eq. 共7兲.兴 Denote the one-
tion of one-qubit states: qubit Clifford group by C1. Overall, there are 8 magic states
of T type, 兵U兩T典 , U 苸 C1其 共up to a phase兲 and 12 states of H
= 21 共I + xx + yy + zz兲.
type, 兵U兩H典 , U 苸 C1其, see Fig. 1. Clearly, the polarization vec-
The vector 共x , y , z兲 will be referred to as the polarization tors of magic states are in one-to-one correspondence with
vector of . Let us first consider the subset of states satisfy- rotational symmetry axes of the octahedron O 共H-type states
ing correspond to 180° rotations and T-type states correspond to
兩x兩 + 兩y兩 + 兩z兩 艋 1. 120° rotations兲. The role of magic states in our construction
is twofold. First, adaptive computation in the basis Oideal
This inequality says that the vector 共x , y , z兲 lies inside the together with the preparation of magic states 共of either type兲
octahedron O with vertices 共±1, 0, 0兲, 共0, ±1, 0兲, 共0, 0, ±1兲, allows one to simulate UQC 共see Sec. III兲. Second, by adap-
022316-2
UNIVERSAL QUANTUM COMPUTATION WITH IDEAL… PHYSICAL REVIEW A 71, 022316 共2005兲
tive computation in the basis Oideal one can “purify” imper- from 0.910 down to FT* = 0.888. From a practical perspective,
fect magic states. It is a rather surprising coincidence that the difference between these two numbers is not important.
one and the same state can comprise both of these properties, On the other hand, such an improvement would be of
and that is the reason why we call them magic states. great theoretical interest. Indeed, if Theorem 2 with FT re-
More exactly, a magic state distillation procedure yields placed by FT* is true, it would imply that the Gottesman-Knill
one copy of a magic state 共with any desired fidelity兲 from theorem provides necessary and sufficient conditions for the
several copies of the state , provided that the initial fidelity classical simulation, and that a transition from classical to
between and the magic state to be distilled is large enough. universal quantum behavior occurs at the boundary of the
In the course of distillation, we use only operations from the octahedron O. This kind of transition has been discussed in
set Oideal. By constructing two particular distillation context of a general error model 关21兴. Our model is simpler,
schemes, for T-type and H-type magic states, respectively, which gives hope for sharper results.
we prove the following theorems. By the same argument, one can show that the quantity
冋 冉 冑 冊册
Theorem 2. Let FT共兲 be the maximum fidelity between def 1/2
= max冑具H兩兩H典 =
and a T-type magic state, i.e., 1 1
*
FH 1+ ⬇ 0.924
FT共兲 = max 冑具T兩U U兩T典.
† 苸O 2 2
U苸C1 is a lower bound on the threshold fidelity FH for any protocol
Adaptive computation in the basis O = Oideal 艛 兵其 allows one distilling H-type magic states.
to simulate universal quantum computation whenever A similar approach to UQC simulation was suggested in
冋 冉 冑 冊册
Ref. 关22兴, where Clifford group operations were used to dis-
1/2
1 3 till the entangled three-qubit state 兩000典 + 兩001典 + 兩010典
F T共 兲 ⬎ F T = 1+ ⬇ 0.910. + 兩100典, which is necessary for the realization of the Toffoli
2 7
gate.
Theorem 3. Let FH共兲 be the maximum fidelity between The rest of the paper is organized as follows. Section II
and an H-type magic state, contains some well-known facts about the Clifford group and
FH共兲 = max 冑具H兩U†U兩H典.
stabilizer formalism, which will be used throughout the pa-
U苸C1 per. In Sec. III we prove that magic states together with
operations from Oideal are sufficient for UQC. In Sec. IV
Adaptive computation in the basis O = Oideal 艛 兵其 allows one ideal magic are substituted by faulty ones and the error rate
to simulate universal quantum computation whenever that our simulation algorithm can tolerate is estimated. In
FH共兲 ⬎ FH ⬇ 0.927. Sec. V we describe a distillation protocol for T-type magic
states. This protocol is based on the well-known five-qubit
The quantities FT and FH have the meaning of threshold quantum code. In Sec. VI a distillation protocol for H-type
fidelity since our distillation schemes increase the polariza- magic states is constructed. It is based on a certain CSS
tion of , converging to a magic state as long as the inequali- stabilizer code that encodes one qubit into 15 and admits a
ties FT共兲 ⬎ FT or FH共兲 ⬎ FH are fulfilled. If they are not nontrivial automorphism 关23兴. Specifically, the bitwise appli-
fulfilled, the process converges to the maximally mixed state. cation of a certain non-Clifford unitary operator preserves the
The conditions stated in the theorems can also be understood code subspace and effects the same operator on the encoded
in terms of the polarization vector 共x , y , z兲. Indeed, let us qubit. We conclude with a brief summary and a discussion of
associate a “magic direction” with each of the magic states. open problems.
Then Theorems 2 and 3 say that the distillation is possible if
there is a T direction such that the projection of the vector
共x , y , z兲 onto that T direction exceeds the threshold value II. CLIFFORD GROUP, STABILIZERS, AND SYNDROME
of 2FT2 − 1 ⬇ 0.655, or if the projection on some of the H MEASUREMENTS
directions is greater than 2FH 2
− 1 ⬇ 0.718.
Let Cn denote the n-qubit Clifford group. Recall that it is a
Let us remark that, although the proposed distillation
finite subgroup of U共2n兲 generated by the Hadamard gate H
schemes are probably not optimal, the threshold fidelities FT
共applied to any qubit兲, the phase-shift gate K 共applied to any
and FH cannot be improved significantly. Indeed, it is easy to
qubit兲, and the controlled-not gate ⌳共x兲 共which may be ap-
check that the octahedron O corresponding to probabilistic
mixtures of stabilizer states can be defined as plied to any pair qubits兲,
where
O = 兵:FT共兲 艋 FT* 其, H= 冉 冊
1 1 1
冑2 1 − 1 , K= 冉 冊
1 0
0 i
, ⌳共x兲 = 冉 冊
I
0 x
0
.
冋 冉 冑 冊册 1/2
共1兲
1 1
FT* = 1+ ⬇ 0.888. The Pauli operators x , y , z belong to C1, for instance, z
2 3
= K2 and x = HK2H. The Pauli group P共n兲 傺 Cn is generated
It means that FT* is a lower bound on the threshold fidelity FT by the Pauli operators acting on n qubits. It is known 关24兴
for any protocol distilling T-type magic states. Thus any po- that the Clifford group Cn augmented by scalar unitary op-
tential improvement to Theorem 2 may only decrease FT erators eiI coincides with the normalizer of P共n兲 in the uni-
022316-3
S. BRAVYI AND A. KITAEV PHYSICAL REVIEW A 71, 022316 共2005兲
冉冊 冉冊
commutes with all previously measured stabilizers
S1 , … , S j−1 共for all possible values of 1 , … , j−1 and coin
兩H典 = cos 兩0典 + sin 兩1典. 共3兲
tossing outcomes兲. Adaptive syndrome measurement has 8 8
been used in Ref. 关25兴 to distill entangled states of a bipartite
system by local operations. Note that HK兩H典 = ei/8兩A−/4典. So if we are able to prepare
the state 兩H典, we can realize the operator ⌳共e−i/4兲. It does
not belong to the Clifford group. Moreover, the subgroup of
III. UNIVERSAL QUANTUM COMPUTATION WITH U共2兲 generated by ⌳共e−i/4兲 and C1 is dense in U共2兲. 1 Thus
MAGIC STATES
the operators from C1 and C2 together with ⌳共e−i/4兲 consti-
In this section, we show that operations from Oideal are tute a universal basis for quantum computation.
sufficient for universal quantum computation if a supply of The magic state 兩T典 can be explicitly written in the stan-
ideal magic states is also available. First, consider a one- dard basis:
qubit state
1
兩A典 = 2−1/2共兩0典 + ei兩1典兲 共2兲 Recall that the action of the Clifford group C1 on the set of
operators ±x, ±y, ±z coincides with the action of rotational sym-
and suppose that is not a multiple of / 2. We now describe metry group of a cube on the set of unit vectors ±ex, ±ey, ±ez,
a procedure that implements the phase shift gate respectively.
022316-4
UNIVERSAL QUANTUM COMPUTATION WITH IDEAL… PHYSICAL REVIEW A 71, 022316 共2005兲
兩⌿3典 = H兩⌿2典 = 2−1/2ei␥共兩0典 + e−2i␥兩1典兲 = 兩A−/6典. Since the whole simulation requires KL ⬃ L ln L copies of
the distilled 兩H典 state, we need
We can use this state as described above to realize the op-
erator ⌳共e−i/6兲. It is easy to check that Clifford operators N ⬃ L共ln L兲␥+1
together with ⌳共e−i/6兲 constitute a universal set of unitary raw ancillas overall.
gates. Summarizing, the simulation theorems stated in the intro-
Thus we have proved that the sets of operations duction follow from the following results 共the last one will
Oideal 艛 兵兩H典其 and Oideal 艛 兵兩T典其 are sufficient for universal be proved later兲:
quantum computation. 共i兲 the circuits described in Sec. III allow one to simulate
UQC with the sets of operations Oideal 艛 兵兩H典其 and
Oideal 艛 兵兩T典其;
IV. ERROR ANALYSIS 共ii兲 these circuits work reliably enough if the states 兩H典
To establish a connection between the simulation algo- and 兩T典 are slightly noisy, provided that the error rate does
rithms described in Sec. III and the universality theorems not exceed ⑀out ⬃ 1 / 共L ln L兲;
stated in the introduction we have to substitute ideal magic 共iii兲 a magic state having an error rate ⑀out can be pre-
states by faulty ones. Before doing that let us discuss the pared from copies of the raw ancillary state using the dis-
ideal case in more detail. Suppose that a quantum circuit to tillation schemes provided that FT共兲 ⬎ FT or FH共兲 ⬎ FH.
be simulated uses a gate basis in which the only non-Clifford The distillation requires resources that are polynomial in
gate is the phase shift ⌳共e−i/4兲 or ⌳共e−i/6兲. One can apply ln L.
the algorithm of Sec. III to simulate each non-Clifford gate
V. DISTILLATION OF T-TYPE MAGIC STATES
independently. To avoid fluctuations in the number of magic
states consumed at each round, let us set a limit of K magic Suppose we are given n copies of a state , and our goal
states per round, where K is a parameter to be chosen later. is to distill one copy of the magic state 兩T典. The polarization
As was pointed out in Sec. III, the probability for some par- vector of can be brought into the positive octant of the
ticular simulation round to “run out of budget” scales as Bloch space by a Clifford group operator, so we can assume
exp共−␣K兲 for some constant ␣ ⬎ 0. If at least one simulation that
round runs out of budget, we declare a failure and the whole x, y, z 艌 0.
simulation must be aborted. Denote the total number of non-
Clifford gates in the circuit by L. The probability pa for the In this case, the fidelity between and 兩T典 is the largest one
whole simulation to be aborted can be estimated as among all T-type magic states, i.e.,
pa ⬃ 1 − 关1 − exp共− ␣K兲兴L ⬃ L exp共− ␣K兲 Ⰶ 1, FT共兲 = 冑具T兩兩T典.
provided that L exp共−␣K兲 Ⰶ 1. We will assume A related quantity,
K ⲏ ␣−1ln L, 2
This fault tolerance does not require any redundancy in the
so the abort probability can be neglected. implementation of the circuit 共e.g., the use of concatenated codes兲.
Each time the algorithm requests an ideal magic state, it It is achived automatically because in the worst case the error prob-
actually receives a slightly nonideal one. Such nearly perfect ability accumulates linearly in the number of gates. In our model
magic states must be prepared using the distillation methods only non-Clifford gates are faulty.
022316-5
S. BRAVYI AND A. KITAEV PHYSICAL REVIEW A 71, 022316 共2005兲
⑀ = 1 − 具T兩兩T典 =
1
1−冋 1
冑3 共x + y + z兲 , 册 T兩T0典 = e+i/3兩T0典, T兩T1典 = e−i/3兩T1典,
冋 册
2
1 1 x
兩T0,1典具T0,1兩 =
冑3 共 + + 兲 .
y z
will be called the initial error probability. By definition, 0 I±
2
艋 ⑀ 艋 1 / 2.
The output of the distillation algorithm will be some one- def
qubit mixed state out. To quantify the proximity between out Note that 兩T0典 = 兩T典 and 兩T1典 = yH兩T0典 are T-type magic
and 兩T典, let us define a final error probability: states.
Let us apply a dephasing transformation,
⑀out = 1 − 具T兩out兩T典.
It will be certain function of n and ⑀. The asymptotic behav- 1
D共兲 = 共 + TT† + T†T兲, 共9兲
ior of this function for n → ⬁ reveals the existence of a 3
threshold error probability, to each copy of the state . The transformation D can be
⑀0 =
1
2
冉 冑冊
1−
3
7
⬇ 0.173,
realized by applying one of the operators I , T , T−1 chosen
with probability 1 / 3 each. Since
D共兩T0典具T1兩兲 = D共兩T1典具T0兩兲 = 0,
such that for ⑀ ⬍ ⑀0 the function ⑀out共n , ⑀兲 converges to zero.
We will see that for small ⑀, we have
n
⑀out共n, ⑀兲 ⬃ 共5⑀兲 , = 1/log2 30 ⬇ 0.2. 共6兲 D共兲 = 共1 − ⑀兲兩T0典具T0兩 + ⑀兩T1典具T1兩. 共10兲
On the other hand, if ⑀ ⬎ ⑀0, the output state converges to the We will assume that the dephasing transformation is applied
maximally mixed state, i.e., limn→⬁⑀out共n , ⑀兲 = 1 / 2. at the very first step of the distillation, so has the form 共10兲.
Before coming to a detailed description of the distillation Thus the initial state for the elementary distillation subrou-
algorithm, let us outline the basic ideas involved in its con- tine is
struction. The algorithm recursively iterates an elementary
distillation subroutine that transforms five copies of an im- in = 丢 5 = 兺 ⑀兩x兩共1 − ⑀兲5−兩x兩兩Tx典具Tx兩, 共11兲
perfect magic state into one copy having a smaller error x苸兵0,1其5
probability. This elementary subroutine involves a syndrome
where x = 共x1 , … , x5兲 is a binary string, 兩x兩 is the number of
measurement for certain commuting stabilizers S1 , S2 , S3 , S4
1’s in x, and
苸 S共5兲. If the measured syndrome 共1 , 2 , 3 , 4兲 is non-
trivial 共 j = −1 for some j兲, the distillation attempt fails and def
the reduced state is discarded. If the measured syndrome is 兩Tx典 = 兩Tx1典 丢 ¯ 丢 兩Tx5典.
trivial 共 j = 1 for all j兲, the distillation attempt is successful.
The stabilizers S1 , … , S4 to be measured on the state in
Applying a decoding transformation 共a certain Clifford op-
correspond to the famous five-qubit code, see Refs. 关26,27兴.
erator兲 to the reduced state, we transform it to a single-qubit
They are defined as follows:
state. This qubit is the output of the subroutine.
Our construction is similar to concatenated codes used in S1 = x 丢 z 丢 z 丢 x 丢 I,
many fault-tolerant quantum computation techniques, but it
differs from them in two respects. First, we do not need to
S2 = I 丢 x 丢 z 丢 z 丢 x ,
correct errors—it suffices only to detect them. Once an error
has been detected, we simply discard the reduced state, since
it does not contain any valuable information. This allows us S3 = x 丢 I 丢 x 丢 z 丢 z ,
to achieve higher threshold error probability. Second, we do
not use quantum codes in the way for which they were origi- S4 = z 丢 x 丢 I 丢 x 丢 z . 共12兲
nally designed: in our scheme, the syndrome is measured on
This code has a cyclic symmetry, which becomes explicit if
a product state.
we introduce an auxiliary stabilizer, S5 = S1S2S3S4 = z 丢 z
The state 兩T典 is an eigenstate for the unitary operator
丢 x 丢 I 丢 x. Let L be the two-dimensional code subspace
T = ei/4KH = 冉 冊
ei/4 1 1
冑2 i − i 苸 C 1 . 共7兲
specified by the conditions S j兩⌿典 = 兩⌿典, j = 1,…, 4, and ⌸ be
the orthogonal projector onto L:
4
Note that T acts on the Pauli operators as follows:3 1
⌸=
16 j=1
兿
共I + S j兲. 共13兲
T xT † = z, T zT † = y , T yT† = x . 共8兲
We will denote its eigenstates by 兩T0典 and 兩T1典, so that It was pointed out in Ref. 关16兴 that the operators
3
X̂ = 共x兲 丢 5, Ŷ = 共y兲 丢 5, Ẑ = 共z兲 丢 5 ,
The operator denoted by T in Ref. 关16兴 does not coincide with
our T. They are related by the substitution T → e−i/4T† though. and
022316-6
UNIVERSAL QUANTUM COMPUTATION WITH IDEAL… PHYSICAL REVIEW A 71, 022316 共2005兲
冦 冧
In the Appendix we show that 6−1/2兩TL1 典, if 兩x兩 = 0,
0, if 兩x兩 = 1,
1
具T00000兩⌸兩T00000典 = 具T11111兩⌸兩T11111典 = , 共15兲 ax兩TL0 典, if 兩x兩 = 2,
6 ⌸兩Tx典 = 共19兲
bx兩TL1 典, if 兩x兩 = 3,
so that the states 兩TL0 典
and 兩TL1 典
are normalized. Taking into
0, if 兩x兩 = 4,
account that 关T̂ , ⌸兴 = 0 and that
6 −1/2
兩TL0 典, if 兩x兩 = 5.
i共/3兲共5−2兩x兩兲
T̂兩Tx典 = e 兩Tx典 for all x 苸 兵0,1其 , 5
共16兲 Here the coefficients ax , bx depend upon x in some way. The
output state 共18兲 can now be written as
冋 册
we get
1 5 2
T̂兩TL1 典 = 冑6T̂⌸兩T00000典 = 冑6⌸T̂兩T00000典 = e−i/3兩TL1 典. s = ⑀ + ⑀ 共1 − ⑀兲3 兺
兩ax兩2 兩TL0 典具TL0 兩
6 x:兩x兩=2
冋 册
Analogously, one can check that
1
T̂兩TL0 典 =e +i/3
兩TL0 典.
+
6
共1 − ⑀兲5 + ⑀3共1 − ⑀兲2 兺
兩bx兩2 兩TL1 典具TL1 兩. 共20兲
x:兩x兩=3
It follows that T̂ is exactly the logical operator T, including To exclude the unknown coefficients ax and bx, we can use
the overall phase, and 兩TL0 典 and 兩TL1 典 are the logical states 兩T0典 the identity
and 兩T1典 共up to some phase factors, which are not important
for us兲. Therefore we have 兩TL0 典具TL0 兩 + 兩TL1 典具TL1 兩 = ⌸ = 兺 ⌸兩Tx典具Tx兩⌸.
冋 册
x苸兵0,1其5
1 1
兩T0,1 典具T0,1 兩=⌸ Substituting Eq. 共19兲 into this identity, we get
冑3 共X̂ + Ŷ + Ẑ兲 . 共17兲
L L
I±
2
5
Now we are in a position to describe the syndrome mea- 兺 兩ax兩2 = 兺 兩bx兩2 = .
6
surement performed on the state in. The unnormalized re- x:兩x兩=2 x:兩x兩=3
duced state corresponding to the trivial syndrome is as fol- So the final expression for the output state s is as follows:
冋 册 冋 册
lows:
⑀5 + 5⑀2共1 − ⑀兲3 L L 共1 − ⑀兲5 + 5⑀3共1 − ⑀兲2
s = 兩T0 典具T0 兩 +
s = ⌸in⌸ = 兺 ⑀兩x兩共1 − ⑀兲5−兩x兩⌸兩Tx典具Tx兩⌸, 共18兲 6 6
x苸兵0,1其5
⫻兩TL1 典具TL1 兩. 共21兲
see Eq. 共11兲. The probability for the trivial syndrome to be
Accordingly, the probability to observe the trivial syndrome
observed is
is
ps = Tr s . ⑀5 + 5⑀2共1 − ⑀兲3 + 5⑀3共1 − ⑀兲2 + 共1 − ⑀兲5
ps = . 共22兲
Note that the state ⌸兩Tx典 is an eigenvector of T̂ for any x 6
苸 兵0 , 1其5. But we know that the restriction of T̂ on L has A decoding transformaion for the five-qubit code is a uni-
eigenvalues e±i/3. At the same time, Eq. 共16兲 implies that tary operator V 苸 C5 such that
022316-7
S. BRAVYI AND A. KITAEV PHYSICAL REVIEW A 71, 022316 共2005兲
⑀0 = 冉 冑冊
1
2
1−
3
7
.
= u iv i.
A systematic way of constructing stabilizer codes was
suggested by Calderbank, Shor, and Steane, see Refs.
If ⑀ ⬍ ⑀0, we can recursively iterate the elementary distilla- 关28,29兴. Codes that can be described in this way will be
tion subroutine to produce as good an approximation to the referred to as standard CSS codes. In addition, we consider
022316-8
UNIVERSAL QUANTUM COMPUTATION WITH IDEAL… PHYSICAL REVIEW A 71, 022316 共2005兲
their images under an arbitrary unitary transformation V strange behavior. We now come to an explicit description of
苸 U共2兲 applied to every qubit. Such “rotated” codes will be this code.
called CSS codes. Consider a function f of four Boolean variables. Denote
Definition 2. Consider a pair of one-qubit Hermitian op- by 关f兴 苸 F15
2 the table of all values of f except f共0000兲. The
erators A , B such that table is considered as a binary vector, i.e.,
A2 = B2 = I, AB = − BA,
关f兴 = „f共0001兲, f共0010兲, f共0011兲,…, f共1111兲….
and a pair of binary vector spaces LA , LB 債 Fn2, such that
Let L1 be the set of all vectors 关f兴, where f is a linear func-
共u, v兲 = 0 for all u 苸 LA, v 苸 LB . tion satisfying f共0兲 = 0. In other words, L1 is the linear sub-
A quantum code CSS共A , LA ; B , LB兲 is a decomposition space spanned by the four vectors 关x j兴, j = 1, 2, 3, 4 共where x j
is an indicator function for the jth input bit兲:
共C2兲 丢 n = 丣 丣 H共, 兲,
苸LA* 苸LB*
共25兲
L1 = linear span共关x1兴,关x2兴,关x3兴,关x4兴兲.
where the subspace H共 , 兲 is defined by the conditions
Let also L2 be the set of all vectors 关f兴, where f is a poly-
A共u兲兩⌿典 = 共− 1兲共u兲兩⌿典, B共v兲兩⌿典 = 共− 1兲共v兲兩⌿典
nomial of degree at most 2 satisfying f共0兲 = 0. In other words,
for all u 苸 LA and v 苸 LB. The linear functionals and are L2 is the linear subspace spanned by the four vectors 关x j兴 and
referred to as A syndrome and B syndrome, respectively. The the six vectors 关xix j兴:
subspace H共0 , 0兲 corresponding to the trivial syndromes
= = 0 is called the code subspace. L2 = linear span共关x1兴,关x2兴,关x3兴,关x4兴,关x1x2兴,关x1x3兴,
The subspaces H共 , 兲 are well defined since the opera-
tors A共u兲 and B共v兲 commute for any u 苸 LA and v 苸 LB: 关x1x4兴,关x2x3兴,关x2x4兴,关x3x4兴兲. 共26兲
A共u兲B共v兲 = 共− 1兲共u,v兲B共v兲A共u兲 = B共v兲A共u兲. The definition of L1 and L2 resembles the definition of punc-
tured Reed-Muller codes of order 1 and 2, respectively, see
The number of logical qubits in a CSS code is
Ref. 关30兴. Note also that L1 is the dual space for the 15-bit
k = log2关dim H共0,0兲兴 = n − dim LA − dim LB . Hamming code. The relevant properties of the subspaces L j
are stated in the following lemma.
Logical operators preserving the subspaces H共 , 兲 can be Lemma 1.
chosen as 共1兲 For any u 苸 L1 one has 兩u兩 ⬅ 0共mod 8兲.
兵A共u兲 : u 苸 LB⬜/LA其 and 兵B共v兲 : v 苸 LA⬜/LB其. 共2兲 For any v 苸 L2 one has 兩v兩 ⬅ 0共mod 2兲.
共3兲 Let 关1兴 be the unit vector 共1, 1,…, 1, 1兲. Then L⬜ 1
共By definition, LA 債 LB⬜ and LB 債 LA⬜, so the factor spaces = L2 丣 关1兴 and L⬜ 2 = L1 丣 关1兴.
are well defined.兲 In the case where A and B are Pauli op- 共4兲 For any vectors u , v 苸 L1 one has 兩u · v兩 ⬅ 0共mod 4兲.
erators, we get a standard CSS code. Generally, A = VzV† 共5兲 For any vectors u 苸 L1 and v 苸 L⬜ 2 one has 兩u · v兩
and B = VxV† for some unitary operator V 苸 SU共2兲, so an ⬅ 0共mod 4兲.
arbitrary CSS code can be mapped to a standard one by a Proof.
suitable bitwise rotation. By a syndrome measurement for a 共1兲 Any linear function f on F42 satisfying f共0兲 = 0 takes
CSS code we mean a projective measurement associated value 1 exactly eight times 共if f ⫽ 0兲 or zero times 共if f = 0兲.
with the decomposition 共25兲. 共2兲 All basis vectors of L2 have weight equal to 8 共the
Consider a CSS code such that some of the operators vectors 关xi兴兲 or 4 共the vectors 关xix j兴兲. By linearity, all ele-
A共u兲, B共v兲 do not belong to the Pauli group P共n兲. Let us pose ments of L2 have even weight.
this question: can one perform a syndrome measurement for 共3兲 One can easily check that all basis vectors of L1 are
this code by operations from Oideal only? It may seem that orthogonal to all basis vectors of L2, therefore L1 債 L⬜ 2,
the answer is no, because by definition of Oideal one cannot L2 債 L⬜ ⬜
1 . Besides, we have already proved that 关1兴 苸 L1 and
measure an eigenvalue of an operator unless it belongs to the 关1兴 苸 L⬜ 2 . Now the statement follows from dimension count-
Pauli group. Surprisingly, this naive answer is wrong. In- ing, since dim L1 = 4 and dim L2 = 10.
deed, imagine that we have measured part of the operators 共4兲 Without loss of generality we may assume that u ⫽ 0
A共u兲, B共v兲 共namely, those that belong to the Pauli group兲. and v ⫽ 0. If u = v, the statement has been already proved, see
Now we may restrict the remaining operators to the subspace property 1. If u ⫽ v, then u = 关f兴, v = 关g兴 for some linearly
corresponding to the obtained measurement outcomes. It independent linear functions f and g. We can introduce new
may happen that the restriction of some unmeasured operator coordinates 共y 1 , y 2 , y 3 , y 4兲 on F42 such that y 1 = f共x兲 and y 2
A共u兲, which does not belong to the Pauli group, coincides = g共x兲. Now 兩u · v兩 = 兩关y 1y 2兴兩 = 4.
with the restriction of some other operator Ã共ũ兲 苸 P共n兲. If 共5兲 Let u 苸 L1 and v 苸 L⬜ ⬜
2 . Since L2 = L1 丣 关1兴, there are
this is the case, we can safely measure Ã共ũ兲 instead of A共u兲. two possibilities: v 苸 L1 and v = 关1兴 + w for some w 苸 L1. The
The 15-qubit code that we use for the distillation is actually first case has been already considered. In the second case we
the simplest 共to our knowledge兲 CSS code exhibiting this have
022316-9
S. BRAVYI AND A. KITAEV PHYSICAL REVIEW A 71, 022316 共2005兲
A=
1
冑2 共x + y兲 = 冉 e
0
+i共/4兲
e−i共/4兲
0
冊 = e−1共/4兲Kx ,
represent it in the form 共v兲 = 共w , v兲 for some w 苸 F2 . Then
for any 兩⌿典 苸 H共 , 兲, v 苸 L2, and u 苸 L1 we have
15
A共u兲兩v典 = x共u兲ei共/4兲兩u兩−i共/2兲兩u·v兩兩v典 = x共u兲兩v典, which satisfies A兩A1典 = −兩A1典. Since the Clifford group C1 acts
transitively on the set of H-type magic states, we can assume
because 兩u兩 ⬅ 0共mod 8兲 and 兩u · v兩 ⬅ 0共mod 4兲 共see Lemma 1, that the fidelity between and 兩A0典 is the maximum one
parts 1 and 5兲. among all H-type magic states, so that
022316-10
UNIVERSAL QUANTUM COMPUTATION WITH IDEAL… PHYSICAL REVIEW A 71, 022316 共2005兲
FH共兲 = 冑具A0兩兩A0典. 1
⌸兩Aw典 =
冑兩L2兩 兩A1 典 if w 苸 L2 + 关1兴.
L
Lemma 1兲, and the corresponding projected states are To summarize, the distillation subroutine consists of the
兩AL0 典 = 冑兩L2兩⌸z兩A0¯0典 =
1
冑兩L2兩 v兺 兩Av典, following steps.
苸L2 共1兲 Measure eigenvalues of the Pauli operators z共关x j兴兲,
共关x jxk兴兲 共for j , k = 1,2,3,4兲. The outcomes determine the z
z
syndrome, 苸 L*2.
兩AL1 典 = 冑兩L2兩⌸z兩A1¯1典 =
1
冑兩L2兩 v兺
苸L2
兩Av+关1兴典. 共30兲 共2兲 Find w = w共兲 苸 F15 2 such that 共w , v兲 = 共v兲 for any v
苸 L 2.
The states 兩A0,1
L
典 form an orthonormal basis of the code sub- 共3兲 Apply the correcting operator A共w兲†.
space. The projections of 兩Aw典 for w 苸 L⬜
1 onto the code sub-
共4兲 Measure eigenvalues of the operators x共关x j兴兲. The
space are given by these formulas: outcomes determine the A syndrome, 苸 L*1.
共5兲 Declare failure if ⫽ 0, otherwise proceed to the next
1 step.
⌸兩Aw典 =
冑兩L2兩 兩A0 典 if w 苸 L2 ,
L
共6兲 Apply the decoding transformation, which takes the
022316-11
S. BRAVYI AND A. KITAEV PHYSICAL REVIEW A 71, 022316 共2005兲
ps = 兺 ⬜
⑀15−兩v兩共1 − ⑀兲兩v兩 . 共31兲
v苸L1
⑀out = ps−1 兺
苸L
⑀15−兩v兩共1 − ⑀兲兩v兩 . 共33兲 FIG. 3. The final error probability ⑀out共⑀兲 for the H-type states
v 2 distillation.
The sums in Eqs. 共31兲 and 共33兲 are special forms of so-
called weight enumerators. The weight enumerator of a sub- Let us examine the asymptotic properties of this scheme.
space L 債 Fn2 is a homogeneous polynomial of degree n in For small ⑀ the distillation subroutine succeeds with prob-
two variables, namely ability close to 1, therefore the yield is close to 1 / 15. The
output error probability is
WL共x,y兲 = 兺 xn−兩u兩y兩u兩 .
u苸L
⑀out ⬇ 35⑀3 . 共38兲
In this notation,
Now suppose that the subroutine is applied recursively. From
WL2共⑀,1 − ⑀兲 n copies of the state with a given ⑀, we distill one copy of
ps = WL⬜共⑀,1 − ⑀兲, ⑀out = . the magic state 兩A0典 with the final error probability
1 WL⬜共⑀,1 − ⑀兲
1
1
ps = WL1共1,1 − 2⑀兲,
16
⑀out =
1
2
1− 冉
WL1共1 − 2⑀,1兲
WL1共1,1 − 2⑀兲
. 冊 It characterizes the efficiency of the distillation scheme.
022316-12
UNIVERSAL QUANTUM COMPUTATION WITH IDEAL… PHYSICAL REVIEW A 71, 022316 共2005兲
To prove the existence of such a transition, one it suffices 共clearly, 兩S+共5兲兩 = 45 = 兩S共5兲兩 / 2 since elements of S共5兲 may
to construct a T-type states distillation scheme having the have a plus or minus sign兲. For each g 苸 S+共5兲 let 兩g兩
threshold fidelity FT* . A systematic way of constructing such 苸 关0 , 5兴 be the number of qubits on which g acts nontrivially
schemes is to replace the five-qubit by a GF共4兲-linear stabi- 共e.g., 兩x 丢 x 丢 y 丢 I 丢 I兩 = 3兲. We have
lizer code. A nice property of these codes is that the bitwise
application of the operator T preserves the code subspace and
acts on the encoded qubit as T, see Ref. 关31兴 for more details.
One can check that the error-correcting effect described in
兩T̂0典具T̂0兩 =
1
兺
25 g苸S+共5兲
冉冑 冊
1
3
兩g兩
g.
APPENDIX
Taking into account that Tr共gh兲 = 25␦g,h for any g , h 苸 S+共5兲,
The purpose of this section is to prove Eq. 共15兲. Let us we get
introduce this notation:
1 1 1
兩T̂0典 = 兩T00000典 and 兩T̂1典 = 兩T11111典. 具T̂0兩⌸兩T̂0典 = 9 兺 兺
2 h苸G g苸S+共5兲
3−兩g兩/2Tr共gh兲 =
16 g苸G
3−兩g兩/2 = .
6
兺
Consider the set S+共5兲 傺 S共5兲 consisting of all possible tensor
products of the Pauli operators x , y , z on five qubits Similar calculations show that 具T̂1兩⌸兩T̂1典 = 61 .
关1兴 E. Knill, R. Laflamme, and W. Zurek, Science 279, 342 关13兴 J. Preskill, e-print quant-ph/9712048.
共1998兲. 关14兴 D. Gottesman, Ph.D. thesis, Caltech, Pasadena, 1997, URL
关2兴 C. Zalka, e-print quant-ph/9612028. http://arxiv.org/abs/quant-ph/9705052.
关3兴 A. Steane, Phys. Rev. Lett. 78, 2252 共1997兲. 关15兴 M. Nielsen and I. Chuang, Quantum Computation and Quan-
关4兴 E. Dennis, A. Kitaev, A. Landahl, and J. Preskill, J. Math. tum Information 共Cambridge University Press, Cambridge, En-
Phys. 43, 4452 共2002兲. gland, 2000兲.
关5兴 A. Kitaev, Ann. Phys. 共N.Y.兲 303, 2 共2003兲. 关16兴 D. Gottesman, Phys. Rev. A 57, 127 共1998兲.
关6兴 M. Freedman, M. Larsen, and Z. Wang, e-print quant-ph/ 关17兴 E. Knill, e-print quant-ph/0402171.
0001108. 关18兴 E. Knill, e-print quant-ph/0404104.
关7兴 M. Freedman, A. Kitaev, M. Larsen, and Z. Wang, Bull., New 关19兴 D. Gottesman and I. Chuang, Nature 共London兲 402, 390
Ser., Am. Math. Soc. 40, 31 共2002兲. 共1999兲.
关8兴 C. Mochon, Phys. Rev. A 69, 032306 共2004兲. 关20兴 W. Dur and H. Briegel, Phys. Rev. Lett. 90, 067901 共2003兲.
关9兴 G. Moore and N. Read, Nucl. Phys. B 360, 362 共1991兲. 关21兴 D. Aharonov, e-print quant-ph/9602019.
关10兴 C. Nayak and F. Wilczek, Nucl. Phys. B 479, 529 共1996兲. 关22兴 E. Dennis, Phys. Rev. A 63, 052314 共2001兲.
关11兴 B. Doucot and J. Vidal, Phys. Rev. Lett. 88, 227005 共2001兲. 关23兴 E. Knill, R. Laflamme, and W. Zurek, e-print quant-ph/
关12兴 M. Feigel’man and L. Ioffe, Phys. Rev. B 66, 224503 共2002兲. 9610011.
022316-13
S. BRAVYI AND A. KITAEV PHYSICAL REVIEW A 71, 022316 共2005兲
关24兴 A. Calderbank, E. Rains, P. Shor, and N. Sloane, Phys. Rev. 关28兴 A. Calderbank and P. Shor, Phys. Rev. A 54, 1098 共1996兲.
Lett. 78, 405 共1997兲. 关29兴 A. Steane, Proc. R. Soc. London, Ser. A 452, 2551 共1996兲.
关25兴 A. Ambainis and D. Gottesman, e-print quant-ph/0310097. 关30兴 F. MacWilliams and N. Sloane, The Theory of Error-
关26兴 C. Bennett, D. DiVincenzo, J. Smolin, and W. Wootters, Phys. Correcting Codes 共North-Holland, Amsterdam, 1981兲.
Rev. A 54, 3824 共1996兲. 关31兴 A. Calderbank, E. Rains, P. Shor, and N. Sloane, e-print quant-
关27兴 R. Laflamme, C. Miquel, J. Paz, and W. Zurek, Phys. Rev.
ph/9608006.
Lett. 77, 198 共1996兲.
022316-14