|
1 | | -# QECTOR Decoder v0.6.1 - Release Notes |
| 1 | +# QECTOR Decoder v0.6.2 - Release Notes |
2 | 2 |
|
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 | +--- |
5 | 24 |
|
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) |
15 | 26 |
|
16 | 27 | --- |
17 | 28 |
|
|
0 commit comments