Skip to main content
KetQat

Appearance

Definition · intermediate

Chain complex, homology and cohomology over a field

A sequence of vector spaces and linear boundary maps whose consecutive composites vanish. Cycles modulo boundaries form the homology groups, the transposed maps give cohomology, and the dimensions are the Betti numbers. Over the binary field a three-term complex is the same data as a CSS code.

Established definitionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Let F\F be a field. A (bounded, finite-dimensional) chain complex over F\F is a sequence of finite-dimensional F\F-vector spaces and linear maps

0→Cm→  ∂m  Cm−1→  ∂m−1  ⋯→  ∂1  C0→0,∂i ∂i+1=0  for all i.0 \to C_m \xrightarrow{\;\partial_m\;} C_{m-1} \xrightarrow{\;\partial_{m-1}\;} \cdots \xrightarrow{\;\partial_1\;} C_0 \to 0, \qquad \partial_{i}\, \partial_{i+1} = 0 \ \text{ for all } i .

Elements of CiC_i are ii-chains and ∂i\partial_i is the boundary map. Put ∂0=0\partial_0 = 0 and ∂m+1=0\partial_{m+1} = 0.

  • Zi=ker⁡∂iZ_i = \ker \partial_i are the ii-cycles and Bi=im⁡∂i+1B_i = \operatorname{im} \partial_{i+1} the ii-boundaries; ∂i∂i+1=0\partial_i \partial_{i+1} = 0 says exactly Bi⊆ZiB_i \subseteq Z_i.
  • The ii-th homology is the quotient Hi=Zi/BiH_i = Z_i / B_i, and the Betti number is bi=dim⁡Hi=dim⁡ker⁡∂i−rank⁡∂i+1b_i = \dim H_i = \dim \ker \partial_i - \operatorname{rank} \partial_{i+1}.

Fix a basis of each CiC_i (the cells), identify Ci≅FniC_i \cong \F^{n_i} and write ∂i\partial_i as a matrix. The cochain complex uses the transposed maps δi=∂i+1T:Ci→Ci+1\delta^{i} = \partial_{i+1}^{T} : C^{i} \to C^{i+1} with Ci=FniC^{i} = \F^{n_i}, which also satisfy δi+1δi=0\delta^{i+1}\delta^{i} = 0. Its cocycles Zi=ker⁡δiZ^{i} = \ker \delta^{i}, coboundaries Bi=im⁡δi−1B^{i} = \operatorname{im} \delta^{i-1} and cohomology Hi=Zi/BiH^{i} = Z^{i}/B^{i} are defined in the same way. (Basis-free, CiC^{i} is the dual space of CiC_i and δi\delta^{i} is the dual map of ∂i+1\partial_{i+1}.)

A chain map f:C∙→C∙′f : C_\bullet \to C'_\bullet is a family of linear maps fi:Ci→Ci′f_i : C_i \to C'_i with ∂i′fi=fi−1∂i\partial'_i f_i = f_{i-1} \partial_i; it sends cycles to cycles and boundaries to boundaries and so induces linear maps Hi→Hi′H_i \to H'_i.

Over F=F2\F = \F_2 a chain is a subset of cells (its support) and its weight ∣c∣\abs{c} is the number of cells in it. The systole of HiH_i is min⁡{∣c∣:c∈Zi∖Bi}\min\{ \abs{c} : c \in Z_i \setminus B_i \} and the cosystole of HiH^{i} is min⁡{∣c∣:c∈Zi∖Bi}\min\{ \abs{c} : c \in Z^{i} \setminus B^{i} \}.

For a three-term complex C2→C1→C0C_2 \to C_1 \to C_0 over F2\F_2, with qubits on the cells of C1C_1, one choice of the two check matrices of a CSS code is HX=∂1H_X = \partial_1 and HZ=∂2TH_Z = \partial_2^{T}; the commutation condition HXHZT=0H_X H_Z^{T} = 0 is ∂1∂2=0\partial_1 \partial_2 = 0, the number of logical qubits is b1b_1, and the distance is the smaller of the systole and the cosystole in degree 1 (see the homological code). The other assignment, with XX and ZZ exchanged, is equally common. The general theory is in Munkres; the coding dictionary is surveyed by Breuckmann and Eberhardt.

Builds on
Mentions
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. James R. Munkres (2018). Elements of Algebraic Topology. CRC Press (reissue of the 1984 Addison-Wesley edition). doi:10.1201/9780429493911
  2. Nikolas P. Breuckmann, Jens Niklas Eberhardt (2021). Quantum Low-Density Parity-Check Codes. PRX Quantum 2, 040101. doi:10.1103/PRXQuantum.2.040101arXiv:2103.06309

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Definitions (cycles, boundaries, homology, Betti numbers, transposed cochain complex, chain maps, systole and cosystole) checked for consistency; CSS dictionary re-derived: with H_X = d1 and H_Z = d2^T the commutation is d1 d2 = 0, k = n - rank d1 - rank d2 = b_1, Z-logicals are Z_1 minus B_1 (systole) and X-logicals Z^1 minus B^1 (cosystole). Compared with Breuckmann-Eberhardt, arXiv:2103.06309, section on chain complexes and CSS codes (d1 = H_X, H_1 = ker d1/im d2, H^1 = ker d2^T/im d1^T). Munkres (not openly readable) is cited only as general background; Crossref metadata of both references match.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision 562f6b2f4d48c4b0. Source file knowledge/records/definition/chain-complex.md in the content repository (readable there once it is public).