TOPICS
Search

Tanner Graph


A Tanner graph is a bipartite graph representing the local constraints that define a code (Tanner 1981). For a binary parity check matrix H with m rows and n columns, it has variable vertices v_1,...,v_n and check vertices c_1,...,c_m, with

 {c_i,v_j} in E iff H_(ij)=1.

The check at c_i requires the bits at its adjacent variable vertices to sum to zero in the finite field F_2. Thus H here uses rows for checks, the transpose of the convention in which check vectors are columns. Different parity check matrices for the same linear code can give different Tanner graphs.

Each check can be represented by a function that is 1 when its constraint is satisfied and 0 otherwise. Their product is the characteristic function of the set of codewords, so the Tanner graph is a factor graph for these factors (Kschischang et al. 2001).

Two check vertices and two variable vertices form a graph cycle of length 4 iff both checks involve both variables. Consequently, the graph has no cycles of length 4 iff any two distinct rows of H have ones in at most one common column. This restriction is called the row-column constraint (Sadie et al. 2026). It is a condition on the representation, not part of the definition of a low-density parity-check code.


See also

Bipartite Graph, Factor Graph, Low-Density Parity-Check Code, Parity Check Matrix

Explore with Wolfram|Alpha

References

Kschischang, F. R.; Frey, B. J.; and Loeliger, H.-A. "Factor Graphs and the Sum-Product Algorithm." IEEE Trans. Inform. Th. 47, 498-519, 2001. https://doi.org/10.1109/18.910572.Sadie, K. M.; du Toit, J.; and du Preez, J. A. "On the Role of Graph Structure on LDPC Decoding Fidelity." IEEE Access 14, 172385-172408, 2026. https://doi.org/10.1109/ACCESS.2026.3747195.Tanner, R. M. "A Recursive Approach to Low Complexity Codes." IEEE Trans. Inform. Th. 27, 533-547, 1981. https://doi.org/10.1109/TIT.1981.1056404.

Cite this as:

Weisstein, Eric W. "Tanner Graph." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/TannerGraph.html

Subject classifications