0% found this document useful (0 votes)
4 views

steane_code_paragraph

The document discusses fault-tolerant computation in quantum circuits, emphasizing the need for quantum error correction (QEC) codes to manage errors that can occur in various components of a circuit. It introduces the Steane code, a specific QEC code that allows for the correction of single-qubit errors and describes how logical operations can be constructed while ensuring fault tolerance. Additionally, the document highlights the limitations of the Clifford group in achieving universal quantum computation and presents an effective implementation of the T-gate within the Steane code framework.

Uploaded by

Fran J Gal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

steane_code_paragraph

The document discusses fault-tolerant computation in quantum circuits, emphasizing the need for quantum error correction (QEC) codes to manage errors that can occur in various components of a circuit. It introduces the Steane code, a specific QEC code that allows for the correction of single-qubit errors and describes how logical operations can be constructed while ensuring fault tolerance. Additionally, the document highlights the limitations of the Clifford group in achieving universal quantum computation and presents an effective implementation of the T-gate within the Steane code framework.

Uploaded by

Fran J Gal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

7.

4 Fault-tolerant computation 103

7.4 Fault-tolerant computation

Let us suppose we want to implement the following logical circuit

|0i H
(7.135)
|0i

so that if an error occurs it can be successfully corrected via a QEC code. The error can essentially occur in
any of the components of the circuit. Namely,
- in the state preparation,
- in the logic quantum gates,
- in the measurement,
- in the simple transition of the quantum information along the quantum wires.
To combat the e↵ect of the noise, one encodes the logical qubits in blocks of physical ones, using QEC codes.
However, one needs also to replace the logical operations with encoded gates. Performing QEC periodically on
the encoded states prevents the accumulation of errors in the state. However, it is not sufficient to prevent the
build-up of errors, even if QEC is applied after each encoded gate.
There are two main reasons:
1) The encoded gates can cause the propagation of errors.
Let us consider a specific example, where two qubits are connected by a CNOT gate and a X error occurs on
the control qubit before the CNOT. Then, the error propagates also to the target qubit. This can be easily
computed by considering that the CNOT is implemented by the unitary operator ÛCNOT . Then, one has

ÛCNOT ˆx(1) = ÛCNOT ˆx(1) ÛCNOT ÛCNOT = ˆx(1) ˆx(2) ÛCNOT , (7.136)

which can be graphically represented with

X X
! (7.137)
X

Then, one needs to design the encoded gates carefully, so that errors do not propagate on the entire block,
but are limited to some physical qubits. In such a case the QEC code can remove these errors.
Performing encoded gates in such a way is a fault-tollerant (FT) procedure.
2) Also QEC can introduce errors.
An example is that graphically represented in Fig. 7.15, where an error is not correctly recovered.
To showcase the FT procedure, we introduce the Steane code.

7.4.1 Stean code or 7-qubit code

The Steane code is a stabiliser code employing 7 data qubit and 6 syndrome qubits for each logical qubit. The
total Hilbert space H0 has 128 dimensions that are divided in 64 subspaces of two dimensions. The graphical
representation is given in Fig. 7.17. The generators of the stabilisers are
104 7 Quantum Error Correction and Mitigation

1
"!!" = %$#%$" %$$ %$%
"!&" = &!#&!" &!$ &!%

5 3
"!!' = %$'%$" %$( %$%
"!!# = %$)%$$ %$( %$%
7 "!&' = &!'&!" &!( &!%
"!&# = &!)&!$ &!( &!%

4 2
6
Fig. 7.17: Graphical representation of the Steane code with the data qubit represented as open circles and the
corresponding stabilisers.

8 9 8 9
>
> 1̂ 1̂ 1̂ X̂ X̂ X̂ X̂,>> >
> X̂4 X̂5 X̂6 X̂7 ,> >
>
> > > >
>
>
> 1̂ X̂ X̂ 1̂ 1̂ X̂ X̂,>>
>
>
>
>
>
> X̂2 X̂3 X̂6 X̂7 ,> >
>
>
< = < =
6 X̂ 1̂ X̂ 1̂ X̂ 1̂ X̂, X̂1 X̂3 X̂5 X̂7 ,
{ Ŝk }k=1 = = . (7.138)
> 1̂
> 1̂ 1̂ Ẑ Ẑ Ẑ > >
Ẑ, > > Ẑ4 Ẑ5 Ẑ6 Ẑ7 , >
>
>
> > > >
>
>
> 1̂ Ẑ Ẑ 1̂ 1̂ Ẑ Ẑ, >
> >
>
>
> Ẑ2 Ẑ3 Ẑ6 Ẑ7 , >
> >
>
: ; > : >
;
Ẑ 1̂ Ẑ 1̂ Ẑ 1̂ Ẑ Ẑ1 Ẑ3 Ẑ5 Ẑ7 ,

With the Steane code, any single-qubit error can be correctly recovered as it send the code space HC in one of
the other subspaces Hi . Specifically, the code space HC is given by the span of two logical states { | 0L i, | 1L i }.
These are encoded as
1
|0L i = p [|0000000i + |1010101i + |0110011i + |1100110i + |0001111i + |1011010i + |0111100i + |1101001i] ,
8
1
|1L i = p [|1111111i + |0101010i + |1001100i + |0011001i + |1110000i + |0100101i + |1000011i + |0010110i] .
8
(7.139)
The logical operations are given by the normalisers. In the Pauli group, we have the logical X-gate and the
logical Z-gate. These are constructed by applying the corresponding single qubit operators to each physical
qubit. Namely,
X̂L =X̂1 X̂2 X̂3 X̂4 X̂5 X̂6 X̂7 ,
(7.140)
ẐL =Ẑ1 Ẑ2 Ẑ3 Ẑ4 Ẑ5 Ẑ6 Ẑ7 .
These operations are allowed, as there are still two free degrees of freedom. There are also other logical operations
that one can construct. These are normalisers that do not appartain to the Pauli group. An example is the
Hadamard gate, which can be also implemented as the application of single qubit Hadamards:

ĤL = Ĥ1 Ĥ2 Ĥ3 Ĥ4 Ĥ5 Ĥ6 Ĥ7 . (7.141)

At this point, one would naively extrapolate that any logical operation can be constructed via the application
of the corresponding gate on the single data qubits where the logical state is encoded. However, this is not the
case. An example is the phase gate Ŝ, whose representation in the computation basis reads
✓ ◆
10
S= . (7.142)
0i
7.4 Fault-tolerant computation 105

The corresponding logical gate is constructed as

ŜL = Ŝ1† Ŝ2† Ŝ3† Ŝ4† Ŝ5† Ŝ6† Ŝ7† . (7.143)

Indeed, when applied to the logical computational basis we find

ŜL |0L i = |0L i ,


(7.144)
ŜL |1L i = i |1L i .

Conversely, if one would have defined a ŜL0 as just simply applying the S-gate to each physical qubit, one would
have obtained
ŜL0 |0L i = |0L i ,
(7.145)
ŜL0 |1L i = i |1L i .
Thus, the construction of logical gates needs to be done with care and it depends on the QEC code that one is
employing.

Let us consider the case of a CNOT gate. Here, we have two logical qubits, each corresponding to 7 data and
6 syndrome qubits. One can see that the logical CNOT gate can be implemented pairwise as described by the
following ciurcuit

(7.146)

It follows that one can implement the logical circuit

H
(7.147)

as
106 7 Quantum Error Correction and Mitigation

H (7.148)

This way of implementing logical gates is called transversal construction. This is a really easy and straightforward
construction, but most importantly allows to confine errors, as they are unable to propagate. Let us take as an
example the circuit in Eq. (7.149) and suppose we have initially a X error on the first qubit of the first block.
In such a case, the error propagates accordingly to
7.4 Fault-tolerant computation 107

X H H X

H H

H H

H H

H H

H H

H ! H

(7.149)
Thus, the error has been copied to the first qubit of the second block, but all the other qubits are not a↵ected.
The Steane code can correct for such an error. This holds true for any transverse construction.

Till now, we have covered the case for the normalisers { X̂L , ẐL , ĤL , ŜL , CNOTL }, which is the so-called
Cli↵ord group. Notably, the Gottesman-Knill theorem indicates that operations performed using only elements
of this group can be simulated classically. Thus, one cannot have a real quantum advantage over a classical
computer. Moreover, the Cli↵ord group is not universal, meaning that the composition of elements of this group
is not sufficient to implement any arbitrary gate. This is essentially the argument of the Solovay-Kitaev theorem.
One needs to extend the Cli↵ord group with the addition of at least an extra gate not appartaining to the group.
This can be the T-gate or the To↵oli gate.
Unfortunately, one does not know how to implement through unitary operations the T-gate in a transversal
way using the Steane code. This is a code-related problem. One could consider a di↵erent QEC code and im-
plement the T-gate, but they will have problems with another gate, e.g. the Hadarmard gate. The Eastin-Knill
theorem indicates that it is not possible to construct a fault-tolerant universal set with unitary operations.

Notably, the latter theorem applies only to unitary operations. One can still have the entire universal set
by substituting the problematic gate with an e↵ective implementation. Below, we focus on the derivation of an
e↵ective T-gate for the Steane code.
108 7 Quantum Error Correction and Mitigation

Consider the following circuit

y
| i H
(7.150)
|0i H |'i

where one obtains that the state |'i is given by

|'i = X̂ y Ĥ | i , (7.151)

with y = 0, 1. Notably, the three operations performed here, the two Hadamards and the control-Z gates, are
all fault-tolerant.
Suppose we slightly modify the circuit by adding a T-gate on the second qubit as follows

y
| i H
(7.152)
0
|0i H T |' i

where the representation of the T-gate on the computational basis reads


!
1 0
T = ⇡ (7.153)
0 e i4

and the final state of the second qubit now is

|'0 i = T̂ X̂ y Ĥ | i . (7.154)

Since, a part from a total phase, the T-gate can be written as



T̂ = ei 8 Ẑ , (7.155)

one obtains
|'0 i = X̂ y T̂ (1 2y)
Ĥ | i . (7.156)
But, T̂ (1 2y)
can be expressed as
⇡y ⇡y
i 4 Ẑ i 4
T̂ (1 2y)
= T̂ e =e Ŝ y T̂ , (7.157)
where we can safely omit the phase in the last expression. Thus, we get

|'0 i = X̂ y Ŝ y T̂ Ĥ | i = (X̂ Ŝ)y T̂ Ĥ | i . (7.158)

Here, the last equality holds since the value of y can be only 0 or 1. Moreover, we also find that the T-gate
commutes with the control-Z, since it commutes with Ẑ. Thus, by adding an extra Hadamard gate on the first
qubit, we obtain
y
| i H H
(7.159)
00
|0i H T |' i

where
7.4 Fault-tolerant computation 109

|'00 i = (X̂ Ŝ)y T̂ | i . (7.160)


Specifically, the latter implies the following one

y
| i H H
(7.161)
| i (Ŝ † X̂)y | i

where
| i = T̂ | i ,
(7.162)
| i = T̂ Ĥ |0i .
This means that, if one is able to prepare the second qubit in the state | i, then they also can apply the T-gate
to an arbitrary state | i that was initially embedded in the first qubit. This is an e↵ective application of the
T-gate. Clearly, it requires the preparation of | i. Specifically, this is given by

i 8 Ẑ
| i = T̂ Ĥ |0i = e |+i . (7.163)

Now, the state |+i is eigeinstate of X̂ with eigeinvalue (+1), and in the same way | i is eigeinstate of the
operator
⇡ ⇡ ⇡
e i 8 Ẑ X̂ei 8 Ẑ = e i 4 Ẑ X̂ = Ŝ X̂, (7.164)
with the eigeinvalue (+1). Here, the last two equalities follow from the commutaion of T̂ and X̂ and the
definition of the S-gate. Thus, | i is eigeinstate of Ŝ X̂ with eigeinvalue (+1). Similarly, the ortogonal state
| ? i is associated to the eigenvalue ( 1). Now, this implies that given an arbitrary state |⌫i by measuring the
operator Ŝ X̂, the state will collapse in | i or | ? i with corresponding outcomes respectively given by (+1) and
( 1).
The complete circuit thus becomes

y
| i H H
Ŝ X̂
|⌫i +1 | i (Ŝ † X̂)y | i (7.165)

1 discarded

and e↵ectively applies the T-gate to an arbitrary state | i. If the measurement is also FT (this can be proven,
but it will not be tackled here), then one has that the entire circuit is FT.

You might also like