open-standards/wai/wai-web
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 95658366ed
Some checks failed
WAI conformance / cargo-class corpora · linux (push) Successful in 30s
WAI conformance / cargo-class corpora · linux-arm64 (push) Successful in 34s
WAI conformance / cross-arch byte-equality · linux (push) Successful in 14s
WAI conformance / cross-arch byte-equality · linux-arm64 (push) Successful in 20s
WAI conformance / cargo-class corpora · macos (push) Successful in 1m2s
WAI conformance / cross-arch byte-equality · macos (push) Successful in 17s
WAI conformance / cargo-class corpora · windows (push) Has been cancelled
WAI conformance / cross-arch byte-equality · windows (push) Has been cancelled
wai: quantum toolchain — the classical-hardware quantum IDE core
The first layer of a SOTA quantum development toolchain, built on the existing
byte-exact fixed-point simulator (wai.quantum.circuit). Framework-neutral,
offline, no cloud/SDK — every run reproducible to the bit.

- quantum_toolchain.rs (feature quantum_toolchain): (1) algorithm library —
  Bell, GHZ, QFT, Grover, Bernstein–Vazirani, Deutsch–Jozsa, teleportation
  (deferred-measurement), superdense coding, as runnable circuit generators; (2)
  state analysis — probabilities, Pauli expectations, per-qubit Bloch vectors,
  single-qubit entanglement entropy + purity (display-layer f64; the byte-exact
  artifact stays the statevector hash); (3) backend selection — Clifford detection
  + cheapest-sufficient recommendation (stabilizer → statevector → tensor-network);
  (4) OpenQASM 3 import/export over the dyadic gate set (P(k) ↔ 2π/2^k), so
  circuits move to/from any other toolchain.
- wai-web: QuantumIde binding — edit/load/run a circuit, inspect amplitudes,
  interference, entanglement, shots; export QASM; seal a signed run receipt.

Honest boundary: the exact gate set is the dyadic family (Clifford + T + P(k) with
arbitrary controls) — every phase exactly representable, which is why the result
is byte-identical everywhere; continuous rotations are out of the exact set by
construction. Tensor-network/stabilizer sampling backends are recommended, not yet
executed (next increment). 33 tests green (algorithms verify, analysis correct,
Clifford detection, QASM round-trip + foreign import).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-08-28 10:18:40 -04:00
..
demo wai: compact binary model + in-browser conditional-codec demo 2026-06-25 03:14:46 -04:00
src wai: quantum toolchain — the classical-hardware quantum IDE core 2026-08-28 10:18:40 -04:00
Cargo.lock chore(deps): cargo update across the workspace; eoc toolchain → 1.98.0 2026-08-26 07:39:26 -04:00
Cargo.toml wai: quantum toolchain — the classical-hardware quantum IDE core 2026-08-28 10:18:40 -04:00