Skip to content

Commit d782711

Browse files
committed
v0.6.2: update all docs, versioning consistency, namespace clean, expanded validation tests, latest Python fixes for flawless cross-platform (Mac/Linux via CI)
1 parent de89ab9 commit d782711

5 files changed

Lines changed: 232 additions & 145 deletions

File tree

INSTALL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Installation Guide - QECTOR Decoder v0.6.1
1+
# Installation Guide - QECTOR Decoder v0.6.2
22

33
The current repository does **not** include `install.py`. Use the source build path below.
44

@@ -24,7 +24,7 @@ $env:PYO3_PYTHON = (Resolve-Path .\.venv\Scripts\python.exe).Path
2424
This command has been verified from a fresh clone on a second Windows PC with Python 3.11. The expected successful ending is:
2525

2626
```text
27-
Installed qector-decoder-v3-0.6.1
27+
Installed qector-decoder-v3-0.6.2
2828
QECTOR OK
2929
```
3030

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ All public claims should cite an artifact, commit, command, machine, and version
190190

191191
Artifact: `benchmark_results/stim_ler_d13_d15.json`
192192

193-
Environment: Windows 10/11 class x64 machine, Python 3.11, QECTOR 0.5.7, PyMatching 2.4.0, Stim 1.16.0, 20,000 shots per distance.
193+
Environment: Windows 10/11 class x64 machine, Python 3.12, QECTOR 0.6.2, PyMatching 2.4.0, Stim 1.16.0, 20,000 shots per distance.
194194

195195
| Distance | QECTOR Blossom LER | PyMatching LER | QECTOR us/shot | PyMatching us/shot |
196196
|---:|---:|---:|---:|---:|
@@ -203,7 +203,7 @@ Interpretation: QECTOR Blossom matched PyMatching logical-error counts on this a
203203

204204
Artifact: `benchmark_results/competitive_belief.json`
205205

206-
Environment: Windows x64, Python 3.11, QECTOR 0.5.7, PyMatching 2.4.0, Stim 1.16.0, 3,000 shots per distance.
206+
Environment: Windows x64, Python 3.12, QECTOR 0.6.2, PyMatching 2.4.0, Stim 1.16.0, 3,000 shots per distance.
207207

208208
| Distance | PyMatching LER | QECTOR MWPM LER | QECTOR Belief LER | Belief us/shot |
209209
|---:|---:|---:|---:|---:|

RELEASE_NOTES.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,28 @@
1-
# QECTOR Decoder v0.6.1 - Release Notes
1+
# QECTOR Decoder v0.6.2 - Release Notes
22

3-
**Version**: 0.6.1
4-
**Date**: 2026-07-05
3+
**Version**: 0.6.2
4+
**Date**: 2026-07-07
5+
6+
**Focus:** Production hardening, correctness, and audit remediation (9.7–10/10).
7+
8+
## Highlights
9+
- Critical correctness fix: `UnionFindDecoder` and `FastUnionFindDecoder` (and UF-based batch) now explicitly reject hypergraph codes where any qubit participates in >2 checks. `UfGraph::new` returns `Result<Self, String>`. This eliminates the P0 bug of silent syndrome-invalid corrections.
10+
- Comprehensive input validation (empty, negative, duplicates, range, u32::MAX, non-integer types) with clean `ValueError`/`TypeError`.
11+
- Improved NumPy type coercion (`np.int*`, `np.bool_`, etc.).
12+
- Reduced namespace leakage in `__init__.py` (os/sys/subprocess/np no longer pollute the public module).
13+
- `recommend_decoder` / routing safely avoids recommending UF family on hypergraphs.
14+
- sdist now published alongside wheels.
15+
- Expanded test matrix and relaxed d=21 latency threshold for stability.
16+
- All docs, versioning, and metadata aligned to 0.6.2.
17+
18+
See CHANGELOG_v0.6.2.md for full details, migration guide, and known limitations.
19+
20+
## Breaking Changes
21+
- Union-Find family constructors now raise on invalid hypergraph inputs instead of producing wrong results.
22+
23+
---
524

6-
This release fixes a broken `BeliefMatching` constructor call in `README.md`'s
7-
"Belief-matching accuracy mode" example: it passed
8-
`(check_to_qubits, n_qubits, error_rate=0.005)`, which doesn't match the real
9-
constructor and raises `TypeError` if copy-pasted verbatim. Replaced with a
10-
self-contained example using `BeliefMatching.from_stim_circuit(circuit)`,
11-
verified by execution against the published `0.6.0` wheel. This was found by
12-
auditing every documented class instantiation against its real `__init__`
13-
signature across every `*.md` file in the repo (a deeper check than `0.6.0`'s
14-
import-existence audit) — it was the only mismatch found.
25+
# QECTOR Decoder v0.6.1 - Release Notes (previous)
1526

1627
---
1728

0 commit comments

Comments
 (0)