Production-Grade QEC Decoding for Python

QECTOR Decoder v3 is a Rust-core Python library of 25+ production and research quantum error correction decoder configurations — MWPM Blossom, Belief-Matching, BP-OSD, Union-Find, GPU batch and more — behind one consistent API. v1.0.0 is the first stable release, with API stability tiers, a qector CLI and qector-doctor diagnostic.

pip install qector-decoder-v3==1.0.0

import numpy as np
from qector_decoder_v3 import BlossomDecoder
decoder = BlossomDecoder([[0, 1], [1, 2], [2, 3], [3, 4]], n_qubits=5)
correction = decoder.decode(np.array([0, 1, 0, 0], dtype=np.uint8))

v1.0.0 — first stable release

The decoders

UnionFind, FastUnionFind, Blossom MWPM, SparseBlossom, BeliefMatching, BP-OSD (qLDPC), batch decoders (CPU / CUDA / OpenCL), AutoDecoder (7-tier fallback), plus colour-code, two-stage and ambiguity-cluster decoders.

Evidence