Skip to main content
KetQat

Appearance

Definition · intermediate

Homological code of a cellulated surface

The CSS stabilizer code obtained by placing a qubit on every edge of a cellulated surface, an X check on every vertex and a Z check on every face. Logical qubits are counted by the first homology group and the distance is the length of the shortest non-trivial cycle or cocycle.

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 Σ\Sigma be a compact connected surface without boundary, divided into vertices VV, edges EE and faces FF (a cellulation). Over the binary field the cellulation defines a chain complex

C2=F2F  →  ∂2    C1=F2E  →  ∂1    C0=F2V,∂1∂2=0,C_2 = \F_2^{F} \;\xrightarrow{\;\partial_2\;}\; C_1 = \F_2^{E} \;\xrightarrow{\;\partial_1\;}\; C_0 = \F_2^{V}, \qquad \partial_1 \partial_2 = 0 ,

where ∂2\partial_2 sends a face to the sum of the edges around it and ∂1\partial_1 sends an edge to the sum of its two endpoints. An element c∈C1c \in C_1 is a set of edges; it is a cycle if ∂1c=0\partial_1 c = 0 and a boundary if c=∂2fc = \partial_2 f for some f∈C2f \in C_2. A cocycle is a set of edges c∗c^* with ∂2Tc∗=0\partial_2^{T} c^* = 0 (it meets every face in an even number of edges) and a coboundary is a set of the form ∂1Tu\partial_1^{T} u with u∈C0u \in C_0.

Put one qubit on every edge and write X(c)=∏e∈cXeX(c) = \prod_{e \in c} X_e and Z(c)=∏e∈cZeZ(c) = \prod_{e \in c} Z_e. The homological code of the cellulation is the stabilizer code generated by

Av=X(∂1Tv)=∏e∋vXe(v∈V),Bf=Z(∂2f)=∏e∈∂fZe(f∈F).A_v = X(\partial_1^{T} v) = \prod_{e \ni v} X_e \quad (v \in V), \qquad B_f = Z(\partial_2 f) = \prod_{e \in \partial f} Z_e \quad (f \in F).

The generators commute because a vertex and a face share an even number of edges, which is the statement ∂1∂2=0\partial_1 \partial_2 = 0. The code is a CSS code with check matrices HX=∂1H_X = \partial_1 and HZ=∂2TH_Z = \partial_2^{T}, and its parameters are read from the topology:

  • n=∣E∣n = \abs{E};
  • k=dim⁡ker⁡∂1−rank⁡∂2=dim⁡H1(Σ;F2)k = \dim \ker \partial_1 - \operatorname{rank} \partial_2 = \dim H_1(\Sigma; \F_2), which is 2g2g for an orientable surface of genus gg;
  • Z(c)Z(c) commutes with every check exactly when cc is a cycle, and it is a product of the BfB_f exactly when cc is a boundary; X(c∗)X(c^*) commutes with every check exactly when c∗c^* is a cocycle, and it is a product of the AvA_v exactly when c∗c^* is a coboundary. The logical operators are therefore the cycles that are not boundaries and the cocycles that are not coboundaries;
  • dd is the smaller of the minimum number of edges in a cycle that is not a boundary and the minimum number of edges in a cocycle that is not a coboundary.

For a surface with boundary the same construction with relative homology gives the planar codes of Bravyi and Kitaev and Freedman and Meyer. The construction on the torus is the toric code of Kitaev; the general homological formulation is developed by Bombin and Martin-Delgado and in section III of Dennis, Kitaev, Landahl and Preskill.

Builds on
Instance of
Part of

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. A. Yu. Kitaev (2003). Fault-tolerant quantum computation by anyons. Annals of Physics 303, 2-30. doi:10.1016/S0003-4916(02)00018-0arXiv:quant-ph/9707021
  2. Michael H. Freedman, David A. Meyer (2001). Projective Plane and Planar Quantum Codes. Foundations of Computational Mathematics 1, 325-332. doi:10.1007/s102080010013arXiv:quant-ph/9810055
  3. H. Bombin, M. A. Martin-Delgado (2007). Homological error correction: Classical and quantum codes. Journal of Mathematical Physics 48, 052105. doi:10.1063/1.2731356arXiv:quant-ph/0605094
  4. Eric Dennis, Alexei Kitaev, Andrew Landahl, John Preskill (2002). Topological quantum memory. Journal of Mathematical Physics 43, 4452-4505. doi:10.1063/1.1499754arXiv:quant-ph/0110143

Contributors

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

Review history

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

    Chain complex, generators A_v and B_f, H_X = d1 and H_Z = d2^T, commutation, logical operators as nontrivial cycles/cocycles, k = dim H_1 = 2g and distance definition re-derived; n, k and both distances computed numerically for toric codes L = 2, 3 (numpy script); compared with Dennis-Kitaev-Landahl-Preskill, arXiv quant-ph/0110143, Sec. III.A; Crossref metadata of kitaev-2003-anyons, freedman-meyer-2001, bombin-martin-delgado-2007-homological, dennis-2002-topological-memory checked.

    The record pointed to 'section II' of Dennis-Kitaev-Landahl-Preskill for the homological formulation; that material is in Section III (Surface codes, A. Toric codes). Changed to section III.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 54b97ae797646104. Source file knowledge/records/definition/homological-code.md in the content repository (readable there once it is public).