| Filename | Latest commit message | Latest commit date |
|---|---|---|
wai/tools/quantum-docs/check_docs.py runs every block marked runnable on the
pages docs.json names (the engine, the command line, the service, Python,
the Studio, the desktop app, the editors, the providers, the compiler,
estimates, verdicts, the feature matrix, the course and the agent skill) in
a scratch directory of fixtures, holds each shown output to the real one,
verifies every receipt a block writes, builds and runs the Rust blocks, and
checks every block that cannot run for the commands and flags it names,
every wai-quantum command in the prose, every relative link and every
dependency shown; a translation must hold its English page's code. ci.sh
builds the command line, the service and the wheel and starts a service, as
wai-quantum-docs.yml runs it, beside the course's and the locales' tests.
Drift fixed: the crate pinned "0.4", named an unrelated crate for the command
line, ran its research tools outside lab, claimed the whole suite under
wasip2, and split its feature table from its header; the command line's
README said the reader refuses while, inv and pow, used placeholders and
optional flags that do not run, and merged versions that do not exist; the
estimate page's output lacked its receipts line; build steps now match CI.
An observable may lead with its coefficient ("0.5 X2"), as documented.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
||
| .. | ||
| ghz-all.json | ||
| ghz-chain.qasm | ||
| ghz-line.json | ||
| README.md | ||
Workbench specifications
Each specification says what a family of circuits must do, what a candidate may use, and what it costs. wai-quantum discover keeps an archive beside it of the cheapest verified generator of every kind.
| Specification | Task | What beats the reference |
|---|---|---|
ghz-line.json |
the GHZ state on a line of qubits | starting from the middle and spreading both ways halves the depth |
ghz-all.json |
the GHZ state with every pair connected | doubling the qubits that hold the state each layer brings the depth to about log₂ n |
Both start from ghz-chain.qasm, the plain chain of CX gates: depth n.
wai-quantum discover new ghz-all.json # the archive, seeded with the reference
wai-quantum discover search ghz-all.json # the built-in, blind search
wai-quantum discover submit ghz-all.json mine.qasm --note "doubling layers"
wai-quantum discover show ghz-all.json # what was spent, the best, the front
wai-quantum discover verify ghz-all.json # every sealed verdict
An agent proposes through wai-quantum mcp (discover_archive, discover_evaluate, discover_submit), working on the same archive.