open-standards/wai/wai-quantum/docs/README.md
Transaction Science 000379329d
Some checks are pending
wai-audit collector and player integration / does this change touch it (push) Successful in 17s
WAI operation catalogue / does this change touch it (push) Successful in 18s
wai-quantum contract / does this change touch it (push) Successful in 22s
wai-quantum clippy / does this change touch it (push) Successful in 17s
wai-quantum pulse and dynamics / does this change touch it (push) Successful in 36s
wai-quantum error correction and mitigation / does this change touch it (push) Successful in 25s
wai-quantum for Python / does this change touch it (push) Successful in 28s
wai-quantum extension points / does this change touch it (push) Successful in 22s
wai-quantum variational and algorithm library / does this change touch it (push) Successful in 17s
wai-quantum service / does this change touch it (push) Successful in 14s
wai-quantum studio and desktop / does this change touch it (push) Successful in 14s
wai-quantum studio and desktop / desktop app · windows (push) Waiting to run
wai-sink-android native sink library / does this change touch it (push) Successful in 1m11s
wai-sink-swift native sink package / does this change touch it (push) Successful in 1m9s
wai-quantum views in agent hosts / does this change touch it (push) Successful in 1m14s
wai-quantum verdicts and repairs / does this change touch it (push) Successful in 1m24s
WAI Studio / does this change touch it (push) Successful in 23s
wai-quantum docs, course and locales / does this change touch it (push) Successful in 3m57s
wai-quantum-landscape-fpga reference design / does this change touch it (push) Successful in 3m43s
wai-quantum OpenQASM reader / does this change touch it (push) Successful in 3m43s
wai-quantum editors / does this change touch it (push) Successful in 4m0s
wai-quantum resource estimation / does this change touch it (push) Successful in 3m50s
wai-quantum other formats / does this change touch it (push) Successful in 3m49s
wai-quantum command line / does this change touch it (push) Successful in 4m9s
wai-quantum for JavaScript / does this change touch it (push) Successful in 3m48s
wai-quantum service / service energy · linux packages (push) Successful in 3m18s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (push) Successful in 21s
WAI examples / WAI examples · does this change touch them (push) Successful in 20s
wai-quantum landscape energy to solution / does this change touch it (push) Successful in 16s
wai-quantum energy-landscape jobs / does this change touch it (push) Successful in 21s
wai-quantum landscape stage 0, the sampler against the exact law / does this change touch it (push) Successful in 22s
wai-quantum contract / the policy is linked, and the deprecations page reads (push) Successful in 12s
wai-quantum wasmQ / does this change touch it (push) Successful in 10s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (push) Successful in 3m13s
wai-quantum-landscape-fpga reference design / the board's code on the board's processor's architecture · linux-arm64, release (push) Successful in 2m5s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (push) Successful in 3m23s
wai-audit collector and player integration / collector · linux (push) Successful in 3m42s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs · linux, release (push) Successful in 3m4s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (push) Successful in 7m14s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs under wasm32-wasip2 (wasmtime) (push) Successful in 2m12s
wai-quantum extension points / the registry and the example · linux-arm64 (push) Successful in 6m37s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (push) Successful in 5m40s
wai-quantum clippy / clippy, warnings denied, every feature set · linux (push) Successful in 6m27s
wai-quantum extension points / the registry under wasm32-wasip2 (wasmtime) (push) Successful in 3m19s
wai-quantum contract / API compatibility · linux (push) Successful in 8m39s
wai-quantum error correction and mitigation / codes, decoders, texts and mitigation · linux, release (push) Successful in 5m38s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux, release (push) Successful in 5m37s
wai-quantum verdicts and repairs / the intent set and the verdict under wasm32-wasip2 (wasmtime) (push) Successful in 1m24s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (push) Successful in 1m6s
wai-quantum contract / schemas and the committed tool lists · linux (push) Successful in 11m16s
wai-quantum extension points / the registry and the example · linux (push) Successful in 7m39s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (push) Successful in 13s
WAI examples / WAI examples · android-app · linux-arm64 (push) Successful in 9m53s
wai-quantum views in agent hosts / views · a scripted host (push) Successful in 5m13s
wai-quantum verdicts and repairs / verdicts, repairs and the intent set · linux (push) Successful in 4m44s
wai-quantum docs, course and locales / the course and the command line's languages · linux (push) Successful in 3m34s
WAI operation catalogue / the catalogue and every door · linux (push) Successful in 14m21s
wai-quantum OpenQASM reader / reader and corpus · linux (push) Successful in 2m57s
wai-quantum views in agent hosts / views · the page and its engine (push) Successful in 7m15s
wai-quantum OpenQASM reader / corpus under wasm32-wasip2 (wasmtime) (push) Successful in 1m35s
wai-quantum studio and desktop / studio · browser (push) Successful in 9m40s
wai-quantum service / service · linux (push) Successful in 10m12s
wai-quantum energy-landscape jobs / the same bits · linux-arm64 (push) Successful in 13m45s
wai-quantum for Python / python · linux (push) Successful in 13m45s
wai-quantum other formats / the set under wasm32-wasip2 (wasmtime) (push) Successful in 3m34s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (push) Successful in 3m59s
wai-quantum studio and desktop / desktop app · linux (push) Successful in 12m41s
wai-quantum editors / editors · linux (push) Successful in 6m15s
wai-quantum other formats / readers, writers and the set · linux (push) Successful in 6m3s
wai-quantum pulse and dynamics / the same bits · macos (push) Successful in 1m18s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (push) Successful in 2m25s
wai-quantum landscape energy to solution / the small tier, to the byte · linux (push) Successful in 2m52s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (push) Successful in 6m56s
wai-quantum landscape stage 0, the sampler against the exact law / the small tier, to the byte · linux (push) Successful in 1m3s
wai-quantum resource estimation / estimation and calibration · linux, release (push) Successful in 8m37s
wai-quantum wasmQ / the reference modules rebuild to their modules of record · linux (push) Successful in 45s
wai-quantum for JavaScript / javascript · linux (push) Successful in 9m31s
wai-quantum for Python / python · macos (push) Successful in 3m21s
wai-quantum wasmQ / interpreter and vectors under wasm32-wasip2 (wasmtime) (push) Successful in 3m18s
wai-quantum editors / editors · macos (push) Successful in 1m48s
wai-quantum wasmQ / profile, engines, reference modules, adversarial, vectors · linux (push) Successful in 5m34s
wai-quantum energy-landscape jobs / native against WebAssembly, over many seeds (push) Successful in 6m51s
wai-quantum studio and desktop / desktop app · macos (push) Successful in 5m53s
wai-quantum service / service · macos (push) Successful in 7m45s
wai-quantum command line / command line · macos (push) Successful in 2m45s
wai-quantum landscape energy to solution / the small tier, to the byte · macos (push) Successful in 1m46s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (push) Successful in 7m56s
wai-quantum landscape stage 0, the sampler against the exact law / the small tier, to the byte · macos (push) Successful in 25s
WAI Studio / Studio in Chromium and Firefox · macos (push) Successful in 9m9s
wai-quantum wasmQ / profile, engines, reference modules, adversarial, vectors · macos (push) Successful in 2m35s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (push) Successful in 25m27s
WAI Studio / Studio in WebKit · linux (push) Successful in 28m15s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (push) Successful in 13m50s
wai-quantum energy-landscape jobs / the same bits · macos (push) Successful in 7m29s
wai-quantum energy-landscape jobs / the module under wasm32-wasip2 (wasmtime) (push) Successful in 18m45s
wai-quantum command line / command line · linux (push) Successful in 27m39s
wai-quantum energy-landscape jobs / reader, kernels, answers and the stated result · linux, release (push) Successful in 24m11s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (push) Successful in 15m21s
WAI examples / WAI examples · portable · linux (push) Successful in 28m38s
wai-quantum-landscape-fpga reference design / the member against the model of the logic, and the logic against the model · linux, release (push) Successful in 37m27s
wai-quantum: Stage 0 of the landscape emulator, run as registered: its data, its document and its CI job
The test registered in 382d96830, run at the registered seeds: the open energy-landscape emulator's sampling
kernel (a classical sampler emulating the cells of a planned processor) against the exact Boltzmann law over
every one of 3^10 to 3^12 states, 24 cells of eight landscapes at three temperatures, 1,048,576 samples a cell,
one sample a chain.

- The CPU reference passes all 24 cells, and so does the ideal sampler drawing from the exact law. Pearson's
  p-values for the reference run from 0.03 to 0.97, the divergence's from 0.07 to 0.96.
- Each negative control fails all 24 cells, by a wide margin in every one, as registered: every cell drawn at
  once from the old state by 65 to 39,958 times the excess the threshold allows (least on the dense
  ferromagnet), a field plus noise thresholded by 295 to 3,920, a three-colour cell by 455 to 45,195. The
  registered predictions of the last two, from their exact laws, are within a few percent of what came out.
- GPU members, on every first-version cell: through Metal and through WebGPU on the build host, and through
  WebGPU on Vulkan on a Linux server's integrated GPU, every one of 1,048,576 chains in each of 18 cells is the
  reference's; the coloured WebGPU kernel on both hosts, whose chains are its own on sparse couplings, passes all
  18. Not run here, so not certified by this: the CUDA member and the Vulkan members on its host, whose sign-in
  asks for a person, and the WebGPU member on the software Vulkan driver, left out of the Linux server's run. The
  nightly GPU workflow now runs the small tier through every member on its host. The FPGA member is not run and its board was not touched: it stays certified only by its
  hardware run of 2026-11-06.
- Mixing: each sample is its own chain's state after K sweeps (16 to 512), chosen before any sampling so that the
  exact law is within N chi2 <= 1 of the target; one long chain a cell gives the integrated autocorrelation times
  of the energy, the magnetisation, its size and the cells not at 0, and K against the longest. The dense
  ferromagnet at its coldest has a magnetisation time of 479 sweeps against K = 16: one chain rarely crosses
  between its ordered states, and the exact law shows the independent chains hold them in balance.

- quantum-conformance/landscape/stage0/: full/results.json, full/devices-build-host.json,
  full/devices-linux-server.json, small/results.json and small/report.md, README.md, reproduce.sh (both
  registrations, the small tier to its digest and both documents; --full, the full tier). Rebuilt to the byte on
  arm64 macOS and x86_64 Linux.
- wai-quantum/docs/landscape-stage0.md: the document, rendered from the data; listed in the docs check and the
  docs index.
- tests/landscape_stage0.rs: the small tier to the byte, the rule as registered on both tiers, the GPU members'
  chains, the documents as their data rendered.
- .github/workflows/wai-quantum-landscape-stage0.yml: the tests (13, pinned) and reproduce.sh on linux and macos.
  wai-quantum-landscape-devices.yml: a nightly step holding every member on its host to the small tier.
- landscape_stage0 devices --only PREFIX: run a subset of the members a host finds.
- extensions/quantum-landscape.md section 7.4 and quantum-landscape-2.md section 6: informative pointers.
- PREREGISTRATION.md, Changes after registration: none to the test; one note on a threshold's last binary place.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-11 14:10:29 -05:00

111 lines
6.2 KiB
Markdown

# WAI Quantum documentation
Every command and code snippet on these pages runs in CI, and its output is
checked against the real output or its receipt (below). A page that cannot
run one says why.
## Start here
- **Learn:** [the circuits course](../course/README.md), from a first circuit
through superposition, entanglement, interference, the standard algorithms,
noise and its mitigation, error correction and fault tolerance to resource
estimates. Each exercise is checked by the engine. It runs in the Studio and
on the command line (`wai-quantum learn`), in English and in Simplified
Chinese. Beside it, *Quantum, reconsidered*, a seven-module course on
interference and learning, runs in the browser at
<https://wai.transaction.science/quantum-learn>.
- **The command line:** [`wai-quantum`](../../wai-quantum-cli/README.md):
run, check, draw, compile and estimate programs, verify receipts, and serve
the tools to agents.
- **In the browser and on the desktop:** [the Studio](../../quantum-studio/README.md)
and [the desktop app](../../wai-quantum-desktop/README.md).
- **From Python:** [`wai_quantum`](../../wai-quantum-py/README.md).
## The engine and its reference pages
- [The crate](../README.md): the simulator, the operational layer, the
research tools and the receipts.
- [Verdicts](verdicts.md): how far the engine checked an answer, the intents
and the repairs.
- [The compiler](compiler.md): the passes, the ε budget and the certificate.
- [Resource estimates](estimate.md): every number of an estimate and what it
assumes.
- [Published architectures, re-estimated](published-architectures.md): published
resource estimates through these estimators, each delta and why.
- [The reader's diagnostics](qasm-diagnostics.md) and
[what it does with each construct](qasm-feature-matrix.md).
- [The job layer's refusal codes](job-refusals.md).
- [Other formats](formats.md): QIR under its profiles and jeff, read and
written, each conversion checked.
- [Error correction and mitigation](qec.md): codes with their certified
distances, the decoders, thresholds, and mitigation in a job.
- [Pulse and dynamics](pulse.md): pulse programs read into schedules on
frames, integrated under a master equation with their error bounded and
stated, the same bits everywhere, and what their receipts bind.
- [Energy-landscape jobs](landscape.md): an energy over variables of three
states, run on a classical emulator of the settling model, every arrangement
checked where it is small, the joules priced, and classical methods on the same
instance at the same budget.
- [Energy to solution](landscape-energy-to-solution.md): that emulator against
tuned simulated annealing, parallel tempering, tabu search and an exact
solver, as the cost of a 99 in 100 chance of the lowest energy; operations
counted, the host's seconds and joules measured, the priced joules apart.
- [Stage 0, the sampler against the exact law](landscape-stage0.md): that
emulator's sampling kernel held to the Boltzmann law over every one of 3¹⁰ to
3¹² states, with thresholds registered before the runs; an ideal sampler must
pass and wrong kernels must fail, on the CPU and on the GPU members.
- [Variational algorithms and the algorithm library](variational.md): a
job's parameters, exact gradients with their rounding bound, the
optimisers, the variational eigensolver, QAOA, and programs for phase and
amplitude estimation, an adder and QSVT, each checked against a reference.
## Other surfaces
- [The job service](../../wai-quantum-service/README.md), over HTTP and MCP:
[running it yourself](../../wai-quantum-service/docs/self-host.md), as
[a batch scheduler's resource](../../wai-quantum-service/docs/scheduler.md),
and [what a result's provenance records](../../wai-quantum-service/docs/provenance.md).
- Views inside agent hosts: [the engine inside them](../../wai-quantum-views/README.md).
- The answer view layer, a draft extension: [its specification](../../extensions/quantum-answers.md).
- [Editors](../../tools/wai-quantum-editor/README.md): the language server,
the debugger and the formatter.
- [Your own hardware](../../wai-quantum-qpu/bring-your-own-quantum.md) and
[the provider crate](../../wai-quantum-qpu/README.md).
- [The workbench's specifications](../../wai-quantum-cli/discover/README.md).
- For agents: [the Agent Skill](../../wai-quantum-cli/skills/wai-quantum/SKILL.md)
and [`llms.txt`](../../wai-quantum-cli/docs/llms.txt), generated from the
servers' own tool lists.
## Changes between versions
- The changelog: [`wai/CHANGELOG.md`](../../CHANGELOG.md).
- What is stable, for how long, and how a change is announced, the schemas
of every document included: [the version policy](../VERSIONING.md).
- Each item deprecated, the version that deprecated it and its replacement:
[the deprecations page](../DEPRECATIONS.md).
## In other languages
Simplified Chinese: [this index](README.zh-CN.md), the
[command line's README](../../wai-quantum-cli/README.zh-CN.md), the
[Studio's](../../quantum-studio/README.zh-CN.md), the
[Python package's](../../wai-quantum-py/README.zh-CN.md), the
[crate's](../README.zh-CN.md), the course, the Studio's interface, and the
command line's own words (`--lang zh-CN`, or as `LANG` says). Each is a
machine-assisted translation, marked so, to be reviewed by a fluent reader.
## How these pages are checked
`wai/tools/quantum-docs/check_docs.py` reads every page named in its
`docs.json`. It runs each shell block marked `runnable` in a scratch
directory with the command line built from this checkout, runs the Python
blocks against the package and builds the Rust ones, and holds each shown
output to the real one. It verifies every receipt a block writes with
`wai-quantum verify`. A block that cannot run here (one that needs an
account, a server that does not return, or data the repository does not
hold) says so in its info string, and its commands must still name commands
and flags that exist. Every `wai-quantum …` in the prose must name a real
command, every relative link must reach a file, and every dependency a page
shows must be one this repository's version satisfies. A translation must
hold the same code as its English page. `.github/workflows/wai-quantum-docs.yml`
runs it, with the course's tests and the locale checks.