Presentación Steane Code
Presentación Steane Code
Benoı̂t Vermersch
October 12, 2023
LPMMC Grenoble
1
Outline
2
Outline
3
An error in a quantum computer?
4
An error in a quantum computer?
• For a general qubit state |ψi = (α |0i + β |1i), a decoherence process can always
be interpretated as a sum of ‘Pauli Errors’:
5
Outline
6
The bit flip code
• The code aims at tracking and correcting X errors occurring on one of the three
physical qubits
X
|ψi → |ψi |E iI + Xi |ψi |E iXi →QEC |ψi (6)
i=1,2,3
7
The bit flip code
• There are two mesurements to be made hZ1 Z2 i, hZ2 Z3 i, giving rise to unique
error syndromes, independently of the qubit superposition state.
Error State hZ1 Z2 i, hZ2 Z3 i
none α |000i + β |111i 1,1
X1 α |100i + β |011i -1,1
X2 α |010i + β |101i -1,-1
X3 α |001i + β |110i 1,-1
• Code distance: Number of errors that map one logical state to the other. Here
it’s d = 3. For a general d, we can correct t errors if d ≥ 2t + 1.
• How to measure and correct errors?
8
The bit flip code: Collective measurements
10
The bit flip code: Implementation aspects
|0i
• Side remark: This is very different from quantum cloning |ψi → |ψi⊗3 , which can
be proven to be strictly impossible.
11
The bit flip code: Implementation aspects
• Step 2: Error syndromes and recoveries: One requires ancilla qubits (see also
Exercices 4)
|ψ1 i
|0i
|0i → Z1 Z2
|0i → Z2 Z3
• The logical gates XL = |0iL h1| + h.c = X1 X2 X3 , ZL = |0iL h0| − |1iL h1| = Z1 , 12
The bit flip code: Limitations
• The bit flip code fails for two and three qubit bit flip errors with probability
pL = 3p 2 (1 − p) + p 3 (7)
13
Outline
14
Steane code
15
Steane code
• The Steane code is an example of stabilizer codes, whose error syndromes are
elements of a commuting Pauli subgroup.
• For the purpose of this lecture, we will simply check that the syndromes do the
job.
• General rules:
• If Zi is present in an error syndrome g , it will detect Xi errors (because
Xi Zi Xi = −Zi , and operators acting on different sites i, j commute.)
• Similarly, Zi errors are detected by Xi operators .
• Y = iXZ , therefore a Y error is a Z error followed by an X error.
16
Steane code
Error Z4 Z5 Z6 Z7 Z2 Z3 Z6 Z7 Z1 Z3 Z5 Z7 X4 X5 X6 X7 X2 X3 X6 X7 X1 X3 X5 X7
none 1 1 1 1 1 1
X1 1 1 -1 1 1 1
X2 1 -1 1 1 1 1
X3 1 -1 -1 1 1 1
X4 -1 1 -1 1 1 1
X5 -1 1 -1 1 1 1
X6 -1 -1 1 1 1 1
X7 -1 -1 -1 1 1 1
Z1 1 1 1 1 1 -1
..
.
Y1 1 1 -1 1 1 -1
..
. 17
Steane code: Conclusion
18
Outline
19
Surface code
X X X X
• The physical qubits sit on a 2D lattice.
Z Z Z Z Z • The stabilizer operators, i.e the
X X X X measurements to be made for error
Z Z Z Z Z
detection, are
X X X X
20
Surface code: Error detection
Z
−1
Z Z Z Z
• This is detected by the neighboring
X X X X
plaquettes.
−1
Z Z Z Z Z • Any error can be detected provided
X X X X the lattice is sufficiently large.
Z Z Z Z Z
−1 −1 • One can then apply recovery
X X X X
operations (or adapt in the software
Z Z Z Z Z
the definition of the code with
g → −g )
21
Surface code: Error detection
Z Z Z Z Z
X X X X
−1 • Example inspired from Google’s
Z Z Z Z Z
X X X X
demonstration of the toric code
Z Z
−1
Z Z Z
[Science 374, 1237-1241 (2021)]
X X X X • I observe stabilizer expectations
Z Z Z Z Z g = −1 as indicated here. What is the
X X X X
error recovery operation?
Z Z Z Z Z
22
Surface code: Error detection
X X X X
X1 X2 X3 X4 |ψi = |ψi (9)
Z Z Z Z Z
• ‘Macroscopic errors’ cannot be detected with a surface code (eg an error of the
type XL , see also Exercices 4)
• Possible fix: increase the code size. But, if I add more and more noisy qubits, I
also increase the probabilities of individual errors . . .
• Quantum threshold theorem [Knill,Laflamme,Zurek, Aharonov,Ben-or,Kitaev], we
can achieve arbitrary precision small on arbitrary quantum circuits with quantum
error correction, provided the physical qubit error probability is below a threshold
p < pth .
• If p < pth , adding more qubits help in achievieng quantum error correction.
25
Fault tolerance in the surface code
26