Skip to main content
v1.0.1 · 18 verified wheels · Changelog →

QEC Decoding for Python

One library for many decoder families on the same check matrix: Union-Find, exact MWPM, BP-OSD and Relay-BP for qLDPC codes, on CPU and GPU, with Stim and Sinter integration. Every correction is checked against its syndrome, and commercial licences verify offline, so it runs air-gapped.

Built for hardware teams, qLDPC researchers and academic labs. Free for academic and non-commercial research; commercial plans from $79/month with a 14-day money-back guarantee.

Quick startbash
pip install qector-decoder-v3==1.0.1
python -c "from qector_decoder_v3 import BlossomDecoder; print('QECTOR OK')"
17
Decoder configurations
H·c = s
Checked on every result
CPU + GPU
Batch decoding
Offline
Air-gapped licensing
Evidence policy
No hardware-specific results published

QECTOR publishes contracts, methodology, and artifacts rather than portable speed numbers. Read the evidence policy before generating a local measurement.

Release Assurance

A Clear Path From Code to Evidence

The public release, validation contract, and commercial delivery path are explicit by design.

Current Runtime

qector-decoder-v3 1.0.1

The live PyPI release supports Python 3.9 through 3.14 with 18 binary wheels across Windows, Linux, and macOS, each with build provenance.

Evidence Contract

Correctness before speed

Every correction is checked against H c = s (mod 2). Measurements stay workload-scoped, artifact-hashed, and separate from universal performance claims.

Secure Delivery

Signed, traceable licensing

Commercial fulfillment requires a live Stripe event, issues a v2 Ed25519 token, and records independent billing and license delivery states.

Read the license activation procedure →

Works with your existing stack

Stimpip install stim
Sinterpip install sinter
Qiskitpip install qiskit-qec
Proof Suite

Executable Verification for the 1.0 Line

Hashed-lock reproducible install, CERT_STRICT gate, and Lean/Coq kernel evidence - verifiable against Reference Manual v1.0.0.

Reproducible Install

Hashed-lock & CERT_STRICT

Proof runs are hashed-locked and gated by CERT_STRICT - no universal benchmark figures, only workload-scoped artifacts.

Reference Manual v1.0.0

DOI 10.5281/zenodo.21941046

Normative manual with syndrome-faithfulness foundations, every decoder backend, and API stability tiers. All proofs trace to this document.

Lean/Coq Evidence

Kernel-checked proofs

Executable suite checks GF(2) invariants and logical cosets with Lean/Coq kernels - evidence, not claims.

View qector-proof on GitHubgithub.com/GuillaumeLessard/qector-proof
How It Works

From Installation to Validation

QECTOR integrates directly into your existing QEC workflow with minimal friction.

01
01

Install

Install the 1.0.1 wheel in a supported Python 3.9-3.14 environment alongside your existing Stim or PyMatching workflow.

pip install --upgrade "qector-decoder-v3>=1.0.1,<2"
02
02

Decode

Access 17 concrete Rust-accelerated decoder configurations through a unified Python API. Workbench also exposes AutoDecoder and Auto Router as two orchestration kinds, for 19 named kinds in total.

from qector_decoder_v3 import BlossomDecoder, BpOsdDecoder
03
03

Validate

Claims are scoped to a declared workload and backed by SHA-256 sealed artifacts. Run qector-doctor before relying on optional paths and preserve the report with the result.

evidence policy · SHA-256 sealed
Why QECTOR

More Than Just MWPM

QEC decoding is not one-size-fits-all. Surface codes, qLDPC codes, optional batch paths, and simulation workloads each demand different decoders. QECTOR documents the supported contracts and the evidence needed to evaluate a selected workload.

Blossom

Blossom MWPM (Exact)

Weight-optimal exact minimum-weight perfect matching for graph-like codes. The reference decoder for surface codes.

✓Exact optimal matching · Stim-native
BP-OSD (qLDPC)

qLDPC Support

Matching decoders are restricted to graphlike structures. BP-OSD handles reachable arbitrary GF(2) check matrices, including LDPC and qLDPC workloads.

✓Hyperedge-safe GF(2) path
Union-Find + Optional GPU

Workload-Scoped Execution

Union-Find and optional GPU batch paths are available for supported workloads. Availability and performance must be verified on the target environment.

✓Environment-dependent paths
Stim · PyMatching · Sinter · Qiskit

One Library, Pluggable

Drop QECTOR into any existing Stim or PyMatching workflow. Same API surface, swappable backend. No vendor lock-in.

✓Drop-in, same API surface
19 Workbench Kinds · 17 Concrete Configs

Decoding Algorithms

Union-Find, Fast Union-Find, Blossom MWPM, Sparse Blossom, Belief-Matching, BP-OSD, GPU Batch (CUDA/OpenCL), Hybrid, Predecoded, two-stage, ambiguity-cluster, colour-code, space-time, and other concrete paths are exposed through a consistent Python API. Workbench adds the two orchestration kinds, AutoDecoder and Auto Router, to make 19 named kinds.

v1.0.1 Stable
Corrected code families and Union-Find peeling, Python 3.14, GPU on Pro licences, signed provenance for every wheel.
18 Binary Wheels
Python 3.9-3.14 across Windows amd64, Linux x86_64, and macOS arm64, each tested on its own OS before release.
GPU Batch Paths
CUDA and OpenCL batch paths are available for supported hardware and drivers; OpenCL via source build.
Reproducible Harness
qector bench ships with the package; measure on your own hardware, no universal figures claimed.

Interactive QEC Simulator

Planar stabilizer code (d=3). Click edges to toggle physical errors.

LEFT BOUNDARYRIGHT BOUNDARYSSSSSSSSS
Performance

Measure on Your Own Hardware

Reproducible Benchmark Harness

No universal benchmark figures are published on this site, because results depend on your hardware, drivers, and workloads. The qector bench harness ships with the package so you can measure logical error rates and throughput on your own machines.

GitHub Artifacts →
$ pip install "qector-decoder-v3[bench]"
$ qector-doctor
$ qector bench -d 5 -r 5 -s 10000 --decoder blossom --noise 0.001
✓ Logical error rates and throughput written as reproducible JSON

Enterprise Compliance & Licensing

License Clarity

The package is source-available under PolyForm Noncommercial 1.0.0 for community use. Commercial use, hosted services, and redistribution require the written scope described on the license and pricing pages.

Learn about licensing →

Commercial Licences, Air-Gapped

Pro from $79/month or $790/year with GPU batch decoding, Lab for distance 63 and an SLA. Licences are verified offline, with no licence server, and every plan has a 14-day money-back guarantee.

View Pricing & Tiers →
Self-Serve · Instant Clearance

QECTOR Pro

Air-gapped licence · Cancel any time · 14-day money-back guarantee

$79/mo

or $790/year (2 months free) · Production use

✓Full QECTOR Decoder v3 (all decoder families)
✓GPU (CUDA/OpenCL) batch decoding unlocked
✓Signed licence token, verified offline: works air-gapped
✓Email support (2 business day response)
✓14-day money-back guarantee on your first payment

Need Lab, perpetual or OEM? View all tiers →