Linear Codes, Parity Checks, and Syndromes
Compute which constraint an error violates and derive the distance needed for unambiguous worst-case correction.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
The syndrome cancels the transmitted codeword
If valid words satisfy \(Hc=0\), received \(y=c+e\) gives \(Hy=He\). A single changed bit selects the corresponding column of \(H\). For example, if that column is binary \(101\), the syndrome is also \(101\). A nonzero syndrome implies a violated check. A zero syndrome can also arise from a nonzero error that is itself a codeword.
Minimum distance separates possible explanations
If distinct codewords differ in at least \(d\) coordinates, two of them cannot both be within \(t\) errors of a received word when \(2t<d\). This follows by the triangle inequality and gives a unique-correction radius \(\lfloor(d-1)/2\rfloor\). A code family still needs a decoding algorithm. Hamming codes arrange distinct single-bit syndromes. Advanced coding theory addresses sparse graphs, polarization and list decoding.[1]