English

Sparse Blossom: correcting a million errors per core second with minimum-weight matching

Quantum Physics 2025-01-22 v2

Abstract

In this work, we introduce a fast implementation of the minimum-weight perfect matching (MWPM) decoder, the most widely used decoder for several important families of quantum error correcting codes, including surface codes. Our algorithm, which we call sparse blossom, is a variant of the blossom algorithm which directly solves the decoding problem relevant to quantum error correction. Sparse blossom avoids the need for all-to-all Dijkstra searches, common amongst MWPM decoder implementations. For 0.1% circuit-level depolarising noise, sparse blossom processes syndrome data in both XX and ZZ bases of distance-17 surface code circuits in less than one microsecond per round of syndrome extraction on a single core, which matches the rate at which syndrome data is generated by superconducting quantum computers. Our implementation is open-source, and has been released in version 2 of the PyMatching library.

Keywords

Cite

@article{arxiv.2303.15933,
  title  = {Sparse Blossom: correcting a million errors per core second with minimum-weight matching},
  author = {Oscar Higgott and Craig Gidney},
  journal= {arXiv preprint arXiv:2303.15933},
  year   = {2025}
}

Comments

37 pages, 16 figures

R2 v1 2026-06-28T09:37:48.489Z