open-standards/wai/wai-quantum/examples/svd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science b3c62ae7f4
Some checks failed
WAI operation catalogue / does this change touch it (push) Successful in 15s
wai-quantum docs, course and locales / does this change touch it (push) Successful in 26s
wai-quantum editors / does this change touch it (push) Successful in 28s
wai-quantum clippy / does this change touch it (push) Successful in 32s
wai-quantum pulse and dynamics / does this change touch it (push) Successful in 14s
wai-quantum for Python / does this change touch it (push) Successful in 21s
wai-quantum error correction and mitigation / does this change touch it (push) Successful in 18s
wai-quantum qudit jobs / does this change touch it (push) Successful in 17s
wai-quantum extension points / does this change touch it (push) Successful in 45s
wai-quantum service / does this change touch it (push) Successful in 40s
wai-quantum variational and algorithm library / does this change touch it (push) Successful in 1m51s
wai-quantum verdicts and repairs / does this change touch it (push) Successful in 1m28s
wai-quantum views in agent hosts / does this change touch it (push) Successful in 1m22s
wai-quantum studio and desktop / does this change touch it (push) Successful in 1m53s
wai-quantum on Windows / does this change touch it (push) Successful in 1m9s
WAI Studio / does this change touch it (push) Successful in 1m6s
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 service / service energy · linux packages (push) Successful in 4m27s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (push) Successful in 35s
WAI examples / WAI examples · does this change touch them (push) Successful in 25s
wai-quantum landscape energy to solution / does this change touch it (push) Successful in 25s
wai-quantum landscape stage 0, the sampler against the exact law / does this change touch it (push) Successful in 27s
wai-quantum energy-landscape jobs / does this change touch it (push) Successful in 31s
wai-quantum OpenQASM reader / does this change touch it (push) Successful in 9m22s
wai-quantum-landscape-fpga reference design / does this change touch it (push) Successful in 9m52s
wai-quantum resource estimation / does this change touch it (push) Successful in 9m59s
wai-quantum command line / does this change touch it (push) Successful in 10m12s
wai-quantum for JavaScript / does this change touch it (push) Successful in 9m56s
wai-quantum other formats / does this change touch it (push) Successful in 9m56s
wai-audit collector and player integration / does this change touch it (push) Successful in 10m27s
wai-quantum contract / does this change touch it (push) Successful in 10m11s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (push) Successful in 28s
wai-quantum docs, course and locales / the course and the command line's languages · linux (push) Successful in 4m52s
wai-quantum editors / editors · linux (push) Successful in 5m58s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs under wasm32-wasip2 (wasmtime) (push) Successful in 2m17s
wai-quantum wasmQ / does this change touch it (push) Successful in 47s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs · linux, release (push) Successful in 4m10s
wai-quantum clippy / clippy, warnings denied, every feature set · linux (push) Successful in 6m4s
wai-quantum qudit jobs / the module and the conformance set under wasm32-wasip2 (wasmtime) (push) Successful in 2m25s
wai-quantum for Python / python · linux (push) Successful in 8m49s
wai-quantum extension points / the registry under wasm32-wasip2 (wasmtime) (push) Successful in 3m53s
wai-quantum qudit jobs / the module, the job, the conformance set, the referee and the verb · linux (push) Successful in 6m58s
wai-quantum error correction and mitigation / codes, decoders, texts and mitigation · linux, release (push) Successful in 5m56s
WAI operation catalogue / the catalogue and every door · linux (push) Successful in 17m40s
wai-quantum verdicts and repairs / verdicts, repairs and the intent set · linux (push) Successful in 6m11s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (push) Successful in 1m52s
wai-quantum extension points / the registry and the example · linux (push) Successful in 8m25s
wai-quantum verdicts and repairs / the intent set and the verdict under wasm32-wasip2 (wasmtime) (push) Successful in 4m36s
wai-quantum landscape stage 0, the sampler against the exact law / the small tier, to the byte · linux (push) Successful in 1m1s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux, release (push) Successful in 8m27s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (push) Successful in 4m4s
wai-quantum landscape energy to solution / the small tier, to the byte · linux (push) Successful in 2m49s
wai-quantum OpenQASM reader / corpus under wasm32-wasip2 (wasmtime) (push) Successful in 1m33s
wai-quantum views in agent hosts / views · a scripted host (push) Successful in 7m11s
wai-quantum service / service · linux (push) Failing after 12m32s
wai-quantum OpenQASM reader / reader and corpus · linux (push) Successful in 4m45s
wai-quantum command line / command line · linux (push) Failing after 3m28s
wai-quantum views in agent hosts / views · the page and its engine (push) Successful in 8m38s
wai-quantum studio and desktop / studio · browser (push) Successful in 8m56s
wai-quantum contract / the policy is linked, and the deprecations page reads (push) Successful in 10s
wai-quantum other formats / the set under wasm32-wasip2 (wasmtime) (push) Successful in 2m25s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (push) Successful in 27m38s
wai-quantum studio and desktop / desktop app · linux (push) Successful in 11m41s
wai-audit collector and player integration / collector · linux (push) Successful in 4m9s
wai-quantum energy-landscape jobs / native against WebAssembly, over many seeds (push) Successful in 9m39s
wai-quantum other formats / readers, writers and the set · linux (push) Successful in 7m39s
wai-quantum contract / schemas and the committed tool lists · linux (push) Failing after 5m48s
wai-quantum resource estimation / estimation and calibration · linux, release (push) Successful in 11m42s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (push) Successful in 16m48s
wai-quantum contract / API compatibility · linux (push) Successful in 10m28s
wai-quantum for JavaScript / javascript · linux (push) Successful in 12m12s
wai-quantum wasmQ / the reference modules rebuild to their modules of record · linux (push) Successful in 40s
wai-quantum energy-landscape jobs / reader, kernels, answers and the stated result · linux, release (push) Successful in 21m18s
wai-quantum energy-landscape jobs / the module under wasm32-wasip2 (wasmtime) (push) Successful in 21m30s
WAI examples / WAI examples · portable · linux (push) Successful in 23m6s
wai-quantum wasmQ / interpreter and vectors under wasm32-wasip2 (wasmtime) (push) Successful in 5m9s
wai-quantum wasmQ / profile, engines, reference modules, adversarial, vectors · linux (push) Successful in 8m23s
WAI Studio / Studio in WebKit · linux (push) Successful in 29m12s
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 43m29s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (push) Failing after 9m43s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (push) Successful in 10m28s
wai-quantum-landscape-fpga reference design / the board's code on the board's processor's architecture · linux-arm64, release (push) Successful in 2m11s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (push) Successful in 5m37s
wai-quantum extension points / the registry and the example · linux-arm64 (push) Successful in 11m39s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (push) Successful in 9m40s
WAI examples / WAI examples · android-app · linux-arm64 (push) Successful in 14m47s
wai-quantum energy-landscape jobs / the same bits · linux-arm64 (push) Successful in 14m50s
wai-quantum editors / editors · macos (push) Successful in 1m57s
wai-quantum pulse and dynamics / the same bits · macos (push) Successful in 2m0s
wai-quantum for Python / python · macos (push) Successful in 3m37s
wai-quantum qudit jobs / the same bits · macos (push) Successful in 3m3s
wai-quantum service / service · macos (push) Failing after 5m34s
wai-quantum studio and desktop / desktop app · macos (push) Successful in 4m7s
wai-quantum landscape stage 0, the sampler against the exact law / the small tier, to the byte · macos (push) Successful in 26s
wai-quantum landscape energy to solution / the small tier, to the byte · macos (push) Successful in 1m37s
wai-quantum command line / command line · macos (push) Failing after 1m14s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (push) Successful in 2m11s
wai-quantum energy-landscape jobs / the same bits · macos (push) Successful in 6m52s
WAI Studio / Studio in Chromium and Firefox · macos (push) Successful in 11m32s
wai-quantum wasmQ / profile, engines, reference modules, adversarial, vectors · macos (push) Successful in 2m10s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (push) Successful in 19m56s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (push) Successful in 25m32s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (push) Successful in 27m5s
wai-quantum studio and desktop / desktop app · windows (push) Successful in 14m37s
wai-quantum on Windows / engine · windows (push) Failing after 17m32s
wai-quantum on Windows / command line · windows (push) Failing after 5m35s
wai-quantum on Windows / job service · windows (push) Failing after 4m45s
wai-quantum on Windows / python · windows (push) Failing after 9m47s
WAI Quantum: a fast deterministic dense SVD, and the all-to-all peaked 56x1917 read on a chain
The tracker's all-to-all peaked circuit P9_Hqap_56x1917 is read: its peak is
the string the published solution (arXiv:2604.21908) checks its samples
against, found in 139 s with 16 threads on a shared 32-core CPU host. The
published run took an hour on a GPU and 734 s on a laptop CPU. It needed a
dense SVD fast at bonds in the hundreds; the tensor networks' was scalar.

quantum_svd (new module, with quantum_bptn): complex SVD, thin QR and product
for matrices a few thousand on a side, our own code. Householder reduction to
a real bidiagonal (a step's two updates sharing two passes over the trailing
matrix; a matrix twice as tall as wide to its triangle first), the
implicit-shift QR iteration of Demmel and Kahan with its rotations recorded
and applied in panels of eight columns, the reflections back onto the kept
vectors 32 at a time as I - V T V^H. Keep::Truncate forms only the kept
vectors, Keep::Values the values alone. Every number is formed by one worker
in an order the shape fixes, row sums go in blocks of 64 rows added in block
order, no FMA, no library call: the same bits at any thread count and on
arm64 and x86_64. examples/svd_bench.rs: one thread of a shared x86_64 host,
1.5 ms at 64^2, 59 ms at 256^2, 0.40 s at 512^2 (the Jacobi rotations 22 ms,
0.79 s, 5.8 s), 3.2 s at 1024^2, 28 s at 2048^2; the twelve matrices' hashes
equal at 1, 4 and 16 threads and on macOS arm64 (tests/data/svd,
tests/svd_bench.rs).

quantum_peaked::chain (new): the published method in our own code. The
blocks cut at half, those before on the operator's columns, those after on
its rows, the side with fewer gates going next; each side routed onto a
chain online by a lookahead heuristic; every two-site operation a TEBD
update of the operator as a state of local dimension 4, truncated at a
relative cutoff and a cap, the norm in an exact scale; past 10^6 numbers a
SWAP of both indices, the columns or the rows tried on every bond and kept
as a relabelling where it shrinks the bond. A layer's operations and a
pass's trials run side by side on disjoint pairs, committed in order.
route_both routes by whole sites, a qubit's row and column together: the
published routing moves one side's index, and a row moved from its column
costs a bond. Peak by exact conditional decoding, exact sampling, any
string's amplitude.

56x1917 (tracker_peaked chain route=both): at most bond 512 and 975,352
numbers, 17,341 routed SWAPs, 813 kept by unswapping of 9,033 tried,
2.3e-4 discarded, 388 MB. Peak
01101110111001100000100000001010011100101101010111110111 (qubit 0 first),
the published string, |<s|C|0>|^2 = 0.0999, 103 of 1000 exact samples (the
published run: about 10.6%). chainverify at cutoffs 1e-3 and 5e-4: 0.09999.
Routed as published: the same peak and 0.09996 in 762 s. Linux arm64 and
macOS arm64 give every number of the x86_64 receipt, bit for bit.

Tests: SVD reconstruction and orthonormality on full-rank, rank-deficient,
graded, zero and extreme-scale matrices, the same bits across thread counts;
chain amplitudes exact untruncated from any cut, a planted peak, a hidden
permutation stripped by unswapping; tests/tracker_peaked.rs re-runs the
56x1917 operator's first 62 layers to the bits its receipt logs and checks
the receipts; the P9 circuit kept as a fixture (unmodified, Apache-2.0).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-12 10:29:47 -05:00
..
inputs.rs WAI Quantum: a fast deterministic dense SVD, and the all-to-all peaked 56x1917 read on a chain 2026-11-12 10:29:47 -05:00