KetQatKetQat
QEC
QEC_DECODER
UNVERIFIED

MWPM surface-code decoder (PyMatching) — official baseline

Official KetQat baseline: minimum-weight perfect-matching (MWPM) decoding of rotated surface-code memory experiments, using Stim for circuit-level depolarizing-noise sampling and PyMatching for decoding. This is the reference decoder every KetQat leaderboard entry is compared against: 24 hash-verified baseline runs sweep code distances d=3/5/7 across physical error rates from 0.001 to 0.02, showing textbook below-threshold error suppression and above-threshold inversion. Reproduce any point with `ketqat run examples/qec/surface-code-memory.yaml` from the ketqat-sdk repository — every run page includes the exact manifest, environment, and reproducibility hash used. See the live comparison at ketqat.com/leaderboard.

QEC metadata

Code families
Unspecified
Decoder family
Unspecified
Distances
Unspecified
Noise models
Unspecified
Syndrome format
Unspecified
Interface
Unspecified

Source

Repository: https://github.com/ketqat/ketqat-sdk

Language: Python

License: Apache-2.0

surface-code
mwpm
pymatching
stim
decoder
official-baseline

Cite this

@misc{ketqat_qecmwpmsurfacecodedecoderpymatchingofficialbaseline_2026,
  title        = {MWPM surface-code decoder (PyMatching) — official baseline},
  author       = {KetQat maintainers},
  year         = {2026},
  howpublished = {\url{https://ketqat.com/qec/mwpm-surface-code-decoder-pymatching-official-baseline}},
  note         = {Source: \url{https://github.com/ketqat/ketqat-sdk}}
}

Benchmark runs

No benchmark runs against this artifact yet

Publish one with the SDK, referencing mwpm-surface-code-decoder-pymatching-official-baseline as the artifact slug -- see the quickstart.

Verification evidence

No verification evidence recorded.