open-standards/wai/wai-quantum-service/docs/provenance.md
Transaction Science 1b07caf646
All checks were successful
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 1m47s
standards workspaces build + test / which workspaces this change touches (pull_request) Successful in 8s
wai-audit collector and player integration / does this change touch it (pull_request) Successful in 9s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (pull_request) Successful in 6s
WAI operation catalogue / does this change touch it (pull_request) Successful in 8s
WAI conformance / does this change touch it (pull_request) Successful in 6s
WAI energy receipts / does this change touch it (pull_request) Successful in 6s
WAI examples / WAI examples · does this change touch them (pull_request) Successful in 9s
wai-quantum command line / does this change touch it (pull_request) Successful in 7s
wai-quantum contract / does this change touch it (pull_request) Successful in 8s
wai-quantum CUDA member / does this change touch it (pull_request) Successful in 7s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 23s
wai-quantum dataflow member / does this change touch it (pull_request) Successful in 8s
wai-quantum docs, course and locales / does this change touch it (pull_request) Successful in 8s
wai-quantum signal processor / does this change touch it (pull_request) Successful in 8s
wai-quantum editors / does this change touch it (pull_request) Successful in 8s
wai-quantum resource estimation / does this change touch it (pull_request) Successful in 7s
wai-quantum other formats / does this change touch it (pull_request) Successful in 6s
wai-quantum FPGA member / does this change touch it (pull_request) Successful in 7s
wai-quantum HIP member / does this change touch it (pull_request) Successful in 8s
wai-quantum OpenQASM reader / does this change touch it (pull_request) Successful in 6s
wai-quantum for JavaScript / does this change touch it (pull_request) Successful in 8s
wai-quantum Metal member / does this change touch it (pull_request) Successful in 7s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 32s
wai-quantum OpenCL member / does this change touch it (pull_request) Successful in 6s
wai-quantum npu-cores member / does this change touch it (pull_request) Successful in 10s
wai-quantum neural-processor member / does this change touch it (pull_request) Successful in 9s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (pull_request) Successful in 1m39s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 45s
wai-quantum CUDA member / member · CUDA (jetson-hub) (pull_request) Successful in 1m38s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 33s
wai-quantum CUDA member / member · CUDA (thor) (pull_request) Successful in 2m10s
wai-quantum OpenCL member / member · OpenCL GPU and CPU (jetson-hub) (pull_request) Successful in 42s
WAI conformance / fast integer kernels, every x86_64 kernel set (AVX-512 silicon) (pull_request) Successful in 3m28s
wai-quantum OpenCL member / member · OpenCL GPU and CPU (thor) (pull_request) Successful in 54s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 2m25s
wai-quantum on every processor / emulated · loongarch64-unknown-linux-gnu (pull_request) Successful in 3m20s
WAI conformance / codec wrappers · fuzz smoke, text decode limits, C entry points, provenance, the semantic path (pull_request) Successful in 1m55s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 4m54s
wai-quantum HIP member / member · HIP (framework-128gb) (pull_request) Successful in 1m6s
wai-quantum on every processor / emulated · riscv64gc-unknown-linux-gnu (pull_request) Successful in 2m55s
wai-quantum pulse and dynamics / does this change touch it (pull_request) Successful in 8s
wai-quantum for Python / does this change touch it (pull_request) Successful in 9s
wai-quantum OpenCL member / member · OpenCL GPU (framework-128gb) (pull_request) Successful in 28s
wai-quantum error correction and mitigation / does this change touch it (pull_request) Successful in 8s
wai-quantum-qpu / does this change touch it (pull_request) Successful in 7s
wai-quantum on every processor / emulated · powerpc64-unknown-linux-gnu (pull_request) Successful in 4m22s
wai-quantum extension points / does this change touch it (pull_request) Successful in 7s
wai-quantum service / does this change touch it (pull_request) Successful in 8s
wai-quantum matrix-extension member / does this change touch it (pull_request) Successful in 7s
wai-quantum studio and desktop / does this change touch it (pull_request) Successful in 8s
wai-quantum tensor-engine member / does this change touch it (pull_request) Successful in 9s
wai-quantum portable tensor program / does this change touch it (pull_request) Successful in 12s
wai-quantum variational and algorithm library / does this change touch it (pull_request) Successful in 10s
wai-quantum CPU vector units / does this change touch it (pull_request) Successful in 8s
wai-quantum views in agent hosts / does this change touch it (pull_request) Successful in 9s
wai-quantum WebGPU member / does this change touch it (pull_request) Successful in 8s
wai-quantum on every processor / emulated · i686-unknown-linux-gnu (pull_request) Successful in 1m44s
wai-quantum verdicts and repairs / does this change touch it (pull_request) Successful in 14s
WAI Studio / does this change touch it (pull_request) Successful in 6s
wai-sink-android native sink library / does this change touch it (pull_request) Successful in 11s
wai-sink-swift native sink package / does this change touch it (pull_request) Successful in 10s
wai-web wasm32 / does this change touch it (pull_request) Successful in 6s
wai-web reach builds / wai-web reach · does this change touch it (pull_request) Successful in 13s
wai-quantum service / service energy · linux packages (pull_request) Successful in 1m49s
wai-quantum npu-cores member / member · npu-cores, neural processor (framework-128gb silicon) (pull_request) Successful in 2m24s
wai-quantum portable tensor program / tensor program · integrated GPU (framework-128gb) (pull_request) Successful in 17s
wai-quantum portable tensor program / tensor program · GPUs (jetson-hub) (pull_request) Successful in 25s
wai-audit collector and player integration / collector · linux (pull_request) Successful in 1m37s
wai-quantum CPU vector units / member · vector units, avx2 and avx512 (framework-128gb silicon) (pull_request) Successful in 21s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (pull_request) Successful in 1m58s
wai-quantum on every processor / emulated · armv7-unknown-linux-gnueabihf (pull_request) Successful in 7m57s
wai-quantum command line / command line · macos (pull_request) Successful in 4m47s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 38s
WAI conformance / faces from keypoints under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m45s
wai-quantum on every processor / emulated · powerpc64le-unknown-linux-gnu (pull_request) Successful in 8m40s
WAI operation catalogue / the catalogue and every door · linux (pull_request) Successful in 4m40s
wai-quantum dataflow member / member · dataflow device absent (macos) (pull_request) Successful in 1m30s
WAI conformance / quantum core and corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 4m24s
wai-quantum on every processor / emulated · aarch64-unknown-linux-gnu (pull_request) Successful in 11m21s
wai-quantum contract / the policy is linked, and the deprecations page reads (pull_request) Successful in 17s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (pull_request) Successful in 6m28s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 12m47s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (pull_request) Successful in 10m37s
wai-quantum CUDA member / member · CUDA absent (linux) (pull_request) Successful in 2m52s
wai-quantum FPGA member / member · FPGA datapath, simulated (macos) (pull_request) Successful in 1m2s
wai-quantum contract / API compatibility · linux (pull_request) Successful in 4m31s
wai-quantum OpenCL member / member · OpenCL GPU (macos) (pull_request) Successful in 24s
wai-quantum dataflow member / member · dataflow device, simulated (pci 1e52:401e) (pull_request) Successful in 3m41s
wai-quantum pulse and dynamics / the same bits · macos (pull_request) Successful in 1m1s
wai-quantum editors / editors · macos (pull_request) Successful in 5m39s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (pull_request) Successful in 22s
wai-quantum docs, course and locales / the course and the command line's languages · linux (pull_request) Successful in 1m59s
wai-quantum Metal member / member · Metal (macos) (pull_request) Successful in 50s
wai-quantum command line / command line · linux (pull_request) Successful in 7m27s
wai-quantum-qpu / credentials in the keychain (macos) (pull_request) Successful in 37s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 14m19s
wai-quantum contract / schemas and the committed tool lists · linux (pull_request) Successful in 7m18s
wai-quantum on every processor / emulated · s390x-unknown-linux-gnu (pull_request) Successful in 16m33s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 18m44s
wai-quantum for Python / python · macos (pull_request) Successful in 2m11s
wai-quantum matrix-extension member / member · matrix extension absent (macos) (pull_request) Successful in 14s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 19m29s
wai-quantum portable tensor program / tensor program · Metal and the arm64 CPU (macos) (pull_request) Successful in 19s
wai-quantum dataflow member / member · dataflow device, simulated (pci 1e52:b140) (pull_request) Successful in 6m58s
wai-quantum CPU vector units / member · vector unit absent (macos) (pull_request) Successful in 18s
wai-quantum editors / editors · linux (pull_request) Successful in 2m8s
wai-quantum neural-processor member / member · neural processor (macos) (pull_request) Successful in 4m29s
wai-quantum HIP member / member · HIP absent (linux-arm64) (pull_request) Successful in 54s
wai-quantum FPGA member / member · FPGA simulation absent (linux) (pull_request) Successful in 50s
wai-quantum npu-cores member / member · npu-cores absent (linux-arm64) (pull_request) Successful in 26s
wai-quantum WebGPU member / member · DX12 and Vulkan (cbio-windows) (pull_request) Successful in 13m9s
wai-quantum on every processor / emulated · sparc64-unknown-linux-gnu (pull_request) Successful in 17m49s
wai-quantum WebGPU member / member · integrated GPU, Vulkan (framework-128gb) (pull_request) Successful in 13m13s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 17m15s
wai-quantum other formats / the set under wasm32-wasip2 (wasmtime) (pull_request) Successful in 2m51s
WAI examples / WAI examples · portable · linux (pull_request) Successful in 11m50s
wai-quantum WebGPU member / member · browser WebGPU (macos) (pull_request) Successful in 2m24s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (pull_request) Successful in 1m38s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 15m51s
wai-quantum OpenCL member / member · OpenCL absent (linux) (pull_request) Successful in 25s
wai-quantum resource estimation / estimation and calibration · linux, release (pull_request) Successful in 4m32s
wai-quantum tensor-engine member / member · tensor engine absent (linux-arm64) (pull_request) Successful in 20s
wai-quantum Metal member / member · Metal absent (linux) (pull_request) Successful in 53s
wai-quantum service / service · macos (pull_request) Successful in 4m14s
wai-quantum neural-processor member / member · neural processor absent (linux) (pull_request) Successful in 19s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 3m48s
wai-quantum for JavaScript / javascript · linux (pull_request) Successful in 3m0s
wai-quantum OpenQASM reader / corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m32s
wai-quantum WebGPU member / member · Metal (macos) (pull_request) Successful in 3m33s
wai-quantum other formats / readers, writers and the set · linux (pull_request) Successful in 4m54s
wai-quantum-qpu / clients against their contracts (linux) (pull_request) Successful in 55s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs · linux, release (pull_request) Successful in 1m36s
wai-quantum OpenQASM reader / reader and corpus · linux (pull_request) Successful in 3m47s
wai-quantum matrix-extension member / member · matrix extension, emulated (aarch64 Linux) (pull_request) Successful in 24s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (pull_request) Successful in 1m53s
wai-quantum extension points / the registry and the example · linux-arm64 (pull_request) Successful in 2m56s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs under wasm32-wasip2 (wasmtime) (pull_request) Successful in 2m4s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 5m44s
wai-quantum extension points / the registry under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m0s
wai-quantum error correction and mitigation / codes, decoders, texts and mitigation · linux, release (pull_request) Successful in 2m32s
wai-quantum portable tensor program / tensor program · CPU, mutants, GPU builds (pull_request) Successful in 32s
wai-quantum CPU vector units / member · vector unit, rvv 1024-bit (riscv64, emulated) (pull_request) Successful in 26s
wai-quantum CPU vector units / member · vector unit, sve 128-bit (aarch64, emulated) (pull_request) Successful in 48s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux, release (pull_request) Successful in 1m28s
wai-quantum CPU vector units / member · vector unit, rvv 128-bit (riscv64, emulated) (pull_request) Successful in 15s
wai-quantum CPU vector units / member · vector unit, sve 2048-bit (aarch64, emulated) (pull_request) Successful in 24s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 27m2s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 2m40s
wai-quantum CPU vector units / member · vector unit, avx2 (x86_64 silicon) (pull_request) Successful in 22s
wai-quantum CPU vector units / member · vector unit, sve 512-bit (aarch64, emulated) (pull_request) Successful in 10s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 7m43s
wai-quantum for Python / python · linux (pull_request) Successful in 5m12s
wai-quantum service / service · linux (pull_request) Successful in 5m3s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 7m10s
wai-quantum extension points / the registry and the example · linux (pull_request) Successful in 6m26s
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Successful in 22m27s
wai-quantum WebGPU member / member · software Vulkan (linux) (pull_request) Successful in 1m44s
wai-quantum views in agent hosts / views · a scripted host (pull_request) Successful in 3m20s
wai-quantum WebGPU member / member · GPU, Vulkan (thor) (pull_request) Successful in 24m37s
wai-quantum views in agent hosts / views · the page and its engine (pull_request) Successful in 3m28s
wai-quantum studio and desktop / desktop app · linux (pull_request) Successful in 6m33s
wai-quantum studio and desktop / desktop app · windows (pull_request) Successful in 10m41s
wai-quantum studio and desktop / studio · browser (pull_request) Successful in 7m11s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (pull_request) Successful in 53s
wai-quantum verdicts and repairs / the intent set and the verdict under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m16s
wai-quantum WebGPU member / shader checks · browser build · wasip2 inertness · MSRV (pull_request) Successful in 6m7s
wai-quantum verdicts and repairs / verdicts, repairs and the intent set · linux (pull_request) Successful in 4m34s
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Successful in 4m22s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 6m6s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 15m40s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 28m44s
wai-web reach builds / wai-web reach builds · the package of record, every output as recorded (pull_request) Successful in 7m43s
wai-quantum tensor-engine member / member · tensor engine, the kernel toolchain's simulator (linux) (pull_request) Successful in 15m29s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 10m43s
wai-quantum signal processor / processor and member · signal processor, emulated (pull_request) Successful in 27m43s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (pull_request) Successful in 30m9s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 1h31m15s
wai-quantum-service: a job the service was running when it stopped runs once more
A job that was running when the service stopped came back interrupted,
its request kept, and nothing ran it again unless its client sent it
again. Since the engine gives the same result for the same request, the
service now runs it again itself: on start, a job that was running is
queued again in its order, to run once more from its stored request, and
its `interruptions` say when the service stopped. Stopped again while it
runs once more, it comes back interrupted with the reason and is not run
a third time (RERUNS = 1), so a job that stops the service whenever it
runs does not run for ever. GET /v1's `restored` counts the jobs run
again.

wai.quantum.job/1 now lists `interrupted` among its statuses, which the
service has returned since its jobs were kept across restarts, and the
optional `interruptions`.

Also: the store's pseudonym test held the hex of a keyed hash to not
containing "203", three digits of the address, which a random key gives
about once in 140 runs. It now holds it to hex, which cannot spell the
address.

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

7.2 KiB

What a result's receipt says about where it came from

Provenance surveys of quantum computing platforms sort what a run can record into five categories: the circuit submitted, the computer that ran it, the compilation that carried the one onto the other, the execution of the job, and the software around it. Two more sit beside them: the provider that operated the run, and the evidence for each record (supplied by the provider, derived, captured by the application, unavailable or not applicable). Compilation is the category recorded least: which passes ran, under what options, and from what input to what output, is mostly left on the client and not linked to the job.

This page maps every field of the service's job, its result and its receipt to those categories. A field marked sealed is inside the body the receipt signs, so it cannot be changed without the receipt failing. The receipt seals the request as submitted and the result as returned (receipts).

Since this release, each new result carries provenance (wai.quantum.provenance/1), which fills the gaps below. A result from before it carries none, and its receipt verifies as it always did, since a receipt signs whatever result it was given. A result without provenance reads as before.

Circuit

What Where Evidence
The program's text request.qasm (a set: each item's request.qasm) sealed
Its digest result.provenance.circuit.program: BLAKE3 of the text, the name the store keeps it under (digests.programs) sealed; derived
Its size result.qubits, result.gates, result.provenance.circuit sealed; derived
Its measurements the program's own measure statements; result.counts is keyed by its classical bits sealed
A generator's inputs, a sweep's point the item's request holds the program written out at the point; result.items[i].point sealed (the set's request and each item's)
What was repaired first result.repaired: the program that ran and each repair sealed
What it must do request.intent; result.verdict sealed

Computer

What Where Evidence
The machine a classical simulator: result.provenance.computer.kind sealed
The method, and why result.method; result.provenance.execution.plan.why sealed
Its accuracy result.accuracy (class, and a bound, a standard error or a fidelity estimate as the class gives) sealed
A device target modelled result.target: its hash, the calibration snapshot, the noise derived from it; result.provenance.computer.target sealed
Noise modelled request.noise sealed
A physical device none: the service runs no job on a quantum device not applicable

Compilation

What Where Evidence
Whether it was compiled result.provenance.compilation.asked sealed
Each pass that ran, in order, and its check's verdict result.provenance.compilation.passes: [{"pass", "verdict"}]: lowering, checked rewrites, phase folding, one- and two-qubit resynthesis, the Clifford+T approximation sealed
The options request.compile (epsilon, level, basis); result.compiled (basis, level, epsilon); result.provenance.compilation (basis, level, epsilon) sealed
The certificate result.compiled.certificate: the BLAKE3 of the compile certificate's canonical text, which lists every pass with its counts before and after, its check and its distance. POST /v1/compile returns the certificate itself, sealed sealed
The input and output circuits the input is request.qasm; result.compiled.source and .output count each, and the certificate's own compile (POST /v1/compile, with stages) gives each pass's circuit sealed
The distance it carries result.compiled.distance: the bound on the output's distance from the program, within the budget sealed
Logical to physical qubits for a device target, result.target.placement: the layout chosen, its routes and its expected success sealed
Random seeds none: no pass draws a random number (result.provenance.compilation.seeded: false) sealed
The compiler the engine, by name and version (Software) sealed
When the job's times (Execution) not sealed

A job that asks for no compile says so, "status": "not-applicable", with the reason: the program ran as the reader read it, on the method's own gates.

Execution

What Where Evidence
The job's identifier id (128 random bits) not sealed; the service's
Its status and times status, submitted_ms, started_ms, finished_ms; its status as events (GET /v1/jobs/{id}/events) not sealed; the service's
Interruption interruptions, each time the service stopped while the job ran; a job run again once is sealed as any job is, and status: interrupted and error for one it stopped again not sealed
Shots and seed request.shots, request.seed; result.provenance.execution sealed
The plan it ran under estimate (memory, work) beside the job; result.provenance.execution.plan sealed (in provenance)
The results result.counts, expectations, amplitudes, dynamic, ideal sealed
Its time result.elapsed_ms sealed
Its energy result.energy: a counter reading with its class, scope, attribution and declared uncertainty, or why it is unmetered sealed
A set's items result.items, each with its own result and receipt; the set's root sealed
Where it is kept digests: the BLAKE3 digests of its request, programs, result and receipt in the store not sealed; each digest can be recomputed

Software

What Where Evidence
The engine result.provenance.software.engine: wai-quantum <version> sealed
The host result.provenance.software.host: wai-quantum-service <version> sealed
The access path the HTTP API or its MCP tools; a run an agent asks for over MCP carries "verdict": true in its request sealed (the request)
The interface GET /v1/openapi.json not sealed

Provider and evidence

What Where Evidence
Who sealed it result.receipt.key (an Ed25519 key, in hex); did:key in the key set the signature
When that key signed GET /.well-known/wai-quantum-receipt-keys: each key's window and its signed transition to the next signed transitions
That nothing changed the receipt's signature over the BLAKE3 digest of the request and result (RFC 8785); POST /v1/verify and wai-quantum verify check it the signature
A set's items the set's receipt over its head, which holds the Merkle root of every item's leaf; each item's path to it the signature

What a receipt does not say

A receipt proves who signed which request and which result. It does not prove the physics is right. How far the engine checked an answer is the verdict's to say (result.verdict: parsed, executed, evidence, proof), and an energy figure is the platform's own reading, relayed and labelled, not independently rooted. The job's identifier and times are the service's account, kept beside the result, not inside the signed body.