Professional Documents
Culture Documents
Classical Coding Theory PDF
Classical Coding Theory PDF
1
Summary
0 → 000 → 001 → 0
1 → 111 → 110 → 1
2
Galois Field GF(2)
+ 0 1 × 0 1
0 0 1 0 0 0
1 1 0 1 0 1
length = n. dimensions
addition:
(1011)
+ (0110)
= (1101)
inner product:
0
1
(1011) · (0110) = (1011)
1
= 0+0+1+0
0
= 1
3
u · v = uv T
Note
u·v = v·u
u · (v + w) = u · v + u · w
A vector can be “orthogonal” to itself: 0110 · 0110 = 0
4
Distance = number of bit-flips to go from u to v.
e.g.
1011
0110
** * ⇒ 3
du,v = wt(u + v)
5
1
0.8
Hamming
0.6
d/n 0.4
G−V
0.2
0
0 0.5 1
Rate: k/n
6
Linear code
C = {u} such that (u + v) ∈ C ∀ u, v ∈ C
= linear vector space
Properties
1. size m = 2k
2. any linearly independent set of k vectors can span the space
0011
e.g. G= Generator matrix
1100
7
4. Dual code
C ⊥ = {v} such that (v · u) = 0 ∀u∈C
8
Parity checking and syndrome
Recall HuT = 0; ∀u ∈ C
error e : u→u+e
H(u + e)T = HuT + HeT
= 0 + HeT
= HeT
= error syndrome
9
Figure 1: [16, 5, 8] Reed-Muller code.
10
Existence of good codes: Gilbert-Varshamov bound
Proof:
1. Distance d if and only if every set of (d − 1) cols of H is linearly independent
2. Build H as follows:
Suppose we have formed i cols, such that every set of (d − 1) is lin. ind.
Form col. vectors by picking (d−2) or fewer of these: how many can be formed?
à ! à ! à !
i i i
ans. : 1
+ 2
+ ··· + d−2
11
1
0.8
Hamming
0.6
d/n 0.4
G−V
0.2
0
0 0.5 1
Rate: k/n
12
Lecture 2.
Principles of quantum error correction
13
Quantum Error Correction: introducing main ideas
Pauli group
1 0 0 1 0 −1 1 0
I= , X= , Y = , Z= .
0 1 1 0 1 0 0 −1
Parity check
14
3 bit code
000 110
check matrix H=
111 101
Quantum case
|0i → |000i
|1i → |111i
Encoding network:
a 0 +b 1
0
0
15
Noise in the channel: random bit flips: operator X with probability p
state probability
16
Include ancilla bits in the notation (still at time just after channel):
state probability
17
Now after parity checks (syndrome extraction)
state probability
18
Next, measure the ancilla
in |0i, |1i basis.
Nothing happens here, except we learn the syndrome
state probability
19
Measurement of the ancilla
case where measurement result is 00:
state probability
action: do nothing
20
Measurement of the ancilla
case where measurement result is 01:
state probability
21
Result
after correction:
state probability
22
Measurement of the ancilla
case where measurement result is 10:
state probability
23
Result
after correction:
state probability
24
After correction, general conclusion:
state probability
25
More general error:
cos(θ/2) i sin(θ/2)
R(θ) =
i sin(θ/2) cos(θ/2)
1 0 0 1
= cos(θ/2) + i sin(θ/2)
0 1 1 0
= cos(θ/2)I + i sin(θ/2)X
= cI + sX where c = cos(θ/2), s = i sin(θ/2)
26
At this stage the state still has all possible errors:
(c3 III + s3 XXX) |ψi |00i + cs(cIIX + sXXI) |ψi |01i
+cs(cIXI + sXIX) |ψi |10i + cs(cXII + sIXX) |ψi |11i
Now measure the ancilla: projection
√
→ either (c3 III + s3 XXX) |ψi |00i / c6 + s6
or (cIIX + sXXI) |ψi |01i probability c2 s2
or (cIXI + sXIX) |ψi |10i probability c2 s2
or (cXII + sIXX) |ψi |11i probability c2 s2
Apply corrective X depending on the syndrome:
√
→ outcome either (c3 III + s3 XXX) |ψi / c6 + s6
or (cIII + sXXX) |ψi (Prob = 3c2 s2 )
Overall error in the final state: either s6 , or s2 with probability 3c2 s2
Hence
P (fail overall) = O(s4 )
27
N.B. notice the discretization of errors: a continuous rotation error is projected
by the syndrome measurement onto one of a discrete set of errors.
28
Phase errors, also known as decoherence
eiφ/2 0
−iφ/2
= cos(φ/2)I + i sin(φ/2)Z
0 e
Notice:
HZH = X
Simplest experiment:
ψ
0
0
29
General Noise
= TI ⊗ I + TX ⊗ X + TY ⊗ Y + TZ ⊗ Z
30
Consider the following:
Notice
HHH(|000i + |111i) = |000i + |011i + |101i + |110i
HHH
repetition code ↔ even weight code
C ↔ C⊥
HH · · · H |ui = |vi
X X
u∈C v∈C ⊥
31
This gives us a very useful hint: form states consisting of equal superposition
of all members of a linear code.
e.g.
X
|0iL = |ui
u∈C0
= |0000000i + |1010101i + |0110011i + |1101010i + |0001111i + |1011010i + |0111100i + |0010101i
32
The code C1 allows bit errors to be corrected for both |0iL and |1iL ≡ XXXIIII |0iL
and combinations thereof.
The code C0⊥ allows phase errors to be corrected, at least for the state we started
with, |0iL .
u∈C0 v∈C0⊥
= still satisfies all the checks of C0⊥
It works! Therefore we now have 2 quantum states, |0iL and |1iL called quantum
codewords, which can be corrected for X and Z errors, and hence also for Y
errors. This is a quantum code for encoding 1 qubit into 7.
33
Complete parity checking for 7-bit code:
34
Hence
−→ existence of good quantum codes (since there exist self-dual classical codes
above the Gilbert-Varshamov bound).
35
Examples:
• 7-bit code: Hamming code contains its dual (every row of H satisfies all
the checks in H)
• [127, 85, 13] classical BCH code → [[127, 43, 13]] quantum BCH code
• [23, 12, 7] classical Golay code → [[23, 1, 7]] quantum code
suppose processor has ‘clock rate’ 100 kHz (i.e. 2-bit gate takes 10 µs)
correct the atoms every ms ⇒ error probability for each atom ≃ 0.001
Repeat 108 times: preserve the encoded qubit for 108 ms = 1 day!
36
Lecture 3.
Further remarks on error correction
37
Conditions for a quantum error correcting code:
hu| E1 E2 |vi = 0
hu| E1 E2 |ui = hv| E1 E2 |vi
38
Quantum Hamming bound
39
5-bit code
It does exist!
11000 00101
Hx Hz
01100 10010
H= , G=
11111 00000 .
00110 01001
00000 11111
00011 10100
40
Hamming and G-V bounds in limit of large codeword length n
1
0.9
0.8
0.7
0.6
k/n
0.5
0.4
0.3
0.2
0.1
0
0 0.05 0.1 0.15 0.2 0.25
t/n
41
Decoherence-free subspace
What if the noise is such that the errors are all in the stabilizer?
Then no correction is needed! The codespace is simply unaffected by the noise.
Example: the energy gap of all the qubits gets shifted by the same amount.
Both states have the same energy ⇒ they both aquire the same extra phase ⇒
it appears as a global phase ⇒ no effect.
42
Noise again
Let
43
(2.) General errors.
X
fidelity F = 1 − Tr aij Ei′ ρ0 Ej′
uncorrectable
X
∼ 1− |aij |
uncorrectable
44
We can always write
X X X
HI = E ⊗ HEe + E ⊗ HEe + E ⊗ HEe + . . .
wt(E)=1 wt(E)=2 wt(E)=3
2
n t+1
1 − F ≃ P (t + 1) ≃ 3t+1 ǫ
t+1
or very often:
n 2(t+1)
1 − F ≃ P (t + 1) ≃ 3t+1 ǫ
t+1
45
The evolution of a multiply-entangled system coupled to
an uncontrolled environment is a non-trivial problem!
QEC will directly reveal the high-order correlations in
the evolution of many-body entangled quantum systems.
These terms are either small enough to permit quantum
computing, or else they will reveal physics which is not
currently understood.
46