A binary linear code is a -dimensional subspace of with least nonzero weight . A parity-check matrix presents it as a kernel.
The two-dimensional ternary linear code generated by and . Its eight nonzero words have exactly three nonzero entries, with precisely two opposite words for each position of the zero coordinate.
The homogeneous weight enumerator of a length- linear code is the polynomial
Its coefficients count words of each Hamming weight. In this convention ; some references interchange .
For a binary linear code of dimension and its dual code, the weight enumerator convention gives
To prove it, insert into the enumerator sum. Summing independently over each coordinate of yields a factor if and if .
A parity bit records whether the number of one bits in a word is even or odd and can detect every error that flips an odd number of bits.
Apply one CNOT gate from each input qubit to the same target. Their actions commute because controls remain unchanged and each contribution is added modulo two. This reversible circuit computes the parity bit with exactly one two-qubit gate per input, and its inverse is the same circuit. Unlike measuring the inputs to compute parity classically, the unitary preserves quantum superposition and can be uncomputed after phase application.
The length- even-weight code consists of binary words whose coordinates sum to zero. It has parameters .
The binary repetition code is and has parameters .
The zero code contains only the zero word and has dimension zero.
The whole-space binary code is , with parameters .
The Hamming weight of a word is the number of its nonzero coordinates.
The minimum Hamming distance of a nonzero linear code is the smallest Hamming weight of a nonzero codeword.
Every binary linear code satisfies
Puncturing on the support of a minimum-weight codeword reduces the rank by one and leaves minimum distance at least , which proves the bound inductively.
A generator matrix for a linear code has a basis of the code as its rows, so its row space is the code.
A parity-check matrix for a linear code satisfies
The syndrome of a received word with respect to a parity-check matrix is . It vanishes exactly when is a codeword and otherwise identifies the coset containing the error pattern.
The parity-check extension of a binary linear code appends to each codeword the sum of its coordinates in , making every extended word have even Hamming weight.
Shortening a code at one coordinate first retains only words with a chosen symbol there and then applies puncturing at that coordinate. The minimum distance cannot decrease. In a binary code one coordinate-symbol fibre contains at least half of the words.
The dual code consists of the words orthogonal to every word of under the standard dot product. A parity-check matrix for is a generator matrix for .
The binary Reed-Muller code evaluates Boolean polynomials of degree at most on . It has parameters
The dimension counts square-free monomials, and the minimum weight follows inductively from the decomposition .
For length- binary linear codes , their bar product is
It has length and dimension .
If have minimum distances , respectively, then
Indeed, , while the words and attain the two candidate bounds.
If is a parity-check matrix of , then a parity-check matrix of is
Its equations say that the first half lies in and that the sum of the two halves lies in .
For ,
Consequently
Under the standard binary inner product,
The product of representing polynomials has degree at most , so its evaluation word has even weight; equality follows by comparing dimensions.
The binary Hamming code of redundancy has parameters . Its parity-check matrix has every nonzero vector of as a column.
The binary simplex code is the dual of the binary Hamming code. For redundancy it has parameters .
A Hamming code has words, and each radius-one Hamming ball contains vectors. Its minimum distance is three, so these balls are disjoint, and their total size is . They therefore partition the ambient space, making the code perfect.
A code of minimum Hamming distance detects every pattern of at most errors and uniquely corrects every pattern of at most errors. The correction claim follows because Hamming balls of that radius around distinct codewords are disjoint.

Ancestors (5)

  1. Coding theory
  2. Algebra
  3. Area of mathematics
  4. Mathematics
  5. Home

Discussion (0)

New discussion

There are no discussions about this article yet.

Articles by others on the same topic (0)

There are currently no matching articles.