qector-testing-strategylisted
Install: claude install-skill GuillaumeLessard/qector-claude-plugin
# QECTOR Testing and Validation Strategy
Source of authority: v1.0.0 reference manual, chapter 23.
## The eight validation layers (Table 23.1)
| Layer | What it locks | Representative evidence |
| -------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| Syndrome faithfulness | `H c = s` for reachable syndromes across all backends | `test_syndrome_faithfulness.py`, `cross_decoder_tests.rs` |
| Property-based | Randomised reachable syndromes, adversarial and degenerate inputs | `test_property_faithfulness.py`, `test_property_gf2_invariants.py` |
| Exhaustive oracle | Exact MWPM optimality on small codes | `test_brute_force_small.py` |
| Cross-decoder equivalence | Batch equals per-shot; UF equals FastUF; GPU equals CPU | `test_property_batch_equivalence.py`, `test_cuda_cpu_bit_identical.py` |
| DEM pipeline | Parser, collapse rule, weights, observables | `test_dem*.py`, `test_dem_collapse_*.py` |
| LER parity |