Flag at origin: a modular fault-tolerant preparation for CSS codes

Fault-tolerant (FT) preparation of diverse logical stabilizer states in quantum error-correcting (QEC) codes is essential for FT computation. Existing constructions of these FT circuits are often constrained by classical computational resources or result in unnecessarily large quantum circuits. This work introduces a modular construction for FT preparation circuits in CSS codes of arbitrary distance, yielding significantly more resource-efficient circuits than previous approaches-especially for the largest codes studied. The key insight is that in bipartite CX circuits used to prepare CSS states, X errors propagate from the partition of control qubits to the partition of target qubits, while Z errors propagate in the opposite direction. By appending X-detecting flag gadgets to the control partition and Z-detecting flag gadgets to the target partition, the circuit becomes FT. To manage the associated overhead, we propose an algorithm that discovers optimal (or near-optimal) flag gadgets at any distance. These gadgets are reusable across different QEC codes and FT subroutines, such as flag-based QEC. We estimate the logical state preparation error using subset-sampling Monte Carlo simulations at the circuit level, combined with approximate maximum-likelihood look-up table decoding. On Quantinuum’s H2-1 device, preparation of the $$| \overline{0}\left.\right\rangle$$ state in the [[23,1,7]] Golay code achieves a logical SPAM error rate of $$3.{3}_{-2.4}^{+8.6}\times 1{0}^{-4}$$ with an acceptance rate of 47.23(86)%. This estimation surpasses (within 95% confidence intervals) the minimum SPAM error rate of 6.0(1.6) × 10−4 for a physical $$| 0\left.\right\rangle$$, as well as the best previously demonstrated logical state preparations. The authors introduce the flag-at-origin technique for modular, fault-tolerant preparation of Calderbank-Shor-Steane quantum states. It detects errors before they spread and applies broadly across CSS codes and distances with low circuit overhead.

Authors

Institutions

Publication Details

Journal
Nature Communications
Published
2026-12-03
DOI
https://doi.org/10.1038/s41467-026-79483-9
Citations
22
Primary Topic
Quantum Computing Algorithms and Architecture
Type
article
Field-Weighted Citation Impact
15.32
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Flag at origin: a modular fault-tolerant preparation for CSS codes

Diego Forlivesi, David Amaro
22 citations
Nature Communications
Quantum Computing Algorithms and Architecture
15.32
article

Flag at origin: a modular fault-tolerant preparation for CSS codes

Diego Forlivesi, David Amaro
article en
22 citations

Abstract

Fault-tolerant (FT) preparation of diverse logical stabilizer states in quantum error-correcting (QEC) codes is essential for FT computation. Existing constructions of these FT circuits are often constrained by classical computational resources or result in unnecessarily large quantum circuits. This work introduces a modular construction for FT preparation circuits in CSS codes of arbitrary distance, yielding significantly more resource-efficient circuits than previous approaches-especially for the largest codes studied. The key insight is that in bipartite CX circuits used to prepare CSS states, X errors propagate from the partition of control qubits to the partition of target qubits, while Z errors propagate in the opposite direction. By appending X-detecting flag gadgets to the control partition and Z-detecting flag gadgets to the target partition, the circuit becomes FT. To manage the associated overhead, we propose an algorithm that discovers optimal (or near-optimal) flag gadgets at any distance. These gadgets are reusable across different QEC codes and FT subroutines, such as flag-based QEC. We estimate the logical state preparation error using subset-sampling Monte Carlo simulations at the circuit level, combined with approximate maximum-likelihood look-up table decoding. On Quantinuum’s H2-1 device, preparation of the $$| \overline{0}\left.\right\rangle$$ state in the [[23,1,7]] Golay code achieves a logical SPAM error rate of $$3.{3}_{-2.4}^{+8.6}\times 1{0}^{-4}$$ with an acceptance rate of 47.23(86)%. This estimation surpasses (within 95% confidence intervals) the minimum SPAM error rate of 6.0(1.6) × 10−4 for a physical $$| 0\left.\right\rangle$$, as well as the best previously demonstrated logical state preparations. The authors introduce the flag-at-origin technique for modular, fault-tolerant preparation of Calderbank-Shor-Steane quantum states. It detects errors before they spread and applies broadly across CSS codes and distances with low circuit overhead.

Nature Communications
Quantinuum (United Kingdom) (GB)
Openalex Percentile: Top 1%
Quantum Computing Algorithms and Architecture
15.32
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon