Skip to content
Quantum.world

Research

Cups and Gates II: Operads, twists, and addressable intra-code gates

Overview Research area: Quantum fault-tolerant quantum computation, specifically the construction of logical gates in quantum CSS codes via algebraic topology (cohomology operations, operads, and homo

Cups and Gates II: Operads, twists, and addressable intra-code gates
arXiv
2610.05214
Published
2026-10-04
Authors
Nikolas P. Breuckmann, Margarita Davydova, Jens Niklas Eberhardt, Lucas Ferdinand Hallwirth, Nathanan Tantivasadakarn

AI summary

Overview

Research area: Quantum fault-tolerant quantum computation, specifically the construction of logical gates in quantum CSS codes via algebraic topology (cohomology operations, operads, and homotopy theory). It is Part II of the "Cups and Gates" series.

Technical level: Advanced. The paper assumes fluency in algebraic topology (cochain complexes, Steenrod operations, operads, spectral/homological algebra) alongside quantum error correction.

Scope in one sentence: The paper builds a universal algebraic machine that turns symmetries, coefficient lifts, and folds of a code's cochain complex into constant-depth, individually addressable non-Clifford logical gates acting inside a single code block, including codes that are not manifolds.

What This Paper Is About

Part I of this series showed how "cup products" produce finite-depth logical gates of the form (C^{k-1}Z) across multiple copies of a quantum code, but ordinary (\mathbb{Z}/2) cup products only ever yield phases of (\pm 1), so they cannot produce gates like the (T) gate. This paper asks how to get non-Clifford rotation gates within a single code block, how to address individual logical qubits rather than acting on all of them at once, and how to do this for qLDPC codes that are not tied to any manifold.

Key Contributions

  1. Twisting by code automorphisms. The authors show that substituting symmetries (automorphisms of the cochain complex) into a multilinear cohomology invariant produces invariants of a single cohomology class, giving single-block gates such as (CCZ) on the three-torus, on products of a surface with a circle, and on tricycle and Golowich–Tamo–Zhu codes.

  2. Coefficient lifting via (E_\infty)-structures and operads. By organizing the higher homotopies of the cup product using the surjection operad of McClure–Smith and Berger–Fresse, and organizing them along a group action using a free resolution (W) of (\mathbb{Z}) over (\mathbb{Z}[G]), the authors construct operations that lift coefficients from (\mathbb{Z}/2) to (\mathbb{Z}/2^k), enabling all diagonal gates such as (R(2\pi/2^k)).

  3. A universal construction for twisted higher cohomology operations. The main mathematical result packages the whole construction into a diagram of chain maps built from Steenrod's universal complex (M = M(\theta)[-q]) and the universal object (W \otimes_{\mathbb{Z}[G]} (R_\omega \otimes M^{\otimes r})). Its homology (H_n(G, R_\omega \otimes M^{\otimes r})) is computable by finite linear algebra and classifies these operations independently of the space.

  4. Addressability via cochain maps and folds. Composing a cohomology invariant with a cochain map (F) (which need be neither invertible nor compatible with the symmetry) yields a new invariant (\Phi \circ F); "circle folds" (s: S^1 \to S^1) with (s^2 = s), their complements (1 - s^*), and relative cochains are used to isolate individual logical qubits and parities.

  5. New mathematics. The paper introduces operations such as higher twisted Pontryagin powers, which the authors state have not previously appeared in the mathematics literature.

Main Findings

  • New operations recover known ones as a special case: For (G = C_2) acting trivially, (\theta = 2), and (R = \mathbb{Z}/4), the cycle (z = e_0 \otimes u \otimes u + 2e_1 \otimes u \otimes v) recovers the integrated Pontryagin square.
  • Coefficient lifts for specific groups: For (G = C_4) the construction yields an operation lifting (\mathbb{Z}/2) to (\mathbb{Z}/8); for (G = C_3) it lifts (\mathbb{Z}/3) to (\mathbb{Z}/9).
  • Addressable (T) gates on 3D and 4D toric codes: The (C_4)-twisted Pontryagin power with circle folds gives individually addressable (\overline{T}i), (\overline{CS}{ij}), and (\overline{CCZ}_{ijk}) on the four-dimensional toric code (T^4) with qubits on edges; the (C_3)-twisted Pontryagin cube gives an addressable qutrit (\overline{T} = \mathrm{diag}(1, \zeta_9, \zeta_9^{-1})) on the qutrit three-dimensional toric code (T^3).
  • Relative cohomology and folding produce a single-block (T): Starting from a known (T) gate on three copies of a surface code on a tetrahedron, the authors show all three inputs can be supplied by one surface code on a cube with relative boundary conditions on two opposite faces, giving a constant-depth (T) on the single logical qubit of the 3D surface code.
  • Generalization to arbitrary dimension: On the (d)-torus (T^d) with qubits on edges, the construction gives addressable (\overline{R}_i(2\pi/2^d)); on any closed oriented (M^n) with (n \geq 3) and (H_1(M;\mathbb{Z}/2) \neq 0), it gives a (\overline{T}) on the circle qubit.
  • Non-manifold qLDPC examples: Addressable (\overline{T}_i) gates are obtained on all 16 logical qubits of the 3D tile code ([[545,16]]) of [13], and on all 15 logical qubits of the magic-tricycle code ([[108,15,(12,6)]]) of [57].
  • Other single-block gates: Twisted operations give a product of three (\overline{CCZ}) gates in one block on the magic-tricycle code ([[108,15,(12,6)]]), and (\Omega(N^{1-\varepsilon})) addressable (\overline{CCZ}) gates in one block on Golowich–Tamo–Zhu codes ([[N, N^{1-\varepsilon}, N^{(1-\varepsilon)/3}]]).
  • No depth optimization performed: The authors state they did nothing to optimize circuit depth; every operation lives in an equivalence class (cohomologous universal cocycles, different resolutions (W), different comparison maps (W \to \mathcal{X}(r))) whose members give the same gate with different cochain-level expressions. No explicit circuit depth or gate count figures are reported.

Methodology in Plain English

The authors work at the level of cochains — the algebraic data that labels computational basis states of a CSS code — rather than at the level of individual qubit circuits. The central trick is that a function whose value on a cocycle depends only on its cohomology class defines a logical gate, and if that function is a sum of terms each touching a bounded number of bits, the corresponding circuit has constant depth.

To get beyond (\pm 1) phases, they "lift" bits to integers modulo (2^k). Naively doing so breaks the cocycle condition, so correction terms are needed; these corrections are precisely the higher homotopies expressing that the cup product is commutative only up to homotopy. The authors organize these homotopies systematically using an operad (a bookkeeping device for operations with many inputs and their relations) and a free resolution of the symmetry group, then package everything into a single universal chain complex that depends only on the group, the coefficients, and the degree — not on the specific code. To make a gate act on selected logical qubits rather than all of them, they pre-compose the operation with simple bounded-weight cochain maps, such as folding a circle onto a semicircle, which kill some cohomology classes and retain others.

Why This Matters

Impact on research: The work removes what the authors identify as basic open desiderata in the field — non-Clifford gates inside a single code block, addressability of individual logical qubits, and applicability beyond topological codes. It also imports genuinely new algebraic-topological machinery (twisted higher cohomology operations, (E_\infty)-structures organized by resolutions) into quantum fault tolerance, and the authors expect the operations themselves to be of independent interest in homotopy theory.

Potential real-world applications (speculative, as the paper is theoretical):

  • Fault-tolerant implementations of non-Clifford gates such as (T) and controlled-phase rotations, which are the expensive resource in magic-state distillation overhead.
  • Lower-space-overhead quantum architectures, since gates act within one code block rather than requiring multiple copies.
  • High-rate qLDPC codes as practical candidates for hardware, now with a route to non-Clifford logic.
  • Addressable gates supporting selective operations on subsets of logical qubits, relevant to compiling algorithms.

Industry relevance: The paper is theoretical and reports no experimental data, error-rate simulations, or resource counts. Its relevance is to groups developing qLDPC-based fault-tolerant architectures and to quantum compiler and architecture researchers interested in constant-depth gate sets.

Future Directions

  1. Systematically applying the universal construction to qLDPC codes beyond manifolds, using tensor and balanced products of classical codes with cup products, and the multiplicative structures of sheaf and hypergraph-product codes.
  2. Mapping the limits of addressability — which gates at a given level of the Clifford hierarchy can be individually addressed, and which logical bases are reachable.
  3. Deriving a nonlocal analogue of the Bravyi–König bound, i.e., geometric constraints on constant-depth circuits with nonlocal connectivity for codes tied to (d)-dimensional spaces.
  4. Computing the universal twisted homology groups (H_n(G, R_\omega \otimes M^{\otimes r})) for all finite abelian groups, degrees and coefficients, which would give a complete classification of this class of operations.
  5. Optimizing circuit depth by searching within each operation's equivalence class for sparse representatives of small depth.

Target Audience

Advanced researchers in quantum error correction and fault-tolerant quantum computing with a strong algebraic-topology background; mathematicians working in homotopy theory, operads, or Steenrod operations who are interested in applications to quantum information; and mathematically literate graduate students seeking a systematic framework for constructing logical gates in qLDPC codes. Readers without comfort in cochain complexes, cohomology, and operads will find the technical core difficult, though the introduction and Table 1 are accessible as a catalogue of results.

Authors’ abstract

In Part I, we introduced a general framework for constructing logical gates in quantum CSS codes from cohomology invariants, focusing on cup products and their generalizations from topological to qLDPC codes. In particular, we produced a family of $C^{k-1}Z$ logical gates that we called copy-cup on $k$ copies of the same quantum code implemented by finite-depth circuits. Here, we vastly extend this framework by introducing twists incorporating code automorphisms, higher twisted cohomology operations, and folding operations in relative cohomology. The framework includes operations lifting coefficients from $\mathbb{Z}/2$ to $\mathbb{Z}/2^k$, enabling all diagonal logical gates such as single-qubit rotations $\operatorname{R}(2π/2^k)$. Composing these operations with maps that select cohomology classes yields addressable logical gates. Examples include addressable $T$ gates on three- and four-tori and gates in qLDPC codes beyond topological ones. We introduce cohomology operations, such as the higher twisted Pontryagin powers, that to our knowledge have not previously appeared in the mathematics literature. These operations arise from $E_\infty$-structures on cochains, with explicit constructions using cyclic resolutions and the surjection operad. We expect these results to be of independent interest in homotopy theory. Our formalism applies much more broadly to chain complexes carrying suitable operadic structures, and we expect this operadic perspective to uncover further connections between homotopy theory and fault-tolerant quantum gates.

Read the original paper