Classical Linear Codes

Definition: An [n,k] linear code uses n bits to encode k bits of information. n is generally greater then k. Kaufman encoding is a specific kind of [n,k] code. This can be specified by an generator matrix, called . The entries of are elements of the set

Starting with a message source, we can see the figure below

> insert figure 1 here

In terms of linear algebra, we can represent x as the result of operating on u with

Example: Three bit repetition code Generator matrix

What is

This is a [3,1] code in the [n,k] code format. 

Example 2: code

There are code-words, each of length “n”. To describe any linear code, you need bits to describe. This adds up quickly.

Encoding with generator matrix is super simple and transparent.

After encoding, you can use a parity check matrix to detemine if an error occured.

Parity Check Matrix

  • Equivalent formulation

This matrix is

Using linear independnce we can rewrite A as the following:

How to get from HG

Why did we do this in the first place? Error correction!!

Parity operator “spits out” syndrome vector.

Error Correction

Current function

Encode

Figure out what H is for the code

Setting up for quantum error correction

  • Hamming distance
    • Concept of “distance” which provides insight into error correction
    • Definition: Hamming distance between two vectors

Is the # of places where they differ.

Example:

Hamming weight of is the number of non-zero entries

Example:

The hamming distance can be defined as :

The stronger an error correction scheme is, the larger the hamming weight it can handle.