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 polynomialIts 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 givesTo 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 minimum Hamming distance of a nonzero linear code is the smallest Hamming weight of a nonzero codeword.
Every binary linear code satisfiesPuncturing 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.
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 parametersThe dimension counts square-free monomials, and the minimum weight follows inductively from the decomposition .
If have minimum distances , respectively, thenIndeed, , while the words and attain the two candidate bounds.
If is a parity-check matrix of , then a parity-check matrix of isIts equations say that the first half lies in and that the sum of the two halves lies in .
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.
Articles by others on the same topic
There are currently no matching articles.