Skip to main content
KetQat

Appearance

Theorem · intermediate

Nondegenerate pairing between homology and cohomology over a field

For a chain complex of finite-dimensional spaces over a field, evaluating cocycles on cycles gives a well-defined nondegenerate bilinear pairing between cohomology and homology in each degree; in particular they have the same dimension. For CSS codes this is the pairing of X-type and Z-type logical operators.

Established resultMachine-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.

With cycles Zi=ker⁡∂iZ_i = \ker \partial_i, boundaries Bi=im⁡∂i+1B_i = \operatorname{im} \partial_{i+1}, cocycles Zi=ker⁡∂i+1TZ^{i} = \ker \partial_{i+1}^{T} and coboundaries Bi=im⁡∂iTB^{i} = \operatorname{im} \partial_i^{T}, all subspaces of Fn\F^{n}, the formula

⟨[z∗],[z]⟩=z∗⋅z(z∗∈Zi, z∈Zi)\big\langle [z^{*}], [z] \big\rangle = z^{*} \cdot z \qquad (z^{*} \in Z^{i},\ z \in Z_i)

defines a bilinear map Hi×Hi→FH^{i} \times H_i \to \F that does not depend on the representatives, and it is nondegenerate: if ⟨[z∗],[z]⟩=0\langle [z^{*}], [z] \rangle = 0 for all [z][z] then [z∗]=0[z^{*}] = 0, and if it vanishes for all [z∗][z^{*}] then [z]=0[z] = 0. Consequently

dim⁡Hi=dim⁡Hi,\dim H^{i} = \dim H_i ,

and for every basis [z1],…,[zk][z_1], \dots, [z_k] of HiH_i there are cocycles z1∗,…,zk∗z_1^{*}, \dots, z_k^{*} with za∗⋅zb=δabz_a^{*} \cdot z_b = \delta_{ab}.

In a homological CSS code, Z(z)Z(z) and X(z∗)X(z^{*}) commute exactly when z∗⋅z=0z^{*} \cdot z = 0 over F2\F_2, so the theorem says that the ZZ-type logical operators (non-trivial cycles) and the XX-type logical operators (non-trivial cocycles) can be chosen in anticommuting pairs, one pair per logical qubit, and that a cycle which commutes with every XX-type logical operator is a product of stabilizers. Over a field this is the content of the universal coefficient theorem for cohomology (Munkres); the coding interpretation is standard (Breuckmann and Eberhardt).

Holds when

  • Ci+1→∂i+1Ci→∂iCi−1C_{i+1} \xrightarrow{\partial_{i+1}} C_i \xrightarrow{\partial_i} C_{i-1} is part of a chain complex of finite-dimensional vector spaces over a field F\F, with a fixed basis of Ci≅FnC_i \cong \F^{n} and the standard bilinear form a⋅b=∑jajbja \cdot b = \sum_j a_j b_j.

Proof

Proof of the homology–cohomology pairing over a fieldMachine-checked

For a subspace W⊆FnW \subseteq \F^{n} write W⊥={x:x⋅w=0 ∀w∈W}W^{\perp} = \{ x : x \cdot w = 0 \ \forall w \in W \}. The standard form is nondegenerate, so dim⁡W⊥=n−dim⁡W\dim W^{\perp} = n - \dim W and (W⊥)⊥=W(W^{\perp})^{\perp} = W for every subspace, over any field (no positivity is needed; over F2\F_2 a nonzero vector can be orthogonal to itself, which does no harm here).

Four complements. For any matrix AA, ker⁡A=(im⁡AT)⊥\ker A = (\operatorname{im} A^{T})^{\perp}, because Ax=0Ax = 0 if and only if y⋅Ax=(ATy)⋅x=0y \cdot Ax = (A^{T} y) \cdot x = 0 for all yy. Applying this with A=∂iA = \partial_i and with A=∂i+1TA = \partial_{i+1}^{T}, and taking complements,

Zi=(Bi)⊥,Zi=(Bi)⊥,Bi=(Zi)⊥,Bi=(Zi)⊥.Z_i = (B^{i})^{\perp}, \qquad Z^{i} = (B_i)^{\perp}, \qquad B_i = (Z^{i})^{\perp}, \qquad B^{i} = (Z_i)^{\perp} .

Well defined. If z∗∈Zi=Bi⊥z^{*} \in Z^{i} = B_i^{\perp} and b∈Bib \in B_i then z∗⋅b=0z^{*} \cdot b = 0, so changing zz by a boundary does not change z∗⋅zz^{*} \cdot z. Symmetrically, if z∈Ziz \in Z_i and b∗∈Bi=Zi⊥b^{*} \in B^{i} = Z_i^{\perp} then b∗⋅z=0b^{*} \cdot z = 0. Bilinearity is inherited from the dot product.

Nondegenerate. Suppose z∗⋅z=0z^{*} \cdot z = 0 for all z∈Ziz \in Z_i. Then z∗∈Zi⊥=Biz^{*} \in Z_i^{\perp} = B^{i}, i.e. [z∗]=0[z^{*}] = 0 in HiH^{i}. Suppose z∗⋅z=0z^{*} \cdot z = 0 for all z∗∈Ziz^{*} \in Z^{i}. Then z∈(Zi)⊥=Biz \in (Z^{i})^{\perp} = B_i, i.e. [z]=0[z] = 0 in HiH_i.

Dimensions and dual bases. A nondegenerate bilinear pairing of finite-dimensional spaces U×W→FU \times W \to \F gives injective linear maps U→W∗U \to W^{*} and W→U∗W \to U^{*}, so dim⁡U≤dim⁡W≤dim⁡U\dim U \le \dim W \le \dim U. Hence dim⁡Hi=dim⁡Hi\dim H^{i} = \dim H_i, the map Hi→(Hi)∗H^{i} \to (H_i)^{*} is an isomorphism, and the preimage of the dual basis of [z1],…,[zk][z_1], \dots, [z_k] provides classes [za∗][z_a^{*}] with za∗⋅zb=δabz_a^{*} \cdot z_b = \delta_{ab}.

This linear-algebra argument is the field case of the universal coefficient theorem treated in Munkres.

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)

    Re-derived: independence of representatives (z* + d_i^T a).z = z*.z and z*.(z + d_{i+1} b) = z*.z; nondegeneracy from Z^i = (B_i)^perp and B^i = (Z_i)^perp for the standard form over a field (finite dimension); equality of dimensions and existence of a dual basis; the CSS reading (Z(z) and X(z*) commute iff z*.z = 0 over F_2). Consistent with the H_1/H^1 description in Breuckmann-Eberhardt, arXiv:2103.06309. The universal coefficient theorem over a field (H^i = Hom(H_i, F)) is standard; Munkres not openly readable.

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 e0d082754747c9a0. Source file knowledge/records/theorem/homology-cohomology-pairing.md in the content repository (readable there once it is public).