Skip to content
Current section
The Quantum Computing Enthusiast’s Hub
Saved
All sections

All sections

Saved
Skip Learn navigation
Encyclopedia
Topic

Bivariate bicycle codes

Bivariate bicycle codes are structured quantum LDPC constructions built from commuting sparse matrices associated with two-dimensional cyclic shifts.

Edition released Coverage: Overview · Technical · Research
On this page

Explanation and significance

The algebra allows compact descriptions of check graphs with useful finite-size parameters. Their appeal concerns potential memory overhead and check connectivity, but a favorable code table is not a complete universal processor design. Logical addressing, non-Clifford operations and physical realization of graph edges remain separate engineering questions.

Mechanism and mathematical structure

Let A and B be commuting binary matrices. A CSS construction uses H_X=[A B] and H_Z=[B^T A^T]. Then H_X H_Z^T=AB+BA=0 over F2. Choosing A and B as sparse polynomials of commuting cyclic-shift matrices produces structured checks. Code length, rank and distance require explicit analysis of the chosen polynomials and lattice dimensions.

Fully worked reference example

Let S and T shift along the two directions of a periodic 4-by-5 index set, so each is 20×20 and ST=TS. Set illustrative A=I+S+T and B=I+ST+S² over F2. Because both are polynomials in S,T, they commute. The resulting check matrices have 40 columns, hence 40 data positions, and cross-type commutation follows exactly. This algebraic example does not assert k or d; those require rank and minimum-logical-weight calculations.

Limits and misconceptions

Coinciding shift terms can cancel over F2, changing check weight. A drawn planar-looking graph can still require long connections. Simulated overhead comparisons must retain decoder, noise model, ancilla count and equal-target logical performance.

Scientific relationships

Is a quantum LDPC CSS construction. Depends on sparse commuting matrices. Is related to the low-overhead memory study in the cited source.

Polynomial algebra is only the first test

Let the periodic index set have dimensions l and m, with commuting shift matrices S and T satisfying S^l=T^m=I. A polynomial in these matrices is evaluated over the binary field, so identical monomials cancel in pairs. The physical adjacency graph depends on the reduced matrix, not merely the written polynomial. For example, on a length-two direction S²=I, so I+S² vanishes rather than contributing two neighbors.

For H_X=[A B] and H_Z=[B^T A^T], cross-type commutation follows from AB+BA=0. This does not require either A or B to be invertible. Their kernels and joint relations determine how many independent checks remain. Code distance then requires finding nontrivial logical classes after quotienting by the stabilizers, a separate problem from verifying the polynomial identity.

Resolving the illustrative forty-qubit example

For the baseline's l=4, m=5 choice A=I+S+T and B=I+ST+S², exact binary elimination gives rank(A)=20 and rank(B)=20. Consequently H_X and H_Z each have rank twenty, and the forty-column CSS construction has k=40−20−20=0. It is a valid commuting stabilizer construction, but it encodes no logical qubits. A logical distance for stored qubits is therefore not supplied for this example.

This is a useful concrete failure mechanism in code design: sparse commuting checks can consume the entire Hilbert space. The original example intentionally left k and d unresolved; computing k closes that algebraic question without turning the example into a useful memory code. The result is independently reproduced by explicitly constructing all twenty-by-twenty shift matrices with periodic coordinates.

A contrasting rank-deficient construction

On the same 4-by-5 periodic set, choose A=I+S and B=I+T. Each check now has weight four across the two data blocks. The combined matrix [A B] has rank nineteen, as does [B^T A^T], giving k=40−19−19=2. This simple polynomial construction is closely related to the toric-code chain structure; it is an illustrative commuting-shift code, not a claim that it has the same parameters or performance as the weight-six bivariate-bicycle memories studied in the cited work.

The comparison isolates rank as an actual scientific design criterion. Both examples use the same number of data positions and both commute exactly. One has no protected logical subsystem and the other has two logical qubits. Neither data count nor row weight alone determines this difference. A useful code table therefore reports independently established n, k, and d, together with its exact matrices or polynomial convention.

Sparse connectivity still creates a scheduling problem

If a check has w distinct data neighbors, sequential ancilla extraction needs at least w ancilla-data interactions in that simple implementation. Across the whole code, shared data positions prevent arbitrary checks from applying conflicting two-qubit gates simultaneously. Edge coloring or another scheduling construction can organize the interaction graph into collision-free layers, but the minimum depth depends on graph structure and gate constraints.

An abstract long-range edge can be implemented by direct coupling, movement, swapping, or a mediated operation. These mechanisms have different noise and timing costs. Replacing every edge by a perfect equal-duration gate favors architectures that cannot actually realize the graph with that cost. Conversely, forcing an intrinsically mobile platform into a fixed nearest-neighbor model can unfairly discard its capabilities. The implementation boundary must be matched to the intended hardware.

Memory efficiency and computational efficiency

A block encoding many logical qubits can reduce data-qubit overhead per stored qubit. Logical operations may still require additional blocks, auxiliary states, selective measurements, or code transformations. A memory simulation does not automatically specify efficient individual logical addressing or a complete non-Clifford gate set. Those operations should be included when translating a storage advantage into an algorithm resource estimate.

Decoder performance also depends on the chosen circuit and error correlations. A favorable simulated threshold under one stochastic model does not establish the same threshold for coherent control errors, persistent leakage, or shared-coupler faults. The publication's theoretical and simulated status must remain visible when discussing its results. No fabricated processor achievement follows from the existence of a parity-check matrix.

Common kernels diagnose encoded dimension

For arbitrary square A and B, k equals dim(ker A∩ker B)+dim(ker A^T∩ker B^T), obtained by applying rank-nullity to the two check matrices. For the periodic polynomial constructions here, reversing both lattice coordinates conjugates each shift to its transpose, so the two intersection dimensions agree. The encoded dimension is therefore twice the common-kernel dimension. The full-rank illustrative A has no common kernel and hence k=0. In the I+S, I+T example, a uniform binary vector spans the common kernel, giving k=2. This is a rank statement; it does not determine logical weight.

Sources

  • Sergey Bravyi et al. · · Research paper · Peer-reviewed publication recorded · nature.com
    Verification scope

    Recorded source check ·

    Commuting polynomial matrices, rank definitions, and simulation scope checked. Version explicitly revised numerical results after a simulation bug; synthetic 40-qubit rank calculations use their own matrices.

    Selected text only; no full threshold proof, experimental replication, or current performance ranking.