Contextuality of Quantum Error-Correcting Codes

Fault-tolerant quantum computation requires quantum error correction (QEC), which relies on entanglement to protect information from local noise. Achieving universality, however, demands overcoming the Eastin-Knill theorem. This is often accomplished through strategies like magic state distillation, a process that prepares computational resources—namely, magic states—whose power is now understood to be rooted in quantum contextuality, a fundamental nonclassical feature generalizing Bell nonlocality. Yet, the broader role of contextuality in enabling universality, including its significance as an inherent feature of QEC codes and protocols themselves, has remained largely unexplored. In this work, we develop a rigorous framework for contextuality in QEC and prove three main results. Fundamentally, we show that subsystem stabilizer codes with two or more gauge qubits are strongly contextual in their partial closure, while others are noncontextual, establishing a clear criterion for identifying contextual codes. Mathematically, we unify Abramsky-Brandenburger’s sheaf-theoretic and Kirby-Love’s tree-based definitions of contextuality, resolving a conjecture of Kim and Abramsky. Practically, we prove that many widely studied code-switching protocols which admit universal transversal gate sets, such as the doubled color codes introduced by Bravyi and Cross, are necessarily strongly contextual in their partial closure. Collectively, our results establish quantum contextuality as an intrinsic characteristic of fault-tolerant quantum codes and protocols, complementing entanglement and magic as resources for scalable quantum computation. For quantum coding theorists, this provides a new invariant: contextuality classifies which subsystem stabilizer codes can participate in universal fault-tolerant protocols. These findings position contextuality not only as a foundational concept but also as a practical guide for the design and analysis of future QEC architectures.

Authors

Institutions

Publication Details

Journal
PRX Quantum
Published
2025-11-12
DOI
https://doi.org/10.1103/7zb5-vs4x
Citations
1
Primary Topic
Quantum Computing Algorithms and Architecture
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Contextuality of Quantum Error-Correcting Codes

Karl J. Friston
1 citations
PRX Quantum
Quantum Computing Algorithms and Architecture
2.48
article

Contextuality of Quantum Error-Correcting Codes

Karl J. Friston
article en
1 citations

Abstract

Fault-tolerant quantum computation requires quantum error correction (QEC), which relies on entanglement to protect information from local noise. Achieving universality, however, demands overcoming the Eastin-Knill theorem. This is often accomplished through strategies like magic state distillation, a process that prepares computational resources—namely, magic states—whose power is now understood to be rooted in quantum contextuality, a fundamental nonclassical feature generalizing Bell nonlocality. Yet, the broader role of contextuality in enabling universality, including its significance as an inherent feature of QEC codes and protocols themselves, has remained largely unexplored. In this work, we develop a rigorous framework for contextuality in QEC and prove three main results. Fundamentally, we show that subsystem stabilizer codes with two or more gauge qubits are strongly contextual in their partial closure, while others are noncontextual, establishing a clear criterion for identifying contextual codes. Mathematically, we unify Abramsky-Brandenburger’s sheaf-theoretic and Kirby-Love’s tree-based definitions of contextuality, resolving a conjecture of Kim and Abramsky. Practically, we prove that many widely studied code-switching protocols which admit universal transversal gate sets, such as the doubled color codes introduced by Bravyi and Cross, are necessarily strongly contextual in their partial closure. Collectively, our results establish quantum contextuality as an intrinsic characteristic of fault-tolerant quantum codes and protocols, complementing entanglement and magic as resources for scalable quantum computation. For quantum coding theorists, this provides a new invariant: contextuality classifies which subsystem stabilizer codes can participate in universal fault-tolerant protocols. These findings position contextuality not only as a foundational concept but also as a practical guide for the design and analysis of future QEC architectures.

PRX QuantumVol. 7(1)
Agency for Science, Technology and Research (SG), Centre for Quantum Technologies (SG), Nanyang Technological University (SG), Institute of High Performance Computing (SG), Institute for Infocomm Research (SG)
Openalex Percentile: Top 8%
Quantum Computing Algorithms and Architecture
2.48
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.