| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
joule-moq-web browser client / joule-moq-web · does this change touch it (push) Successful in 9s
wai cross-architecture byte-equality / does this change touch it (push) Successful in 14s
wai-app and Create / wai-app · does this change touch it (push) Successful in 27s
wai-audit collector and player integration / does this change touch it (push) Successful in 25s
WAI operation catalogue / does this change touch it (push) Successful in 14s
joule-code conformance gate / joule-moq-relay, its own energy on a counter (macos) (push) Successful in 33s
wai-fleet service / does this change touch it (push) Successful in 11s
wai-ops integer operators / does this change touch it (push) Successful in 9s
wai-key-proxy / does this change touch it (push) Successful in 11s
wai-ledger service / does this change touch it (push) Successful in 11s
wai-quantum command line / does this change touch it (push) Successful in 6s
wai-quantum docs, course and locales / does this change touch it (push) Successful in 5s
wai-quantum editors / does this change touch it (push) Successful in 8s
wai-quantum OpenQASM reader / does this change touch it (push) Successful in 6s
wai-quantum for JavaScript / does this change touch it (push) Successful in 9s
wai-quantum resource estimation / does this change touch it (push) Successful in 10s
wai-quantum pulse and dynamics / does this change touch it (push) Successful in 6s
wai-quantum other formats / does this change touch it (push) Successful in 10s
wai-quantum contract / does this change touch it (push) Successful in 12s
wai-quantum for Python / does this change touch it (push) Successful in 6s
wai-quantum extension points / does this change touch it (push) Successful in 7s
wai-quantum service / does this change touch it (push) Successful in 8s
wai-quantum error correction and mitigation / does this change touch it (push) Successful in 10s
wai-quantum studio and desktop / does this change touch it (push) Successful in 8s
wai-quantum verdicts and repairs / does this change touch it (push) Successful in 9s
wai-quantum variational and algorithm library / does this change touch it (push) Successful in 9s
wai-quantum views in agent hosts / does this change touch it (push) Successful in 6s
wai-sink-android native sink library / does this change touch it (push) Successful in 7s
wai-sink-swift native sink package / does this change touch it (push) Successful in 7s
wai-vector vector graphics / does this change touch it (push) Successful in 7s
WAI Studio / does this change touch it (push) Successful in 8s
wai cross-architecture byte-equality / macos-arm64 (reference) (push) Successful in 39s
wai-app and Create / wai-app · tests, clippy, the line language's verifier (linux) (push) Successful in 39s
wai cross-architecture byte-equality / linux-x86_64 (push) Successful in 48s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (push) Successful in 1m24s
wai-ops integer operators / independent checker (Python) (push) Successful in 15s
wai-ops integer operators / wasm32 under Node (push) Successful in 34s
wai-ops integer operators / wasm32-wasip2 (wasmtime) (push) Successful in 1m8s
wai-ops integer operators / linux-x86_64 (push) Successful in 1m13s
wai-quantum service / service energy · linux packages (push) Successful in 1m26s
wai-fleet service / service · macos (push) Successful in 1m18s
wai-audit collector and player integration / collector · linux (push) Successful in 1m31s
wai-ops integer operators / macos-arm64 (push) Successful in 49s
joule-code conformance gate / Build + round-trip C1-C4 vectors (push) Successful in 2m37s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (push) Successful in 8s
wai-fleet service / service · linux (push) Successful in 2m5s
wai-quantum command line / command line · macos (push) Successful in 1m32s
wai-quantum editors / editors · macos (push) Successful in 59s
joule-code conformance gate / joule-moq-relay, every target (push) Successful in 3m35s
wai-ledger service / service · macos (push) Successful in 1m17s
wai-quantum OpenQASM reader / corpus under wasm32-wasip2 (wasmtime) (push) Successful in 43s
wai cross-architecture byte-equality / linux-aarch64 (push) Successful in 38s
wai-ledger service / service · linux (push) Successful in 1m56s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (push) Successful in 2m19s
wai-quantum pulse and dynamics / the same bits · macos (push) Successful in 56s
wai-quantum docs, course and locales / the course and the command line's languages · linux (push) Successful in 2m18s
wai-quantum OpenQASM reader / reader and corpus · linux (push) Successful in 2m6s
wai-ops integer operators / linux-aarch64 (push) Successful in 1m20s
wai-quantum editors / editors · linux (push) Successful in 2m23s
wai-quantum contract / the policy is linked, and the deprecations page reads (push) Successful in 5s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (push) Successful in 1m38s
wai-key-proxy / proxy · linux (push) Successful in 3m26s
wai-quantum command line / command line · linux (push) Successful in 3m26s
wai-quantum resource estimation / estimation and calibration · linux, release (push) Successful in 1m39s
WAI operation catalogue / the catalogue and every door · linux (push) Successful in 4m34s
wai-quantum for Python / python · macos (push) Successful in 2m8s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs under wasm32-wasip2 (wasmtime) (push) Successful in 55s
wai-quantum extension points / the registry and the example · linux-arm64 (push) Successful in 2m28s
joule-code conformance gate / joule-moq-ingest, every target (push) Successful in 6m16s
wai-quantum for JavaScript / javascript · linux (push) Successful in 2m26s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (push) Successful in 2m34s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs · linux, release (push) Successful in 1m35s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (push) Successful in 2m14s
wai-quantum extension points / the registry under wasm32-wasip2 (wasmtime) (push) Successful in 51s
wai-vector vector graphics / linux-aarch64 (push) Successful in 2m25s
wai-quantum service / service · macos (push) Successful in 4m8s
wai-quantum studio and desktop / desktop app · macos (push) Successful in 3m26s
wai-app and Create / wai-app · Create, browser end-to-end (macos) (push) Successful in 7m38s
wai-quantum for Python / python · linux (push) Successful in 2m42s
wai-quantum extension points / the registry and the example · linux (push) Successful in 2m20s
wai-quantum other formats / readers, writers and the set · linux (push) Successful in 3m40s
wai-quantum contract / API compatibility · linux (push) Successful in 4m15s
wai-quantum other formats / the set under wasm32-wasip2 (wasmtime) (push) Successful in 3m38s
wai-vector vector graphics / macos-arm64 (push) Successful in 2m3s
wai-quantum studio and desktop / desktop app · windows (push) Successful in 9m6s
wai-quantum error correction and mitigation / codes, decoders, texts and mitigation · linux, release (push) Successful in 2m37s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux, release (push) Successful in 1m28s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (push) Successful in 4m56s
wai-quantum verdicts and repairs / verdicts, repairs and the intent set · linux (push) Successful in 1m51s
wai-quantum contract / schemas and the committed tool lists · linux (push) Successful in 6m17s
wai-quantum verdicts and repairs / the intent set and the verdict under wasm32-wasip2 (wasmtime) (push) Successful in 2m19s
wai-quantum studio and desktop / studio · browser (push) Successful in 3m39s
wai-quantum service / service · linux (push) Successful in 5m1s
wai-vector vector graphics / wasm32-wasip2 (wasmtime) (push) Successful in 59s
wai-vector vector graphics / wasm32 under Node (push) Successful in 52s
wai-vector vector graphics / fuzz, peak allocation, comparison count (push) Successful in 20s
wai-vector vector graphics / linux-x86_64 (push) Successful in 2m17s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (push) Successful in 1m0s
wai-quantum views in agent hosts / views · the page and its engine (push) Successful in 3m6s
wai-quantum studio and desktop / desktop app · linux (push) Successful in 4m52s
wai-quantum views in agent hosts / views · a scripted host (push) Successful in 3m22s
wai-vector vector graphics / independent checker (Python) (push) Successful in 3m10s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (push) Successful in 16m37s
wai-vector vector graphics / wasm32 in three browser engines (push) Successful in 5m45s
WAI Studio / Studio in Chromium and Firefox · macos (push) Successful in 10m21s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (push) Successful in 17m42s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (push) Successful in 16m3s
WAI Studio / Studio in WebKit · linux (push) Successful in 23m28s
|
||
| .. | ||
| accept | ||
| answers | ||
| eval | ||
| fabric | ||
| formats | ||
| intents | ||
| qasm3 | ||
| qec-text | ||
| reject | ||
| tools | ||
| v2 | ||
| vectors | ||
| browser_verify.mjs | ||
| browser_webgpu.mjs | ||
| expected_hashes.json | ||
| README.md | ||
quantum-conformance
Statevector-equivalence for both capabilities of the quantum-sim extension
(../extensions/quantum-sim.md): given the same WQC circuit, a conforming sink
MUST reconstruct the identical fixed-point statevector — hash equality, no
tolerance.
Provenance. Generated here by wai_quantum_vectors from circuits authored in code. No media.
Four trees, each a pinned corpus:
| tree | capability | what |
|---|---|---|
vectors/ + expected_hashes.json |
wai.quantum.circuit (WQC1) |
bell, ghz3, qft3 and qft5, frozen as they were first written, then qft5_x22, dyadic_ladder and qft8_ones |
v2/vectors/ + v2/expected_hashes.json |
wai.quantum.circuit2 (WQC2) |
the same seven circuits; each entry names its capability |
reject/ + reject/reject.json |
both | payloads a conforming reader refuses, each with the class it is refused as: malformed, contract or invalid (extension §2) |
accept/ + accept/accept.json |
both | payloads a conforming reader accepts, at the edges of the same rules, each with how it reads: capability, n_qubits, op count, circuit hash and measurement (extension §2) |
The OpenQASM 3 reader's corpus, programs with what the reader must do with
each, is qasm3/, with a README of its own. The error-correction text formats
(noisy Clifford circuits and detector error models, read and written back byte
for byte, with what each must count and what must be refused) are qec-text/,
with a README of its own. Programs in other formats (QIR under its profiles,
and jeff), each with the program it must read to, its round trip and its
refusals, and OpenQASM written to each, are formats/, with a README of its
own.
An entry with no capability is a wai.quantum.circuit vector. The trees are the
one reference all three surfaces are checked against, rather than being checked
against each other.
Native
cargo build --release --no-default-features --features quantum --bin wai_quantum_vectors
./target/release/wai_quantum_vectors verify wai/quantum-conformance
WASI (the edge)
Same binary, same source, different architecture:
cargo build --release --target wasm32-wasip2 --no-default-features --features quantum \
--bin wai_quantum_vectors
wasmtime run -W nan-canonicalization=y -W relaxed-simd-deterministic=y --dir wai/quantum-conformance::/corpus \
target/wasm32-wasip2/release/wai_quantum_vectors.wasm verify /corpus
CI runs this leg as a debug build, so integer overflow panics instead of wrapping
(wai-conformance.yml, job quantum-wasip2, which also runs the crate's
bit_identity tests and the circuit core's unit tests under wasmtime).
Browser
node wai/quantum-conformance/browser_verify.mjs [path/to/quantum-ml/pkg] [module file]
Drives the deployed wasm-bindgen bundle in headless Chromium: the sink opens every
file of both vector trees to its manifest entry, refuses every reject file with
its listed class and reads every accept file as listed (the two 255-qubit accept
files only to the simulate stage: the sink simulates on construction, so they
are checked to be read, not compared), and the IDE builds its catalog circuits in each gateset to the
matching manifest. It is run by hand, before the website deploys a bundle. Note that
the IDE's statevector_hash_hex() is empty until run() is called — the circuit is
built eagerly, the state is not.
Browser, on the fabric's WebGPU member
WAI_QUANTUM_WEBGPU_REQUIRE=1 node wai/quantum-conformance/browser_webgpu.mjs
Serves wai-web/demo and this directory on 127.0.0.1 and opens
quantum_webgpu.html in Playwright's headless browser, with the quantum_webgpu
bundle built into wai-web/demo/pkg-webgpu (wai-web/demo/README.md). The gate
kernel runs on the page's WebGPU adapter, compiled by the browser's own WGSL
compiler. The page must certify the kernel bit-exact for both gatesets on random-v1
and fabric-v1 with the digests fabric/expected.json pins (the CPU reference's), and
run every vector of both trees to its statevector hash, on the per-gate implementation
and again on the tile implementation fabric/expected.json names (the browser's
compiler holds its barrier to WGSL's uniformity rules); refuse every reject file with
its listed class; and refuse a circuit wider than the member holds. Without
WAI_QUANTUM_WEBGPU_REQUIRE=1, a page offered no adapter is reported and passes. CI
runs it on macOS (wai-quantum-webgpu.yml, job browser).
Referee
python3 -I wai/quantum-conformance/tools/referee.py wai/quantum-conformance
A second implementation of the extension in Python, integers only, sharing no code
with the Rust reference. It derives both phase tables (circuit/1 by its recurrence,
circuit2 by an interval-certified procedure) and requires their literal values and
digests, and the extension's Appendix B to state the same; rebuilds every vector
file byte for byte and recomputes every manifest entry; refuses every reject file
with its listed class and by the rule its name states; accepts every accept file
and reads it as listed; and requires
dyadic_ladder to change its statevector hash under every ±1 change of every
phase-table entry, in both tables. CI runs it on Linux (wai-conformance.yml,
job independent-verifiers).
Scope
The corpus pins the container, the reader's refusals, the fixed-point arithmetic and both phase tables, where hash equality is the right bar. What it covers, and where it stops:
- Every phase-table entry. Under either table, a change of ±1 to either
component of any
P(1..32), withHfollowingre P(3), changesdyadic_ladder's statevector hash; the referee checks this on every run. A change of ±1 toHalone changes the hash of every vector that appliesH. - The four original vectors see no
P(k). They run the QFT from|0…0⟩, where every controlled phase acts on zero amplitudes, so no change to aP(k)entry moves their hashes except throughH, which followsre P(3); the three vectors after them are there for that. - One control at most. No vector applies a gate with more than one control. Such gates appear in the reject tree, and in the accept tree as circuit/1's repeated control.
- One measurement. The shot sampler is pinned by bell's measurement alone.
The floating-point layers (quantum_source, quantum_channel) are held to
exact IEEE-754 bits by unit tests instead, since they have no WQC circuit to
pin — see entropy_is_bit_identical_across_architectures.