510 Quantum error correction
In condition (b), C
⊥
2
is called the dual of C
2
. Given a block code with G, H as generator
and parity-check matrices, respectively, the dual of C, noted C
⊥
, is a unique block code
having H
T
, G
T
for generator and parity-check matrices, respectively (the matrix U
T
is
the transposed matrix of U).
Given two linear block codes C
1
, C
2
satisfying the above conditions, we can construct
a CSS code as follows. Let x, y be two n-bit codewords, such that x ∈ C
1
and y ∈ C
2
.It
is possible to define a quantum state |x + y, where + indicates here bit-wise addition
modulo 2 (or in Boolean logic, the exclusive OR, noted ⊕). For instance, if x = 00101
and y = 10111, we have |x + y=|10010. With such a definition at hand, given x ∈ C
1
we are able to construct all possible quantum states |x + y with y ∈ C
2
as well as the
normalized sum:
|
x + C
2
≡
1
√
|
C
2
|
y∈C
2
|
x + y
. (24.36)
Given the number 2
k
1
=|C
1
|of codewords x in C
1
, how many orthogonal quantum states
|x + C
2
can be, thus, generated? The answer to this question is |C
1
|/|C
2
|=2
k
1
−k
2
,
which stems from group theory (GT) and the fine notion of cosets.
2
Here, I shall not
venture into GT, but leave it as an interesting exercise to establish that the C = (7, 4)
Hamming code, (described in Chapter 11) forms a group (C, ⊕) under the bit-wise
addition ⊕ and to make the inventory of its various cosets.
A key property is that any element x ∈ C
1
must belong to one and only one coset of
C
2
. The same coset x +C
2
= x
+C
2
corresponds to two different elements x, x
∈ C
1
satisfying the property x − x
∈ C
2
and, hence |x + C
2
=|x
+ C
2
.
3
It is clear that
if two different elements x, x
∈ C
1
do not belong to the same coset (x + C
2
= x
+
2
I provide here a simplified description of cosets, which also explains the notation x +C
2
. First, it is impor-
tant to be familiar with, or to quickly revisit the basics of groups and subgroups, for instance through the
links: http://en.wikipedia.org/wiki/Group_%28mathematics%29, http://en.wikipedia.org/wiki/Subgroup.
Then assume two commutative groups C
1
and C
2
with additive operation +, such that C
2
⊂ C
1
is a
subgroup of C
1
. The cosets of C
2
in C
1
, noted x
i
+C
2
, are defined for all elements x
i
∈ C
1
as follows
x
i
+C
2
≡
x
i
+ y
j
y
j
∈C
2
.
Taking an illustrative example, assume C
1
= (0, 1, 2, 3), with + representing the addition modulo 4, and
which has the only “nontrivial” subgroup C
2
= (0, 2). The cosets of C
2
in C
1
are
0 +C
2
≡ (0, 2) = C
2
1 +C
2
≡ (1, 3)
2 +C
2
≡ (2, 0) = (0, 2) = C
2
3 +C
2
≡ (3, 1) = (1, 3) = 1 +C
2
.
It is seen that there are two distinct cosets of C
2
in C
1
, including C
2
itself, which are (0, 2) and (1, 3).
In the general case with groups and subgroups of finite sizes |C
1
|, |C
2
|, Lagrange’s theorem states
that the number of cosets is given by the ratio |C
1
|/|C
2
|. See also http://en.wikipedia.org/wiki/Coset,
http://en.wikipedia.org/wiki/Lagrange%27s_theorem_%28group_theory%29, and Exercise (24.4), which
studies the (7, 4) Hamming code as a group under the bit-wise addition operation.
3
Indeed, taking into account that 0 ∈ C
2
(C
2
is a subgroup with the identity element under ⊕) and assuming
x − x
∈ C
2
,wehave
x + C
2
={x + 0, x + (x − x
),...}={x, x
,...}
x
+C
2
={x
+ 0, x
+ (x − x
),...}={x
, x,...},