arXiv:2603.04543 · FOCS 2026

Linear-Time
Encodable and
Decodable Quantum
Error-Correcting Codes

Min-Hsiu Hsieh

Hon Hai Research Institute

2026 YITP QEC Workshop:
Fault-tolerant logical processing

Adam Wills

Adam Wills

Massachusetts Institute of Technology
Hon Hai Research Institute

Ting-Chun Lin

Ting-Chun Lin

University of California San Diego
Hon Hai Research Institute

Rachel Yun Zhang

Rachel Yun Zhang

Massachusetts Institute of Technology

Min-Hsiu Hsieh

Min-Hsiu Hsieh

Hon Hai Research Institute

1 / 33

My Research Interest

Constructing
quantum
error-correcting codes

with different
properties.

Quantum error correction: eleven code properties and research directions
2 / 33

Entanglement Removes the Constraint

Todd Brun, USC faculty portrait
Todd Brun
Igor Devetak, portrait from USC Viterbi Engineer, Spring/Summer 2006, page 12
Igor Devetak
Min-Hsiu Hsieh, portrait from his personal website
Min-Hsiu Hsieh

Shared entanglement turns classical linear codes into quantum codes without the dual-containing constraint.

Actual first page of Correcting Quantum Errors with Entanglement by Todd Brun, Igor Devetak and Min-Hsiu Hsieh, arXiv preprint

Science 314, 436–439 (2006)

QEC research map highlighting property 01: No Dual-Containing; the other ten property circles are dimmed.
3 / 33

Protecting Classical and Quantum Information

Isaac Kremsky, Loma Linda University faculty portrait
Isaac Kremsky
Min-Hsiu Hsieh, portrait from his personal website
Min-Hsiu Hsieh
Todd Brun, USC faculty portrait
Todd Brun

Entanglement-assisted codes jointly encode and protect classical and quantum information.

Upper portion of the published first page of Classical enhancement of quantum-error-correcting codes

Phys. Rev. A 78, 012341 (2008)

QEC research map highlighting properties 01 and 02: No Dual-Containing and Encode C-Q data; the other nine property circles are dimmed.
4 / 33

Combining Entanglement and Passive Protection

Min-Hsiu Hsieh, portrait from his personal website
Min-Hsiu Hsieh
Igor Devetak, portrait from USC Viterbi Engineer, Spring/Summer 2006, page 12
Igor Devetak
Todd Brun, USC faculty portrait
Todd Brun

Entanglement-assisted operator codes combine flexible code construction and passive error protection.

Upper portion of the published first page of General entanglement-assisted quantum error-correcting codes

Phys. Rev. A 76, 062313 (2007)

QEC research map highlighting properties 01 and 03: No Dual-Containing and Passive Error Correction; the other nine property circles are dimmed.
5 / 33

Good Quantum LDPC Codes with Fast Decoding

Irit Dinur
Irit Dinur
Min-Hsiu Hsieh
Min-Hsiu Hsieh
Ting-Chun Lin
Ting-Chun Lin
Thomas Vidick
Thomas Vidick

Quantum LDPC codes achieve constant rate and linear distance, with linear-time decoding.

Upper portion of the arXiv manuscript first page of Good Quantum LDPC Codes with Linear Time Decoders

STOC 2023, 905–918

QEC research map highlighting properties 04, 05, 06: High Rate, High Distance, Low Density; the other eight property circles are dimmed.
6 / 33

Reducing Quantum Codes to Low Weight

Min-Hsiu Hsieh
Min-Hsiu Hsieh
Xingjian Li
Xingjian Li
Ting-Chun Lin
Ting-Chun Lin

Transform arbitrary quantum codes into low-weight codes with check weight 5 and qubit weight 6.

Upper portion of the arXiv first page of Simplified Quantum Weight Reduction with Optimal Bounds

arXiv:2510.09601 (2025)

QEC research map highlighting property 06: Low Density; the other ten property circles are dimmed.
7 / 33

Almost Optimal Geometrically Local Quantum Codes

Xingjian Li
Xingjian Li
Ting-Chun Lin
Ting-Chun Lin
Adam Wills
Adam Wills
Min-Hsiu Hsieh
Min-Hsiu Hsieh

Turn good quantum LDPC codes into geometrically local codes with almost optimal dimension and distance.

Published first-page excerpt of Almost optimal geometrically local quantum LDPC codes in any dimension

Nat. Commun. 17, 2389 (2026)

QEC properties 04 High Rate, 05 High Distance, and 07 Geometrically Local highlighted
8 / 33

Tradeoffs for Quantum Local Testability

Adam Wills
Adam Wills
Ting-Chun Lin
Ting-Chun Lin
Min-Hsiu Hsieh
Min-Hsiu Hsieh

Amplify soundness while preserving dimension and distance, at the cost of check locality.

arXiv first-page excerpt of Tradeoff Constructions for Quantum Locally Testable Codes

IEEE Trans. Inf. Theory 71, 426–458 (2025)

QEC properties 04 High Rate, 05 High Distance, and 08 Locally Testable highlighted
9 / 33

Constant-Overhead Magic State Distillation

Adam Wills
Adam Wills
Min-Hsiu Hsieh
Min-Hsiu Hsieh
Hayata Yamasaki
Hayata Yamasaki

Good quantum codes with transversal non-Clifford gates enable constant-overhead magic state distillation.

arXiv first-page excerpt of Constant-overhead magic state distillation

Nature Physics 21, 1842–1846 (2025)

QEC properties 04 High Rate, 05 High Distance, and 09 Triorthogonality highlighted
10 / 33

Quantum Pseudorandom Error-Correcting Codes

Min-Hsiu Hsieh
Min-Hsiu Hsieh
Shogo Yamada, Simons Institute portrait
Shogo Yamada

Under a quantum LPN hardness assumption, quantum codes combine pseudorandom encodings with resilience to a constant fraction of local errors.

First page of Quantum Pseudorandom Error-Correcting Codes

arXiv:2609.38986 (2026)

QEC properties 05 High Distance and 11 highlighted
11 / 33

No QEC No QC

Timeline labels, from left to right:

  • 2010 — Qubit Fidelity; Time
  • 2020 — Gate Fidelity; 99.999%
  • 2021–2024 — Logical Qubit Fidelity;
  • Logical Gate Fidelity;
  • FTQC
Source slide 3: original figure
11 / 36

Rapid Development in Quantum Coding Theory

With classical analogue

  • (Good) Quantum LDPC Codes
  • Codes with Good Decoders
  • Quantum Locally Testable Codes
  • Quantum Locally Recoverable Codes

Without classical analogue

  • Codes with Transversal Gates
  • Geometrically Local Codes
  • Bosonic Codes
  • Entanglement Assisted Codes
12 / 36

Today's Focus

Linear-Time
Encodable and Decodable
Quantum Codes

QEC properties 04 High Rate, 05 High Distance, and 10 Efficient Encoding-Decoding highlighted
12 / 33

The Starting Point

Published first page: Linear-Time Encodable and Decodable Error-Correcting Codes, Daniel A. Spielman
Daniel A. Spielman
STOC 1995, 388–397
IEEE TIT 42, 1723–1732 (1996)

Asymptotically good classical codes can be both encoded and decoded in linear time.

Can this construction be generalized to quantum error-correcting codes?

QEC properties 04 High Rate, 05 High Distance, and 10 Efficient Encoding-Decoding highlighted
13 / 33

Quickly Encodable and Decodable Codes

Sender → Encoder → Channel → Decoder → Receiver

Errors/Noise enters the Channel.

Figure 1: Communication over a noisy channel.

Spielman: Asymptotically good codes, all operations have linear complexity and run in logarithmic depth.

Source slide 6: original figure
12 / 34

Is there a quantum analogue?

  • For general purposes in QI, it seems inherently important to understand the complexity of encoding quantum codes.
  • Communication between fault-tolerant quantum computers.
  • Fast read/write to memory in a quantum computer.
13 / 34

Main Results

Asymptotically
Good Quantum Codes

Linear-Time and Log-Depth
Encoding / Unencoding / Decoding

Randomised and explicit constructions.

QEC properties 04 High Rate, 05 High Distance, and 10 Efficient Encoding-Decoding highlighted
14 / 33

Spielman’s Approach

Efficient Error Reduction Codes

Error reduction code diagram connecting input bits to parity checks

Recursion/Concatenation

Recursive concatenation diagram with M, A, B, and C blocks
15 / 33

Definition of Error Reduction Codes

Encode

Decode

For every message x and received word z:

↓
Rate r   ·   Reduction factor ε   ·   Reducible distance δ

d denotes normalized Hamming distance.

16 / 33

Construction of Error Reduction Codes:

Start with a good expander code.

Expander code connecting message bits to parity checks
Animated construction of error reduction codes connecting message bits and check bits
17 / 33

Properties of Error Reduction Codes

Property #1

Encodable in
Constant Time.

Expander code diagram connecting message bits to parity checks
18 / 33

Properties of Error Reduction Codes

Property #2

Decodable in
Linear Time.

Error reduction graph

Sequential Error Reduction

  1. Flip a bit when unsatisfied checks outnumber satisfied checks.
  2. Repeat until no such bit remains.

UNSATISFIED CHECKS
3 → 2 → 1 → 0
19 / 33

Properties of Error Reduction Codes

Property #3

Expansion implies
Error Reduction

Two-sided expansion diagram
Expansion implies error reduction, step 1 of 4
20 / 33

Error Reduction Codes

message bits; check bits.

  • Take message bits, compute the check bits from them in constant depth.

→ This means they have constant distance!!

So what can they do?

Source slide 10: original figure
16 / 34

Error Reduction Ability

message bits; check bits.

Suppose we get errors on message bits and errors on check bits.

Error Reduction if

Source slide 11: original figure
17 / 34

Spielman’s Concatenation Structure

How Many Levels?

  • Halve the block length at each step.
  • Stop at the fixed-size base code.
  • Decode it by brute force.

recursive steps

: original block length
: fixed base-code length
: number of recursive steps

Why Linear Time?

  • Linear work at each level.
  • Block length halves at the next.

total time

Recursion/Concatenation

Recursive concatenation diagram with M, A, B, C blocks and inner code Q ell minus one
21 / 33

Summary: Classical Codes

Code Parameters

Block / message length,
Rate in this construction
Minimum distance
Correctable errorsA constant fraction of

counts message bits; labels recursion levels.

Sequential Complexity

Encoding time
Decoding time
Recursion levels
Base-code decoding

For a fixed code with a preconstructed encoder and decoder.

Constant rate · Linear distance · Linear-time encoding and decoding
Spielman · STOC 1995; IEEE Transactions on Information Theory 42, 1723–1731 (1996)
22 / 33

Quantum Analogue

23 / 33

Quantum Challenges

Challenge #1

X-check qubits, message qubits, and Z-check qubits connected by CNOTs

Need
commuting stabilizers!

Challenge #2

Horizontal circuit with aligned mathematical input states, CNOTs A and B, Pauli errors, and X and Z measurements

Avoid
error propagation!

24 / 33

Toward a Solution

HX=(I|A|C), HZ=(D|B|I), C=AB transpose plus D transpose
Circuit: CNOTs A, B, D, Pauli errors, then D, B, A, with X and Z measurements
25 / 33

Error Syndromes and Residual Errors

Decoding circuit with X and Z syndromes and residual X and Z errors on message qubits
X Syndrome
Residual X:
Residual Z:
Z Syndrome
26 / 33

Quantum Error Reduction: X Errors

Classical Error Reduction

  • Reduce physical errors first.
    .
  • Use to reduce .
  • Then control the residual message error:
    .

Reducing physical errors
controls the residual.

Reduction under must outweigh
amplification by .

HZ=(D|B|I): D maps R2 to L2 and B maps R1 to L2
27 / 33

Quantum Error Reduction: Z Errors

Classical Error Reduction

  • Target the residual message error directly.
    .
  • Rewrite the same syndrome:
    .

Reduce the residual Z error
directly.

Use to reduce .
The residual Z error is a decoder variable.

L1 bit group maps via A to R2 checks; L2 bit group maps via D transpose to R2 checks
28 / 33

The Need for Two-Way Expansion

Two-Way Expansion

  • Both maps must provide classical error reduction:
    .
  • Error reduction under must be strong enough to overcome the error amplification set by the sparsity of .
  • A Z graph provides the required two-way expansion.

Z Graph

Z graph: A from L1 to R2, B from R1 to L2, D from R2 to L2 and D transpose from L2 to R2
29 / 33

Two-Sided Lossless Expander and Z Graphs

FOCS 2025 Best paper

First page of Explicit Lossless Vertex Expanders, arXiv:2504.15087

arXiv:2504.15087

Two-Sided Lossless Expander

Two-sided expansion for subsets S and T

Z Graph

Z graph with L1 L2 R1 R2 and A B D D transpose arrows
30 / 33

Constructing Lossless Z Graphs

Random Construction

Sample the graph.

  • Fix the four vertex groups and their degrees.
  • Pair half-edges uniformly at random in the three allowed edge sets.
  • Required joint expansion holds with high probability.

A probabilistic route to lossless Z graphs.

Explicit Construction

Joint expansion, not just two-sided.

  • Original: small sets on either side expand to the opposite side.
  • Z graph: mixed sets from L1 and L2 must expand jointly into R2, and symmetrically.
  • Keep the local-to-global blueprint, but replace its gadget with a lossless Z gadget.

Why modify it? Separately expanding sets may have overlapping neighborhoods.

31 / 33

Summary

Construction

Concatenate
quantum error reduction codes.

Quantum codes with constant rate, linear distance, and fast encoding and decoding.

Challenges

Commuting checks.

Controlled
error spreading.

Both constraints must be met simultaneously.

Key Structure

Two-way expansion
through a
Z graph.

The structure enables quantum error reduction.

32 / 33
MIT × UCSD × Stanford × UC Berkeley × HHRI

Thank you!

Linear-Time Encodable and Decodable
Quantum Error-Correcting Codes

arXiv:2603.04543 · FOCS 2026

Adam Wills

Adam Wills

MIT

Ting-Chun Lin

Ting-Chun Lin

UCSD
→ Stanford

Rachel Yun Zhang

Rachel Yun Zhang

MIT
→ UC Berkeley

Min-Hsiu Hsieh

Min-Hsiu Hsieh

HHRI

33 / 33