Color Code Hₓᵧ-Cultivation for Magic States
- 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 (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., 12 Sep 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 :
- X-check:
- Z-check:
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:
- is an X-string-net across all three boundaries (triangle) or red boundaries (rectangle)
- is a Z-string-net analogously
Code distance is minimal weight of or ( for triangle, , for rectangle). Syndrome extraction consists of rounds for spacelike and rounds for timelike error correction, where for triangle and 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 , a +1 eigenstate of , and its encoded logical version in the color code.
- Transversal Implementation: acts across all data qubits ().
- Protocol: Repeatedly apply transversal (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 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- triangular patch is:
- Initialization: Start from .
- Round Loop: For to , apply transversal Clifford, measure all stabilizers, abort if any stabilizer flips.
- 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 .
4. Fidelity Scaling Laws, Error Suppression, and Distillation Boost
Leading-order logical infidelity for cultivation under circuit-level depolarizing noise is:
with typical parameters: –. Example values (p=10⁻³):
- : , success
- : , success
Post-growth: By code expansion (e.g. from to ), infidelity further drops (e.g. with additional rejection).
Distillation Boost: Injecting cultivated states (infidelity ) into a 15-to-1 distillation block, the output infidelity drops to at , far below single-level distillation or standalone cultivation performance. Distillation introduces a leading error term due to undetected faulty T-measurements.
5. Resource Overhead, Space-Time Volume, and Practical Scalability
Resource quantification is via spacetime volume:
Resource benchmarks at :
| Protocol | Qubits × Steps | Effective Spacetime | Typical Infidelity | Scrappage/Success |
|---|---|---|---|---|
| Cultivation-only (d=5) | scrappage | |||
| 15→1 Distillation | success | |||
| Cultivation + Distil | success | |||
| Previous best (color code) | — | — | ||
| Surface code (Litinski) | — | — |
This demonstrates that color-code cultivation, especially when combined with the 15-to-1 distillation, achieves resource overhead within a factor of optimized surface-code protocols and drastically surpasses previous color-code-based distillation schemes (Lee et al., 12 Sep 2024).
6. Thresholds, Scaling, and Post-Selection
Memory thresholds for the color code (using the concatenated MWPM decoder) are:
- Triangular dZ:
- Rectangular dZ:
- Rectangular dX:
- Timelike:
Logical failure scales as:
with –$0.60$, –$0.9$. For cultivation, post-selection based on decoder's logical gap ( abort rate) can suppress infidelity by factors .
Erasure qubits, if detectable (leakage ), 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 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 . 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 are achieved at using only 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., 12 Sep 2024, Vaknin et al., 3 Feb 2025).