open-standards/wai/wai-quantum-py/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science a7464244c5 WAI Quantum: wasmQ envelopes and qudit jobs in Python, npm, the Studio and the desktop app
- Python: qudit, qudit_check, wasmq (an envelope's bytes, a path or an example's name),
  wasmq_verify (with the envelope, run again byte for byte) and wasmq_examples, the
  extension module running an envelope on wai-wasmq's own interpreter (no compiler in the
  wheel); Service.wasmq and Service.qudit run them on a service. Tests: both kinds run and
  verified here, a qudit run equal to `wai-quantum qudit run`'s bits and a wasmQ/1 job equal
  to `wai-quantum run`'s byte for byte, and both run on a service built from this checkout.
- npm (wai-web, quantum_engine): QuantumEngine.qudit and QuantumEngine.wasmq (the
  interpreter, the only engine on wasm32), engine_qudit_check, engine_wasmq_verify,
  engine_wasmq_examples and engine_wasmq_example. The smoke test runs every example in Node,
  each sealed, held to its form and run again, a fault sealed and W013 refused.
- Quantum Studio: the "Qudits" and "wasmQ" panes (closed until opened), in the browser and
  in the desktop app (its qudit, qudit_check, wasmq, wasmq_verify and wasmq_examples
  commands): the qudit counts by digits, amplitudes as integers, bounds, the seal checked
  and the request run again; an example envelope or a .wai file opened there, its outcome,
  calls, fuel, counts and energy, its seal and form checked and the envelope run again; a
  refusal with its code. The browser e2e drives each.
- quantum-wasmq §11.9 and quantum-sim §9.10 name every surface.

Tested on the build hosts: wai-web for wasm32-unknown-unknown and the npm smoke test in Node
26 (macOS arm64); the Python package's wheel (maturin 1.15.0), clippy -D warnings and pytest
(95 passed, the widgets' node test skipped there) on Linux x86_64; the Studio's browser e2e
(macOS arm64, STUDIO_SKIP_SERVICE=1), every qudit and wasmQ check passing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-10 23:18:39 -05:00
..
conftest.py wai-quantum 0.7.0 integrated: the generated material on the final tree, the pins it moves, and what replaying every job found 2026-10-28 08:43:06 -04:00
front_ends.mjs wai-quantum-py: WAI Quantum in Python and notebooks, in-process 2026-10-27 19:51:08 -04:00
requirements.in wai-quantum-py: WAI Quantum in Python and notebooks, in-process 2026-10-27 19:51:08 -04:00
requirements.lock wai-quantum-py: WAI Quantum in Python and notebooks, in-process 2026-10-27 19:51:08 -04:00
run_notebooks.py wai-quantum-py: WAI Quantum in Python and notebooks, in-process 2026-10-27 19:51:08 -04:00
smoke.py wai-quantum-py: WAI Quantum in Python and notebooks, in-process 2026-10-27 19:51:08 -04:00
test_cli.py WAI Quantum: wasmQ envelopes and qudit jobs in Python, npm, the Studio and the desktop app 2026-11-10 23:18:39 -05:00
test_engine.py WAI Quantum: wasmQ envelopes and qudit jobs in Python, npm, the Studio and the desktop app 2026-11-10 23:18:39 -05:00
test_service.py WAI Quantum: wasmQ envelopes and qudit jobs in Python, npm, the Studio and the desktop app 2026-11-10 23:18:39 -05:00
test_widgets.py wai-quantum-py: WAI Quantum in Python and notebooks, in-process 2026-10-27 19:51:08 -04:00