# Error Correction Techniques

## Classical Error Syndromes

Classical error detection and correction techniques use -ary (base ) - codes to encode codewords within -ary strings of length , with minimum hamming distance . The most common class of these codes are binary codes due to the simplicity of transmission. Such codes can also be defined over a field, where the binary case corresponds to the field . Defining the codes over a field , allows us to generate the notion of a linear code. A linear code is a code which forms a linear subspace of the field . If is linear and forms a -dimensional vector space over , we call a linear code. Having a linear code is ideal because it provides a simple method of encoding and eventually decoding any message we wish to transmit. If is a linear code, we are able to define a generator matrix for the code such that the rows of form a basis for . We then consider the linear map which is used to encode any codeword using , note that this encoded message will always be in as all linear combinations of the rows of are in .We now define the parity check matrix with respect to . This is the generator for the dual code which is used to detect and correct errors when we receive a transmitted message. We have that , and consequently, we see that is in if and only if .One efficient method for detecting and correcting errors within received messages uses the technique known as syndrome decoding. We divide the code into cosets which form partitions of (this is a result following from Lagrange’s Theorem). To each of these cosets we assign a coset leader which is an element of least weight within the coset. We define the syndrome of an element of to be the encoding (with denoting the transpose of ) and calculate a table of syndromes for each of the coset leaders in .We are now in a position to decode any received message word . Suppose we have the transmitted message and received , which will differ from if any errors occurred in transmission, Once we receive an encoded message , we calculate its syndrome , and search our list of syndromes for each of the the coset leaders to find the coset leader which has equal syndrome, that is . We then simply evaluate the received message by calculating to determine which message was sent.We assume here that if the received message is not in , an error has occurred, else the message will decode directly as its syndrome will be the zero vector. Since we have if and only if . There is clearly an upper limit to the amount of errors one code is able to detect or correct, for example if multiple errors occur, transforming the encoded message into another element of (or a message that corrects to the wrong element of ), we will not detect the error as it will appear to have been transmitted correctly, despite being the wrong message upon decryption. Although this is unlikely when transmitting through a channel with sufficiently low error probability, it is still possible and can only be minimised by increasing the amount of redundancy in the code, by increasing the minimum distance of the codewords in .This process of syndrome decoding is one of the most efficient methods for larger codes and it is therefore desirable to seek a quantum analogue which can be applied to error detection and correction for quantum codes.

## Quantum Error Syndromes

The classical coding theory technique of syndrome decoding does in fact have a quantum mechanical analogue which can be applied to error detection and correction in quantum codes.

For general quantum error correcting codes we work with a group , which is commonly a subgroup of the Pauli group . The elements of this group are determined from the Pauli spin matrices , the identity matrix: , and products of each with . Higher dimensional Pauli groups can be formed by considering tensor products of the elements of .

This subgroup is therefore in general, a set of operators. It is then possible to take as a subset the largest set of elements of which commute with the other elements. This becomes what is known as the stabiliser set . As this is a completely commuting subgroup of it automatically becomes itself an Abelian group, and is therefore often referred to as the stabiliser group.

We define the coding space as the set of all vectors which are fixed by . That is:

this set comprises each of the quantum code words.

We can now follow a similar procedure to the classical case to detect and correct errors in quantum codes. Using some of the group theoretical properties of the stabiliser group , it is possible to show that our error correcting code will detect all errors and errors such that for some .

We define the quantum error syndrome as a map such that:

With as the error vector and:

where each is a generator for .

Note that is a well defined map as we know all correctable errors either are in or anti commute with some element of .

The quantum error syndrome, much like the classical error syndrome becomes a block length binary string which is the main focus of the error correction process. Error correction is achieved by determining the eigenvalues for each that generates . The eigenvalue , for each is given as:

Much like the classical case, the syndrome measured can be compared to a known list of syndromes, meaning that the precise error operation can be identified and corrected simply by reversing the error inducing operation.