/ˌɛl diː piː siː/

noun … “Sparse code for near-Shannon-limit error correction.”

LDPC, short for Low-Density Parity-Check, is an advanced error-correcting code used in digital communications and storage systems to approach the theoretical Shannon Limit. LDPC codes are characterized by a sparse parity-check matrix, meaning that most entries are zero, which allows for efficient iterative decoding using belief propagation or message-passing algorithms. These codes provide excellent error correction with low overhead, making them ideal for high-throughput and noisy channels.

Key characteristics of LDPC include:

  • Sparse parity-check matrix: reduces computation and memory requirements during decoding.
  • Iterative decoding: uses algorithms that pass probabilistic messages along a Tanner graph to converge on the most likely transmitted codeword.
  • Near-capacity performance: allows transmission rates close to the Shannon Limit for a given channel.
  • Flexibility: block length, rate, and sparsity can be tailored to specific system requirements.
  • Applications: widely used in satellite communications, 5G, Wi-Fi, optical fiber systems, and data storage devices.

Workflow example: In a 5G communication system, data packets are encoded using LDPC before transmission. At the receiver, the LDPC decoder iteratively updates beliefs about each bit, correcting errors caused by channel noise. The result is a reliable reconstruction of the original data while operating close to the channel's maximum theoretical capacity.

-- Pseudocode illustrating LDPC encoding
dataBits = [1,0,1,1,0,1]
parityMatrix = generateSparseMatrix(rows=3, cols=6)
encodedBits = multiply(dataBits, parityMatrix)  -- Produces codeword with parity
transmit(encodedBits)

Conceptually, LDPC is like a network of sparse checkpoints that constantly verify and correct each step of a message as it travels. The sparsity keeps the system efficient, while iterative correction ensures the message arrives intact even over a noisy channel.

See Shannon Limit, Turbo Codes, Information Theory, FEC.