Papers
Topics
Authors
Recent
Search
2000 character limit reached

Color Code Hₓᵧ-Cultivation for Magic States

Updated 15 December 2025
  • Color Code Hₓᵧ-cultivation is a fault-tolerant protocol that uses transversal Clifford measurements and post-selection to prepare high-fidelity magic states in two-dimensional color codes.
  • It integrates advanced techniques such as lattice surgery and code grafting to reduce resource overhead compared to traditional multi-level distillation methods.
  • Benchmarking shows that coupling cultivation with a 15-to-1 distillation block can lower infidelity by orders of magnitude, achieving levels as low as 10⁻¹⁶ under realistic error rates.

Color Code Hₓᵧ-Cultivation refers to a fault-tolerant protocol for preparing magic states in two-dimensional color codes, specifically targeting logical eigenstates of the operator M=(X+Y)/2M = (X+Y)/\sqrt{2} (the so-called Hₓᵧ-type). The approach employs transversal Clifford measurements and post-selection, enabling resource-efficient generation of high-fidelity magic states without relying on traditional multi-level distillation. This protocol leverages unique features of color codes including high encoding rates, transversal Clifford gate implementations, and efficient lattice surgery, and has been demonstrated to outperform previous color-code-based distillation approaches by approximately two orders of magnitude in spacetime resources. Recent advances include integration with the Bravyi–Haah 15-to-1 distillation block and adaption for matchable codes via grafting (Lee et al., 2024), as well as the development of alternative cultivation protocols using surface codes and non-local gates (Vaknin et al., 3 Feb 2025).

1. Color-Code Architecture and Logical Qubits

The two-dimensional color code is defined on a trivalent, three-colorable lattice, most canonically the hexagonal (6-6-6) tiling. Each vertex hosts a qubit, and every face is assigned one of three colors such that adjacent faces always differ in color. Two stabilizer checks are associated with every face ff:

  • X-check: SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v
  • Z-check: SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v

A logical patch is a finite region with “color” or “Pauli” boundaries that condense specific anyons. Triangular patches encode a single qubit, while rectangular patches encode two, each logical operator corresponding to shortest string-net operators connecting boundaries:

  • Xˉ\bar X is an X-string-net across all three boundaries (triangle) or red boundaries (rectangle)
  • Zˉ\bar Z is a Z-string-net analogously

Code distance is minimal weight of Xˉ\bar X or Zˉ\bar Z (dd for triangle, dXd_X, ff0 for rectangle). Syndrome extraction consists of ff1 rounds for spacelike and ff2 rounds for timelike error correction, where ff3 for triangle and ff4 for rectangle.

2. Definition and Mechanism of Magic-State Cultivation

Cultivation is a distillation-free protocol preparing logical magic states by projecting a logical codeword onto a Clifford-eigenstate using transversal Clifford measurements and stringent post-selection on check outcomes. Consider the magic state ff5, a +1 eigenstate of ff6, and its encoded logical version ff7 in the color code.

  • Transversal Implementation: ff8 acts across all data qubits (ff9).
  • Protocol: Repeatedly apply transversal SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v0 (or related Clifford), measure all stabilizers, and abort any run with detected flips.
  • Outcome: The post-selected code block yields the high-fidelity magic state SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v1 if no errors are detected.

This approach bypasses the need for state injection and additional ancilla, exploiting the full transversality of Clifford measurements on color codes. However, the output fidelity decays exponentially with code distance, limiting the lowest achievable logical error rate unless combined with further distillation.

3. Circuit Construction, Lattice Surgery, and Grafting

The explicit cultivation circuit for a distance-SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v2 triangular patch is:

  1. Initialization: Start from SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v3.
  2. Round Loop: For SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v4 to SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v5, apply transversal Clifford, measure all stabilizers, abort if any stabilizer flips.
  3. Post-selection: Output the code block if all rounds pass without error; decode residual errors.

For increased scalability, cultivated states are fed into a 15-to-1 magic-state distillation block using only lattice surgery among color-code patches. Alternatively, after Hₓᵧ measurement cycles, the color code can be grafted into a surface code via merges of adjacent plaquette stabilizers, facilitating use of decoders optimized for minimum-weight matching.

  • Grafting Steps: Merge X- and Z-plaquettes along boundaries, forming weight-6 (or higher) stabilizers, then continue syndrome extraction; bulk stabilizers remain weight-4.
  • Cycle Time Implications: Grafted rounds require approximately twice the depth (CNOT layers) as weight-4 rounds.
  • Logical Error Suppression: After post-selection and code expansion, infidelity is suppressed by approximately an additional SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v6.

4. Fidelity Scaling Laws, Error Suppression, and Distillation Boost

Leading-order logical infidelity for cultivation under circuit-level depolarizing noise SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v7 is:

SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v8

with typical parameters: SX(f)=vfXvS_X(f) = \prod_{v\in f} X_v9–SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v0. Example values (p=10⁻³):

  • SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v1: SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v2, success SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v3
  • SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v4: SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v5, success SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v6

Post-growth: By code expansion (e.g. from SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v7 to SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v8), infidelity further drops (e.g. SZ(f)=vfZvS_Z(f) = \prod_{v\in f} Z_v9 with Xˉ\bar X0 additional rejection).

Distillation Boost: Injecting cultivated states (infidelity Xˉ\bar X1) into a 15-to-1 distillation block, the output infidelity drops to Xˉ\bar X2 at Xˉ\bar X3, far below single-level distillation or standalone cultivation performance. Distillation introduces a leading Xˉ\bar X4 error term due to undetected faulty T-measurements.

5. Resource Overhead, Space-Time Volume, and Practical Scalability

Resource quantification is via spacetime volume:

Xˉ\bar X5

Resource benchmarks at Xˉ\bar X6:

Protocol Qubits × Steps Effective Spacetime Typical Infidelity Scrappage/Success
Cultivation-only (d=5) Xˉ\bar X7 Xˉ\bar X8 Xˉ\bar X9 Zˉ\bar Z0 scrappage
15→1 Distillation Zˉ\bar Z1 Zˉ\bar Z2 Zˉ\bar Z3 Zˉ\bar Z4 success
Cultivation + Distil Zˉ\bar Z5 Zˉ\bar Z6 Zˉ\bar Z7 Zˉ\bar Z8 success
Previous best (color code) Zˉ\bar Z9 Xˉ\bar X0
Surface code (Litinski) Xˉ\bar X1 Xˉ\bar X2

This demonstrates that color-code cultivation, especially when combined with the 15-to-1 distillation, achieves resource overhead within a factor Xˉ\bar X3 of optimized surface-code protocols and drastically surpasses previous color-code-based distillation schemes (Lee et al., 2024).

6. Thresholds, Scaling, and Post-Selection

Memory thresholds for the color code (using the concatenated MWPM decoder) are:

  • Triangular dZ: Xˉ\bar X4
  • Rectangular dZ: Xˉ\bar X5
  • Rectangular dX: Xˉ\bar X6
  • Timelike: Xˉ\bar X7

Logical failure scales as:

Xˉ\bar X8

with Xˉ\bar X9–Zˉ\bar Z0, Zˉ\bar Z1–Zˉ\bar Z2. For cultivation, post-selection based on decoder's logical gap (Zˉ\bar Z3 abort rate) can suppress infidelity by factors Zˉ\bar Z4.

Erasure qubits, if detectable (leakage Zˉ\bar Z5), can be post-selected without compromising logical error, albeit reducing overall acceptance rate.

7. Comparative Protocols: Hₓᵧ- vs. CX-Cultivation and Platform Considerations

The Hₓᵧ-cultivation protocol leverages transversality of Zˉ\bar Z6 on triangular color codes, enabling direct logical magic state preparation with local CNOT gates. Alternatively, CX-cultivation uses Toffoli (CCX) gates to project pairs of surface codes via a GHZ ancilla, expanding afterwards without grafting.

Key trade-offs:

  • Hₓᵧ-cultivation: Optimal for local 2D devices, lower overhead at Zˉ\bar Z7. Advantageous erasure acceptance due to fewer data qubits.
  • CX-cultivation: Simplifies implementation for platforms with native multi-qubit gates (Rydberg atoms, trapped ions), slightly higher qubit-cycles and attempts per kept shot.

For superconducting platforms restricted to CNOTs, Hₓᵧ-cultivation plus surface-code grafting provides the lowest overhead. For architectures with native long-range connectivity, CX-cultivation becomes preferable (Vaknin et al., 3 Feb 2025).

Summary

Color code Hₓᵧ-cultivation enables fault-tolerant, resource-efficient preparation of high-fidelity magic states by combining transversal Clifford measurement (cultivation) and advanced lattice surgery distillation blocks. When integrated with optimized distillation, infidelities Zˉ\bar Z8 are achieved at Zˉ\bar Z9 using only dd0 qubits, with thresholds, scaling, and protocol efficiency competitive with or surpassing surface-code schemes. Further improvements in decoder performance may render color-code cultivation-distillation the most resource-effective pathway for scalable quantum computing (Lee et al., 2024, Vaknin et al., 3 Feb 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (2)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Color Code Hₓᵧ-Cultivation.