Stabilizer code explained

In quantum computing and quantum communication, a stabilizer code is a class of quantum codes for performing quantum error correction. The toric code, and surface codes more generally,[1] are types of stabilizer codes considered very important for the practical realization of quantum information processing.

Conceptual background

Quantum error-correcting codes restore a noisy,decohered quantum state to a pure quantum state. Astabilizer quantum error-correcting code appends ancilla qubitsto qubits that we want to protect. A unitary encoding circuit rotates theglobal state into a subspace of a larger Hilbert space. This highly entangled,encoded state corrects for local noisy errors. A quantum error-correcting code makes quantum computationand quantum communication practical by providing a way for a sender andreceiver to simulate a noiseless qubit channel given a noisy qubit channelwhose noise conforms to a particular error model. The first quantum error-correcting codes are strikingly similar to classical block codes in their operation and performance.

The stabilizer theory of quantum error correction allows one to import someclassical binary or quaternary codes for use as a quantum code. However, when importing theclassical code, it must satisfy the dual-containing (or self-orthogonality)constraint. Researchers have found many examples of classical codes satisfyingthis constraint, but most classical codes do not. Nevertheless, it is still useful to import classical codes in this way (though, see how the entanglement-assisted stabilizer formalism overcomes this difficulty).

Mathematical background

\Pi

in formulating quantum error-correcting codes. The set

\Pi=\left\{I,X,Y,Z\right\}

consists of the Pauli operators:

I\equiv \begin{bmatrix} 1&0\\ 0&1 \end{bmatrix} ,X\equiv \begin{bmatrix} 0&1\\ 1&0 \end{bmatrix} ,Y\equiv \begin{bmatrix} 0&-i\\ i&0 \end{bmatrix} ,Z\equiv \begin{bmatrix} 1&0\\ 0&-1 \end{bmatrix} .

The above operators act on a single qubit – a state represented by a vector in a two-dimensionalHilbert space. Operators in

\Pi

have eigenvalues

\pm1

and either commuteor anti-commute. The set

\Pin

consists of

n

-fold tensor products ofPauli operators:

\Pin=\left\{ \begin{array} [c]{c} ei\phiA1 ⊗ … ⊗ An:\forallj\in\left\{1,\ldots ,n\right\}Aj\in\Pi,  \phi\in\left\{0,\pi/2,\pi,3\pi/2\right\} \end{array} \right\}.

Elements of

\Pin

act on a quantum register of

n

qubits. Weoccasionally omit tensor product symbols in what follows so that

A1An\equivA1 ⊗ … ⊗ An.

The

n

-fold Pauli group

\Pin

plays an important role for both the encoding circuit and theerror-correction procedure of a quantum stabilizer code over

n

qubits.

Definition

Let us define an

\left[n,k\right]

stabilizer quantum error-correctingcode to encode

k

logical qubits into

n

physical qubits. The rate of such acode is

k/n

. Its stabilizer

l{S}

is an abelian subgroup of the

n

-fold Pauli group

\Pin

.

l{S}

does not contain the operator

-I

. The simultaneous

+1

-eigenspace of the operators constitutes the codespace. Thecodespace has dimension

2k

so that we can encode

k

qubits into it. Thestabilizer

l{S}

has a minimal representation in terms of

n-k

independent generators

\left\{g1,\ldots,gn-k|\foralli\in\left\{ 1,\ldots,n-k\right\},gi\inl{S}\right\}.

The generators areindependent in the sense that none of them is a product of any other two (upto a global phase). The operators

g1,\ldots,gn-k

function in the sameway as a parity check matrix does for a classical linear block code.

Stabilizer error-correction conditions

One of the fundamental notions in quantum error correction theory is that itsuffices to correct a discrete error set with support in the Pauli group

\Pin

. Suppose that the errors affecting anencoded quantum state are a subset

l{E}

of the Pauli group

\Pin

:

l{E}\subset\Pin.

Because

l{E}

and

l{S}

are both subsets of

\Pin

, an error

E\inl{E}

that affects anencoded quantum state either commutes or anticommutes with any particularelement

g

in

l{S}

. The error

E

is correctable if itanticommutes with an element

g

in

l{S}

. An anticommuting error

E

is detectable by measuring each element

g

in

l{S}

andcomputing a syndrome

r

identifying

E

. The syndrome is a binaryvector

r

with length

n-k

whose elements identify whether theerror

E

commutes or anticommutes with each

g\inl{S}

. An error

E

that commutes with every element

g

in

l{S}

is correctable ifand only if it is in

l{S}

. It corrupts the encoded state if itcommutes with every element of

l{S}

but does not lie in

l{S}

. So we compactly summarize the stabilizer error-correcting conditions: astabilizer code can correct any errors

E1,E2

in

l{E}

if
\dagger
E
1

E2\notinl{Z}\left(l{S}\right)

or

\dagger
E
1

E2\inl{S}

where

l{Z}\left(l{S} \right)

is the centralizer of

l{S}

(i.e., the subgroup of elements that commute with all members of

l{S}

, also known as the commutant).

Simple example of a stabilizer code

A simple example of a stabilizer code is a three qubit

\left[[3,1,3\right]]

stabilizer code. It encodes

k=1

logical qubitinto

n=3

physical qubits and protects against a single-bit fliperror in the set

\left\{ Xi\right\}

. This does not protect against other Pauli errors such as phase flip errors in the set

\left\{ Yi\right\}

.or

\left\{ Zi\right\}

. This has code distance

d=3

. Its stabilizer consists of

n-k=2

Pauli operators:

\begin{array} [c]{ccc} g1&=&Z&Z&I\\ g2&=&I&Z&Z\\ \end{array}

If there are no bit-flip errors, both operators

g1

and

g2

commute, the syndrome is +1,+1, and no errors are detected.

If there is a bit-flip error on the first encoded qubit, operator

g1

will anti-commute and

g2

commute, the syndrome is -1,+1, and the error is detected. If there is a bit-flip error on the second encoded qubit, operator

g1

will anti-commute and

g2

anti-commute, the syndrome is -1,-1, and the error is detected. If there is a bit-flip error on the third encoded qubit, operator

g1

will commute and

g2

anti-commute, the syndrome is +1,-1, and the error is detected.

Example of a stabilizer code

See main article: Five-qubit error correcting code. An example of a stabilizer code is the five qubit

\left[[5,1,3\right]]

stabilizer code. It encodes

k=1

logical qubitinto

n=5

physical qubits and protects against an arbitrary single-qubiterror. It has code distance

d=3

. Its stabilizer consists of

n-k=4

Pauli operators:

\begin{array} [c]{ccccccc} g1&=&X&Z&Z&X&I\\ g2&=&I&X&Z&Z&X\\ g3&=&X&I&X&Z&Z\\ g4&=&Z&X&I&X&Z \end{array}

The above operators commute. Therefore, the codespace is the simultaneous+1-eigenspace of the above operators. Suppose a single-qubit error occurs onthe encoded quantum register. A single-qubit error is in the set

\left\{ Xi,Yi,Zi\right\}

where

Ai

denotes a Pauli error on qubit

i

.It is straightforward to verify that any arbitrary single-qubit error has aunique syndrome. The receiver corrects any single-qubit error by identifyingthe syndrome via a parity measurement and applying a corrective operation.

Relation between Pauli group and binary vectors

A simple but useful mapping exists between elements of

\Pi

and the binaryvector space

\left(Z2\right)2

. This mapping gives asimplification of quantum error correction theory. It represents quantum codeswith binary vectors and binary operations rather than with Pauli operators andmatrix operations respectively.

We first give the mapping for the one-qubit case. Suppose

\left[A\right]

is a set of equivalence classes of an operator

A

that have the same phase:

\left[A\right]=\left\{\betaA|\beta\inC,\left\vert \beta\right\vert=1\right\}.

Let

\left[\Pi\right]

be the set of phase-free Pauli operators where

\left[\Pi\right]=\left\{\left[A\right]|A\in\Pi\right\}

.Define the map

N:\left(Z2\right)2\Pi

as

00\toI, 01\toX, 11\toY, 10\toZ

Suppose

u,v\in\left(Z2\right)2

. Let us employ theshorthand

u=\left(z|x\right)

and

v=\left(z\prime|x\prime \right)

where

z

,

x

,

z\prime

,

x\prime\inZ2

. Forexample, suppose

u=\left(0|1\right)

. Then

N\left(u\right)=X

. Themap

N

induces an isomorphism

\left[N\right]:\left(Z 2\right)2\left[\Pi\right]

because addition of vectorsin

\left(Z2\right)2

is equivalent to multiplication ofPauli operators up to a global phase:

\left[N\left(u+v\right)\right]=\left[N\left(u\right)\right] \left[N\left(v\right)\right].

Let

\odot

denote the symplectic product between two elements

u,v\in\left(Z2\right)2

:

u\odotv\equivzx\prime-xz\prime.

The symplectic product

\odot

gives the commutation relations of elements of

\Pi

N\left(u\right)N\left(v\right)=\left(-1\right)\left(N\left(v\right)N\left(u\right).

The symplectic product and the mapping

N

thus give a useful way to phrasePauli relations in terms of binary algebra.The extension of the above definitions and mapping

N

to multiple qubits isstraightforward. Let

A=A1 ⊗ … ⊗ An

denote anarbitrary element of

\Pin

. We can similarly define the phase-free

n

-qubit Pauli group

\left[\Pin\right]=\left\{\left[ A\right]|A\in\Pin\right\}

where

\left[A\right]=\left\{\betaA|\beta\in C,\left\vert\beta\right\vert=1\right\}.

\ast

for the above equivalence class is as follows:

\left[A\right]\ast\left[B\right]\equiv\left[ A1\right]\ast\left[B1\right] ⊗ … ⊗ \left[ An\right]\ast\left[Bn\right]=\left[A1B1\right] ⊗ … ⊗ \left[AnBn\right] =\left[AB\right].

The equivalence class

\left[\Pin\right]

forms a commutative groupunder operation

\ast

. Consider the

2n

-dimensional vector space

\left(Z2\right)2n=\left\{\left(z,x\right) :z,x\in\left(Z2\right)n\right\}.

It forms the commutative group

(\left(Z2\right)2n,+)

withoperation

+

defined as binary vector addition. We employ the notation

u=\left(z|x\right),v=\left(z\prime|x\prime\right)

to represent any vectors

u,v\in\left(Z2\right)2n

respectively. Eachvector

z

and

x

has elements

\left(z1,\ldots ,zn\right)

and

\left(x1,\ldots,xn\right)

respectively withsimilar representations for

z\prime

and

x\prime

.The symplectic product

\odot

of

u

and

v

is
n
u\odotv\equiv\sum
i=1

zi

\prime
x
i

-xi

\prime
z
i

,

or
n
u\odotv\equiv\sum
i=1

ui\odotvi,

where

ui=\left(zi|xi\right)

and

vi=\left(

\prime
z
i
\prime
|x
i

\right)

. Let us define a map

N:\left(Z2\right)2n\Pin

as follows:

N\left(u\right)\equivN\left(u1\right) ⊗ … ⊗ N\left(un\right).

Let

X\left(x\right)\equiv

x1
X
xn
⊗ … ⊗ X

, Z\left(z\right)\equiv

z1
Z
zn
⊗ … ⊗ Z

,

so that

N\left(u\right)

and

Z\left(z\right)X\left(x\right)

belong to the sameequivalence class

\left[N\left(u\right)\right]=\left[Z \left(z\right)X\left(x\right)\right].

The map

\left[N\right]:\left(Z2\right) 2n\left[\Pin\right]

is an isomorphism for the samereason given as in the previous case:

\left[N\left(u+v\right)\right]=\left[ N\left(u\right)\right]\left[N\left(v\right)\right],

where

u,v\in\left(Z2\right)2n

. The symplectic productcaptures the commutation relations of any operators

N\left(u\right)

and

N\left(v\right)

:

N\left(u\right)N\left(v\right)=\left(-1\right)\left(N\left(v\right)N\left(u\right).

The above binary representation and symplectic algebra are useful in makingthe relation between classical linear error correction and quantum error correction more explicit.

By comparing quantum error correcting codes in this language to symplectic vector spaces, we can see the following. A symplectic subspace corresponds to a direct sum of Pauli algebras (i.e., encoded qubits), while an isotropic subspace corresponds to a set of stabilizers.

References

Notes and References

  1. Web site: 2024-01-12. What is the "surface code" in the context of quantum error correction?. Quantum Computing Stack Exchange.