wai-quantum: the estimate job on the reaction-limited clock, one tick rule shared with quantum_arch, the step clock's answers and receipts unchanged #673

Closed
dcharlot wants to merge 9 commits from wai/quantum-estimate-reaction-clock into main

2026-11-08

Transaction Science
Merge origin/main into the branch
Some checks failed
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 18m37s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 20m23s
wai-quantum WebGPU member / member · GPU, Vulkan (thor) (pull_request) Successful in 24m34s
joule-code conformance gate / joule-moq-relay, every target (pull_request) Successful in 5m6s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Failing after 3m23s
joule-code conformance gate / joule-moq-ingest, every target (pull_request) Successful in 8m32s
wai-quantum energy-landscape jobs / the same bits · linux-arm64 (pull_request) Successful in 8m37s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 11m58s
wai-quantum CUDA member / member · CUDA (jetson-hub) (pull_request) Successful in 3m3s
wai-quantum OpenCL member / member · OpenCL GPU and CPU (jetson-hub) (pull_request) Successful in 1m19s
wai-quantum service / service energy · linux packages (pull_request) Successful in 2m46s
wai-quantum portable tensor program / tensor program · GPUs (jetson-hub) (pull_request) Successful in 35s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 19m37s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 39s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 1m45s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 1m18s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 4m8s
wai-quantum HIP member / member · HIP absent (linux-arm64) (pull_request) Successful in 1m31s
wai-quantum-landscape-fpga reference design / the board's code on the board's processor's architecture · linux-arm64, release (pull_request) Successful in 1m30s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (pull_request) Successful in 2m0s
wai-quantum npu-cores member / member · npu-cores absent (linux-arm64) (pull_request) Successful in 45s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 24m32s
wai-quantum tensor-engine member / member · tensor engine absent (linux-arm64) (pull_request) Successful in 36s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 28m22s
wai-quantum extension points / the registry and the example · linux-arm64 (pull_request) Successful in 3m42s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (pull_request) Successful in 2m33s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 4m22s
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Successful in 43m15s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 50m56s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 2h14m47s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 13:38:21 -05:00
Transaction Science
wai-quantum: the landscape's WebGPU members come from one instance, so a card is found every time
Some checks failed
wai-quantum WebGPU member / member · Metal (macos) (pull_request) Successful in 5m59s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 9m55s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 13m56s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 17m16s
wai-quantum WebGPU member / member · GPU, Vulkan (thor) (pull_request) Successful in 23m55s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Has been cancelled
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Has been cancelled
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Has been cancelled
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Has been cancelled
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Has been cancelled
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Has been cancelled
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Has been cancelled
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Has been cancelled
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Has been cancelled
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Has been cancelled
wai-quantum CUDA member / member · CUDA (jetson-hub) (pull_request) Has been cancelled
wai-quantum HIP member / member · HIP absent (linux-arm64) (pull_request) Has been cancelled
wai-quantum energy-landscape GPU members / members · jetson-hub (pull_request) Has been cancelled
wai-quantum-landscape-fpga reference design / the board's code on the board's processor's architecture · linux-arm64, release (pull_request) Has been cancelled
wai-quantum energy-landscape jobs / the same bits · linux-arm64 (pull_request) Has been cancelled
wai-quantum npu-cores member / member · npu-cores absent (linux-arm64) (pull_request) Has been cancelled
wai-quantum OpenCL member / member · OpenCL GPU and CPU (jetson-hub) (pull_request) Has been cancelled
wai-quantum pulse and dynamics / the same bits · linux-arm64 (pull_request) Has been cancelled
wai-quantum extension points / the registry and the example · linux-arm64 (pull_request) Has been cancelled
wai-quantum service / service energy · linux packages (pull_request) Has been cancelled
wai-quantum tensor-engine member / member · tensor engine absent (linux-arm64) (pull_request) Has been cancelled
wai-quantum portable tensor program / tensor program · GPUs (jetson-hub) (pull_request) Has been cancelled
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (pull_request) Has been cancelled
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Has been cancelled
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Has been cancelled
With the CUDA fault fixed, jetson-hub's leg still lost a member: the
RTX 4050 through Vulkan, from the fourth fault on. The disk was not the
cause. The leg compiled and wrote its files, and the same tests failed
twice more with 248 GB free. Nor was the card's memory: at most 630 of
6,141 MiB was in use.

Each discovery made its own wgpu instance. That host's NVIDIA Vulkan
driver (595.99) lists its card to a process's first ten instances and
not after, even with every one dropped. At that moment it logs
NV_ERR_NO_MEMORY for a host-memory allocation. A process that looks
again, as the device tests do for every test and every faulted kernel,
found the card gone; the order of the tests only decided where.

On jetson-hub, one process discovering 60 times:
- an instance a discovery: the card is found 10 times, then not again;
- one instance for the process: the card is found 60 times.

Discovery now takes the process's one instance.
a_member_is_found_however_often_the_host_looks discovers twelve times
in one process and wants the same members each time. On the Framework
(AMD, through Vulkan) and Thor (NVIDIA), the device tests, it among
them, pass twice each. The workflow expects 9 device tests where it
expected 8.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 11:39:44 -05:00

2026-11-07

Transaction Science
Merge origin/main (wai-quantum 0.9.0) into the branch
Some checks failed
wai-quantum-landscape-fpga reference design / the member against the model of the logic, and the logic against the model · linux, release (pull_request) Successful in 16m34s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 6m59s
WAI mbt2018_mean integer decode (regenerated vectors) / regenerate mbt2018_mean integer vectors → Rust decode, required (pull_request) Successful in 6m29s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 21m19s
wai-quantum WebGPU member / shader checks · browser build · wasip2 inertness (pull_request) Successful in 8m58s
wai-quantum WebGPU member / member · software Vulkan (linux) (pull_request) Successful in 2m27s
wai-quantum WebGPU member / member · integrated GPU, Vulkan (framework-128gb) (pull_request) Successful in 9m7s
wai-quantum CPU vector units / member · vector units, avx2 and avx512 (framework-128gb silicon) (pull_request) Successful in 18s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 7m39s
wai-quantum portable tensor program / tensor program · integrated GPU (framework-128gb) (pull_request) Successful in 16s
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Successful in 8m6s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 11m40s
wai-quantum HIP member / member · HIP absent (linux-arm64) (pull_request) Successful in 2m3s
wai-quantum npu-cores member / member · npu-cores absent (linux-arm64) (pull_request) Successful in 1m55s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 24m1s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (pull_request) Successful in 3m22s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 45m55s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 18m35s
wai-quantum-landscape-fpga reference design / the board's code on the board's processor's architecture · linux-arm64, release (pull_request) Successful in 3m27s
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Successful in 22m41s
wai-quantum tensor-engine member / member · tensor engine absent (linux-arm64) (pull_request) Successful in 3m12s
wai-quantum portable tensor program / tensor program · GPUs (jetson-hub) (pull_request) Successful in 29s
wai-quantum WebGPU member / member · GPU, Vulkan (thor) (pull_request) Successful in 23m54s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 4m44s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 24m31s
wai-quantum extension points / the registry and the example · linux-arm64 (pull_request) Successful in 11m24s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (pull_request) Successful in 8m26s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 46m4s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (pull_request) Failing after 1h2m20s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 2h29m56s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 12:48:08 -05:00
Transaction Science
wai-quantum: a CUDA sampling kernel that looks past its table stops, and the device stays
The jetson-hub leg's reds were not the card. The kernel log there holds
Xid 31 (an MMU fault: a kernel read an unmapped address) many times
today, the same address each time. They come from the process running
the device tests, and none is a hardware Xid. The same tests on Thor's
GPU, another card and driver, gave the same fault.

The fault test puts "fields held in 32 bits" into the CUDA kernels. The
sampling kernel shares field_of, so a wrong field sent its table lookup
far past the table. On CUDA nothing checks that index, so the read
faulted. A fault is sticky, and the process's primary context was lost:
- the next fault's kernels "opened on 0 devices";
- every later CUDA test found "CUDA_ERROR_ILLEGAL_ADDRESS".
WebGPU's kernels survive the same port because their indices are
bounds-checked. The Xid named the decline test's thread because that
test first made the context and its channel.

chains_in_order now takes the table's entry count and a fault word. A
lookup at or past the end sets the word and stops, and the host returns
an error. The host sizes the table to every field a cell can reach, so
the kernels as written never do this. A port that gets a field wrong
loses its grade (certify takes an error as not holding) and not the
device.

a_kernel_that_looks_past_its_table_loses_its_grade_and_not_the_device
puts a lookup 2^40 entries past the table into the CUDA kernel (and
256 MB past it into WebGPU's). It requires the grade lost, and the
clean kernels to open again on as many devices and certify bit-exact.
- With the check switched off it fails on Thor: "the clean kernels
  opened on 0 devices, before it on 1", with a new Xid 31.
- With the check on, the device tests pass twice with no Xid, and
  compute-sanitizer's memcheck finds 0 errors in the fault tests.
The workflow expects 8 device tests where it expected 7.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 11:43:37 -05:00
Transaction Science
Merge origin/main into the branch
Some checks failed
wai-quantum energy-landscape jobs / reader, kernels, answers and the stated result · linux, release (pull_request) Successful in 9m1s
wai-quantum CUDA member / member · CUDA (jetson-hub) (pull_request) Successful in 1m31s
WAI examples / WAI examples · portable · linux (pull_request) Successful in 11m48s
wai-quantum OpenCL member / member · OpenCL GPU and CPU (jetson-hub) (pull_request) Successful in 31s
wai-quantum portable tensor program / tensor program · GPUs (jetson-hub) (pull_request) Successful in 23s
wai-quantum service / service energy · linux packages (pull_request) Successful in 1m20s
wai-quantum WebGPU member / member · GPU, Vulkan (thor) (pull_request) Successful in 23m17s
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Successful in 17m27s
wai-quantum energy-landscape GPU members / members · jetson-hub (pull_request) Failing after 58s
joule-code conformance gate / joule-moq-relay, every target (pull_request) Failing after 3m8s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 2m11s
joule-code conformance gate / joule-moq-ingest, every target (pull_request) Successful in 6m16s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 29s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Failing after 3m20s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 9m3s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 2m3s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 2m26s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 5m4s
wai-quantum HIP member / member · HIP absent (linux-arm64) (pull_request) Successful in 3m3s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Failing after 15m41s
wai-quantum npu-cores member / member · npu-cores absent (linux-arm64) (pull_request) Successful in 2m7s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 22m29s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (pull_request) Successful in 3m45s
wai-quantum tensor-engine member / member · tensor engine absent (linux-arm64) (pull_request) Successful in 3m18s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 30m40s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (pull_request) Successful in 3m33s
wai-quantum extension points / the registry and the example · linux-arm64 (pull_request) Successful in 5m4s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 7m10s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 10m5s
wai-quantum energy-landscape jobs / the same bits · linux-arm64 (pull_request) Successful in 11m46s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 03:39:37 -05:00
Transaction Science
wai-quantum: the reaction clock, as its review asked
What the source says.
- arXiv:1905.09749 §2.11's "approximately 7 hours" is not a serial
  figure. Its 37 ms a lookup addition is the parallel basis of the
  paper's 5.1 hours: the lookup at half a beat an entry, and one runway
  piece's addition with the pieces side by side. It reaches 7 by
  rounding. Eq. (1)'s 503,808 lookup additions become 0.1·n_e·n, then
  3.7·n_e·n ms becomes 4·n_e·n, which is 6.99 hours; unrounded, 37 ms
  gives 5.18.
- The paper prints no serial figure. Its equations, at 10 µs a Toffoli
  one after another, give 7.3 hours (5,207 Toffolis a lookup addition),
  and the row, the page and the change note give that as our
  derivation.
- The job's 20.05 M qubits are at d = 25 (a new row). They are near the
  paper's 20 M only by chance.
- Of FeMoCo's 157 T factories against four, the tick is ×3.8 and the
  kind of factory ×10. At the paper's 38.75 µs the job keeps 41
  15-to-1 units, each 1,568 µs to a CCZ state against its 155.

What the engine takes.
- A reaction includes the logical measurement it reacts to (App. B.1).
  A reaction time shorter than the qubit's measurement is refused
  (QE08), and the 100 µs qubits have no 10 µs tick.
- `--qubit all` lists such a qubit as refused, with the reason, beside
  the others.
- A machine whose qubits pass 64 bits is refused (checked arithmetic;
  ceil_pos saturates), where it once wrapped into a signed receipt.
- The tool's schema and estimate.v1.json give the clock the engine's
  bounds: below 10⁹ µs, and no other member. The refusal message says
  so.
- The answer echoes the reaction time as the request wrote it, since
  t·10³/10³ is not always t.

What a reader sees.
- A reaction-clock receipt names its clock: `tick_time_ns` and a `clock`
  member, read from the figures it signs. A step-clock receipt is
  byte-identical to before. from_json refuses a `clock` member that
  disagrees with the figures, and compares bits, since the crate's JSON
  parser need not round floats back.
- `wai-quantum verify` prints the clock, and so do the estimate report
  and its `--qubit all` table.
- `Estimate::steps` says what it counts on the reaction clock.
- The README row, the request lists and the tool's description name the
  clock.

Tidying.
- The Rounding bullet is back under Honest boundaries.
- The clock test has its own doc comment, and the summary-rows test has
  its comment back.

New tests, each failing on the code before it, with the CLI's and the
schema check's new calls:
- a_reaction_time_is_never_shorter_than_the_qubit_s_measurement
- a_machine_past_sixty_four_bits_is_refused_and_not_wrapped
- a_reaction_clock_receipt_names_its_clock_and_a_step_clock_receipt_is_unchanged
- a_reaction_time_shorter_than_a_measurement_is_refused
- the_answer_echoes_the_reaction_time_as_written
- the_schemas_say_of_the_clock_what_the_engine_takes
- section_2_11_is_the_parallel_basis_rounded_and_the_serial_figure_is_ours
- the_reaction_rows_say_what_they_rest_on
- the_reaction_clock_reaches_the_request_and_the_report_names_it

The existing clock test now counts four reaction runs where it allowed
six or more: the 100 µs qubit's are refused.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-07 03:38:59 -05:00

2026-11-06

Transaction Science
Merge origin/main into the branch
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 23:37:58 -05:00
Transaction Science
merge the guard fix from #665
Some checks failed
wai-quantum views in agent hosts / views · a scripted host (pull_request) Successful in 5m23s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (pull_request) Successful in 4m50s
wai-web reach builds / wai-web reach builds · the package of record, every output as recorded (pull_request) Successful in 2m44s
wai-quantum tensor-engine member / member · tensor engine, the kernel toolchain's simulator (linux) (pull_request) Successful in 19m36s
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Successful in 9m3s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 19m30s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 37m49s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 3m42s
wai-quantum CUDA member / member · CUDA (jetson-hub) (pull_request) Successful in 1m43s
wai-quantum OpenCL member / member · OpenCL GPU and CPU (jetson-hub) (pull_request) Successful in 33s
wai-quantum service / service energy · linux packages (pull_request) Successful in 1m36s
wai-quantum portable tensor program / tensor program · GPUs (jetson-hub) (pull_request) Successful in 26s
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Successful in 21m41s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Failing after 9m23s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 26s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 16s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 42s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 2m32s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 24m45s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 19m24s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 30m14s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 7m46s
wai-quantum HIP member / member · HIP absent (linux-arm64) (pull_request) Successful in 1m21s
wai-quantum npu-cores member / member · npu-cores absent (linux-arm64) (pull_request) Successful in 33s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (pull_request) Successful in 1m41s
wai-quantum tensor-engine member / member · tensor engine absent (linux-arm64) (pull_request) Successful in 26s
wai-quantum extension points / the registry and the example · linux-arm64 (pull_request) Successful in 3m39s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (pull_request) Successful in 2m3s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 3m46s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 1h39m34s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 10:22:43 -05:00
Transaction Science
wai-quantum: the estimate job on the reaction-limited clock
Some checks failed
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (pull_request) Has been cancelled
wai-quantum CPU vector units / member · vector unit, rvv 1024-bit (riscv64, emulated) (pull_request) Has been cancelled
wai-quantum CPU vector units / member · vector unit, sve 128-bit (aarch64, emulated) (pull_request) Has been cancelled
wai-quantum CPU vector units / member · vector unit, rvv 128-bit (riscv64, emulated) (pull_request) Has been cancelled
wai-quantum CPU vector units / member · vector unit, sve 2048-bit (aarch64, emulated) (pull_request) Has been cancelled
wai-quantum CPU vector units / member · vector unit, avx2 (x86_64 silicon) (pull_request) Has been cancelled
wai-quantum CPU vector units / member · vector unit, sve 512-bit (aarch64, emulated) (pull_request) Has been cancelled
wai-quantum CPU vector units / member · vector units, avx2 and avx512 (framework-128gb silicon) (pull_request) Has been cancelled
wai-quantum CPU vector units / member · vector unit absent (macos) (pull_request) Has been cancelled
wai-quantum verdicts and repairs / verdicts, repairs and the intent set · linux (pull_request) Has been cancelled
wai-quantum verdicts and repairs / the intent set and the verdict under wasm32-wasip2 (wasmtime) (pull_request) Has been cancelled
wai-quantum views in agent hosts / views · the page and its engine (pull_request) Has been cancelled
wai-quantum views in agent hosts / views · a scripted host (pull_request) Has been cancelled
wai-quantum WebGPU member / shader checks · browser build · wasip2 inertness (pull_request) Has been cancelled
wai-quantum WebGPU member / member · software Vulkan (linux) (pull_request) Has been cancelled
wai-quantum WebGPU member / member · Metal (macos) (pull_request) Has been cancelled
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Has been cancelled
wai-quantum WebGPU member / member · GPU, Vulkan (thor) (pull_request) Has been cancelled
wai-quantum WebGPU member / member · integrated GPU, Vulkan (framework-128gb) (pull_request) Has been cancelled
wai-quantum WebGPU member / member · browser WebGPU (macos) (pull_request) Has been cancelled
wai-quantum WebGPU member / member · DX12 and Vulkan (cbio-windows) (pull_request) Has been cancelled
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Has been cancelled
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Has been cancelled
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Has been cancelled
WAI Studio / the catalogue's actions, the unit tests and the core · linux (pull_request) Has been cancelled
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Has been cancelled
WAI Studio / Studio in WebKit · linux (pull_request) Has been cancelled
wai-web reach builds / wai-web reach builds · the package of record, every output as recorded (pull_request) Has been cancelled
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Has been cancelled
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Has been cancelled
The estimate job priced arXiv:1905.09749's 2048-bit factoring at 60.7
hours against the paper's 5.1: every Toffoli took three logical steps,
and only quantum_arch had the reaction-limited clock. The job now takes
it: "clock": {"reaction_us": t} in a request, --reaction-us t on the
command line, reaction_us= in Python, and the estimate_resources tool on
both MCP servers.

One rule: quantum_resource::reaction_tick(reaction, supply), the slower
of the two, is the tick. quantum_arch::Timing::tick_us calls it
(quantum_arch now enables quantum_resource), and Clock::Reaction takes
it. On that clock estimate_isa_clocked takes the Toffolis' 3X steps out
and adds X ticks to the runtime, every Toffoli after the one before as
the layout runs its steps; holds the tiles' error over the whole
runtime; keeps enough factories that a CCZ state (four T states) comes
every tick, so the tick is the reaction time; and stretches ticks with
steps when slowed.

What the spec and receipts pin stays:
- Without a clock, or "clock": "steps", the answer and its receipts are
  what they were, bit for bit: estimate_isa is estimate_isa_clocked on
  Clock::Steps, the same arithmetic in the same order, and a clocked job
  on the step clock has the job's hash and seals the same receipt.
- On the reaction clock the estimate's steps are the lattice-surgery
  steps alone and its runtime adds the ticks, so the job is versioned: a
  ClockedJob, whose hash is wai:resource-job-clocked\x01 over the job's
  hash and the reaction time. A receipt sealed on one clock never
  verifies as sealed on the other.
- wai.quantum.estimate/1 grows: an optional request member clock, and
  an optional clock member in each estimate's figures (reaction_us,
  tick_us, toffolis). No public struct gained a field: the clock enters
  through new items only.

Through the job, arXiv:1905.09749's counts at its 10 us give 7.50 hours,
every Toffoli after the one before: the paper's own Section 2.11 estimate
on that basis is "approximately 7 hours"; its 5.1 runs its two runway
pieces side by side and its lookups at half a beat, which counts alone
do not carry. The published-architecture page carries these rows, and
the step clock's rows are now an assumption the request can change.

Tests, each failing on the code before it:
quantum_resource the_step_clock_is_the_estimate_bit_for_bit_and_the_
reaction_clock_keeps_pace; quantum_resource_receipt on_the_step_clock_
a_clocked_job_is_the_job_and_on_the_reaction_clock_another;
engine::estimate without_a_clock_the_answer_is_the_step_clock_s_and_
names_none, the_reaction_clock_runs_each_toffoli_in_a_tick_with_
factories_to_keep_up, a_reaction_clock_estimate_is_sealed_as_a_clocked_
job; and Python's test_an_estimate_on_the_reaction_clock_runs_each_
toffoli_in_a_tick. The resource-estimation workflow requires the five
Rust tests by name. The committed tool lists and agent docs are
regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 08:37:51 -05:00