- `wai-quantum debug FILE` prints the engine debugger's state at a position
or before a line (amplitudes, Bloch vectors, the reduced state of chosen
qubits, entanglement across a cut), on a path of recorded outcomes;
`--branches` lists every branch at the measurements in the middle with its
weight.
- `wai-quantum dap` serves the debugger to editors over the debug adapter
protocol: launch, breakpoints by line, step forward and back, continue in
both directions, the probes and the branch tree as variables, and
`evaluate` for reduced states, cuts and another path. tests/dap.rs drives
it as an editor does.
- `wai-quantum test` takes sampled intents: the program run for the stated
shots and its counts held to a distribution by Pearson's chi-squared test
or the G-test at a stated significance level (engine::stats, the p-value
the same bits on every platform). `--junit FILE` writes the verdicts as a
JUnit report. The exit codes are as they were.
- `wai-quantum draw` takes `--svg`, `--latex` and `--describe`; the MCP
`draw_circuit` takes the same as `format`.
- The stdio MCP server gains `debug_step` and `debug_branches`, read-only
and deterministic; the agent docs are regenerated from the live lists.
Co-Authored-By: Claude Opus 5.5 <[email protected]>