All checks were successful
wai-quantum command line / does this change touch it (push) Successful in 36s
wai-quantum editors / does this change touch it (push) Successful in 38s
wai-quantum for JavaScript / does this change touch it (push) Successful in 34s
wai-quantum resource estimation / does this change touch it (push) Successful in 30s
wai-quantum contract / does this change touch it (push) Successful in 56s
wai-quantum OpenQASM reader / does this change touch it (push) Successful in 50s
wai-quantum docs, course and locales / does this change touch it (push) Successful in 1m17s
wai-quantum pulse and dynamics / does this change touch it (push) Successful in 31s
wai-quantum error correction and mitigation / does this change touch it (push) Successful in 22s
wai-quantum other formats / does this change touch it (push) Successful in 1m7s
wai-quantum for Python / does this change touch it (push) Successful in 1m3s
wai-quantum qudit jobs / does this change touch it (push) Successful in 20s
wai-audit collector and player integration / does this change touch it (push) Successful in 1m33s
WAI operation catalogue / does this change touch it (push) Successful in 1m31s
wai-quantum service / does this change touch it (push) Successful in 19s
wai-quantum variational and algorithm library / does this change touch it (push) Successful in 22s
wai-quantum views in agent hosts / does this change touch it (push) Successful in 26s
wai-sink-android native sink library / does this change touch it (push) Successful in 23s
wai-quantum extension points / does this change touch it (push) Successful in 50s
wai-quantum studio and desktop / does this change touch it (push) Successful in 43s
WAI Studio / does this change touch it (push) Successful in 32s
wai-quantum verdicts and repairs / does this change touch it (push) Successful in 44s
wai-sink-swift native sink package / does this change touch it (push) Successful in 42s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (push) Successful in 2m35s
wai-quantum service / service energy · linux packages (push) Successful in 2m43s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (push) Successful in 3m31s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (push) Successful in 6m1s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (push) Successful in 4m33s
wai-quantum extension points / the registry and the example · linux-arm64 (push) Successful in 5m25s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (push) Successful in 8s
wai-quantum energy-landscape jobs / does this change touch it (push) Successful in 9s
wai-quantum wasmQ / does this change touch it (push) Successful in 8s
wai-quantum contract / the policy is linked, and the deprecations page reads (push) Successful in 7s
wai-quantum editors / editors · linux (push) Successful in 3m49s
wai-quantum OpenQASM reader / corpus under wasm32-wasip2 (wasmtime) (push) Successful in 1m48s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (push) Successful in 17s
wai-quantum for JavaScript / javascript · linux (push) Successful in 4m32s
wai-quantum contract / API compatibility · linux (push) Successful in 5m9s
wai-quantum docs, course and locales / the course and the command line's languages · linux (push) Successful in 3m35s
wai-quantum OpenQASM reader / reader and corpus · linux (push) Successful in 5m8s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs · linux, release (push) Successful in 1m51s
wai-quantum resource estimation / estimation and calibration · linux, release (push) Successful in 7m26s
wai-quantum other formats / the set under wasm32-wasip2 (wasmtime) (push) Successful in 3m16s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs under wasm32-wasip2 (wasmtime) (push) Successful in 1m16s
wai-quantum other formats / readers, writers and the set · linux (push) Successful in 4m32s
wai-quantum qudit jobs / the module and the conformance set under wasm32-wasip2 (wasmtime) (push) Successful in 1m12s
wai-audit collector and player integration / collector · linux (push) Successful in 2m54s
wai-quantum error correction and mitigation / codes, decoders, texts and mitigation · linux, release (push) Successful in 6m53s
wai-quantum extension points / the registry under wasm32-wasip2 (wasmtime) (push) Successful in 2m23s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux, release (push) Successful in 2m32s
wai-quantum energy-landscape jobs / the same bits · linux-arm64 (push) Successful in 14m7s
wai-quantum extension points / the registry and the example · linux (push) Successful in 4m9s
wai-quantum qudit jobs / the module, the job, the conformance set, the referee and the verb · linux (push) Successful in 6m2s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (push) Successful in 54s
wai-quantum verdicts and repairs / the intent set and the verdict under wasm32-wasip2 (wasmtime) (push) Successful in 1m46s
wai-quantum for Python / python · linux (push) Successful in 8m53s
wai-quantum contract / schemas and the committed tool lists · linux (push) Successful in 15m9s
wai-quantum verdicts and repairs / verdicts, repairs and the intent set · linux (push) Successful in 2m39s
wai-quantum service / service · linux (push) Successful in 7m56s
wai-quantum studio and desktop / studio · browser (push) Successful in 8m6s
wai-quantum views in agent hosts / views · the page and its engine (push) Successful in 7m13s
wai-quantum views in agent hosts / views · a scripted host (push) Successful in 7m59s
WAI operation catalogue / the catalogue and every door · linux (push) Successful in 12m49s
wai-quantum studio and desktop / desktop app · linux (push) Successful in 10m56s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (push) Successful in 20m40s
WAI Studio / Studio in WebKit · linux (push) Successful in 14m18s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (push) Successful in 2m47s
wai-quantum wasmQ / the reference modules rebuild to their modules of record · linux (push) Successful in 42s
wai-quantum wasmQ / interpreter and vectors under wasm32-wasip2 (wasmtime) (push) Successful in 4m12s
wai-quantum command line / command line · linux (push) Successful in 36m30s
wai-quantum wasmQ / profile, engines, reference modules, adversarial, vectors · linux (push) Successful in 8m57s
wai-quantum energy-landscape jobs / reader, kernels, answers and the stated result · linux, release (push) Successful in 11m21s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (push) Successful in 11m30s
wai-quantum energy-landscape jobs / native against WebAssembly, over many seeds (push) Successful in 11m11s
wai-quantum energy-landscape jobs / the module under wasm32-wasip2 (wasmtime) (push) Successful in 19m49s
wai-quantum studio and desktop / desktop app · windows (push) Successful in 10m0s
wai-quantum editors / editors · macos (push) Successful in 1m39s
wai-quantum command line / command line · macos (push) Successful in 2m45s
wai-quantum pulse and dynamics / the same bits · macos (push) Successful in 1m34s
wai-quantum for Python / python · macos (push) Successful in 3m11s
wai-quantum qudit jobs / the same bits · macos (push) Successful in 2m32s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (push) Successful in 4m0s
wai-quantum studio and desktop / desktop app · macos (push) Successful in 5m5s
wai-quantum service / service · macos (push) Successful in 7m7s
WAI Studio / Studio in Chromium and Firefox · macos (push) Successful in 10m33s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (push) Successful in 6m49s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (push) Successful in 13m52s
wai-quantum wasmQ / profile, engines, reference modules, adversarial, vectors · macos (push) Successful in 2m16s
wai-quantum energy-landscape jobs / the same bits · macos (push) Successful in 6m34s
wai-quantum desktop release / the tag is the app's version (push) Successful in 15s
wai-quantum for JavaScript, release tarball / the tag is the command line's version (push) Successful in 8s
wai-quantum command line release / the tag is the crate's version (push) Successful in 23s
wai-quantum for Python, release wheels / the tag is the command line's version (push) Successful in 19s
wai-quantum for Python, release wheels / macOS · x86_64-apple-darwin (push) Successful in 1m52s
wai-quantum command line release / Linux · aarch64-unknown-linux-musl (push) Successful in 2m24s
wai-quantum for Python, release wheels / Linux · aarch64-unknown-linux-gnu (push) Successful in 2m23s
wai-quantum for Python, release wheels / Linux · x86_64-unknown-linux-gnu (push) Successful in 1m37s
wai-quantum desktop release / Linux · aarch64-unknown-linux-gnu (push) Successful in 10m57s
wai-quantum command line release / Linux · x86_64-unknown-linux-musl (push) Successful in 2m36s
wai-quantum for JavaScript, release tarball / the npm tarball · linux (push) Successful in 3m12s
wai-quantum desktop release / Linux · x86_64-unknown-linux-gnu (push) Successful in 13m57s
wai-quantum desktop release / Windows · x86_64-pc-windows-msvc (push) Successful in 11m51s
wai-quantum command line release / Windows · x86_64-pc-windows-msvc (push) Successful in 4m57s
wai-quantum for Python, release wheels / Windows · x86_64-pc-windows-msvc (push) Successful in 1m53s
wai-quantum desktop release / macOS · aarch64-apple-darwin (push) Successful in 4m11s
wai-quantum desktop release / macOS · x86_64-apple-darwin (push) Successful in 3m55s
wai-quantum desktop release / Homebrew cask, Scoop manifest and update manifest (push) Successful in 31s
wai-quantum command line release / macOS · aarch64-apple-darwin (push) Successful in 1m11s
wai-quantum command line release / macOS · x86_64-apple-darwin (push) Successful in 1m17s
wai-quantum for Python, release wheels / macOS · aarch64-apple-darwin (push) Successful in 43s
wai-quantum command line release / Homebrew formula and Scoop manifest (push) Successful in 26s
Every WAI Quantum package on a registry or a release today (crates.io 0.8.1, 0.4.1 and 0.2.4, PyPI 0.1.2, npm 0.1.1, the desktop app 0.1.2, the command line's archives, formula and manifest at 0.2.4) predates the strict receipt verifiers (#660,447379198,916de3508). This commit prepares the release that carries them; nothing is published, tagged or deployed here. Versions, from what each registry holds and VERSIONING.md's "Before 1.0": - wai-quantum 0.9.0 and wai-quantum-qpu 0.5.0 stay as the repository has them: neither number was ever published, and every break since 0.8.1 and 0.4.1 falls in that one 0.y bump. - wai-wasmq 0.1.0 is its first publication. The tests that read files outside the package (the conformance set, the WIT file) or call the reference modules' unpublished crates are excluded from the package, as the engine's are; they still run in the repository. - wai-quantum-cli 0.2.4 -> 0.3.0: 0.2.4 is on crates.io, and its library hands out wai_quantum::engine::targets::Target, whose crate moves 0.8 -> 0.9 and which gained a field, so callers of the 0.2 library can break. Its MCP tools only grow. - the job service 0.2.2 -> 0.2.3, the Python package 0.1.2 -> 0.1.3, the npm package 0.1.1 -> 0.1.2, the desktop app 0.1.2 -> 0.1.3: additions and fixes only, each carrying the 0.9.0 engine. What moves with them: both server.json files, tauri.conf.json, the desktop's requirement on the CLI, the four lockfiles that hold a moved package (each read with cargo metadata --locked on the build host), the Python README's wheel name and the first notebook's stored version output, the npm README's version line (it named the engine 0.8.0), and VERSIONING.md's CLI row. The views page (wai/wai-quantum/views/, shipped in the engine crate and served by both MCP servers) is rebuilt with wai-quantum-views/build.sh on the build host (Rust 1.99.1, macOS arm64): its engine was built on 11-09, before447379198, so a view checked receipts without that commit's rules. Script and styles are the same bytes; build-views.mjs --check passes. wai/CHANGELOG.md gains a section under Unreleased, "WAI Quantum, released YYYY-MM-DD: ...", the date for the publisher to fill: a summary entry (each version and why, what the release carries, what is not in it) and the quantum entries of wai/changes/, moved there in the assembler's order. Three entries that cover the quantum packages beside wai, wai-pack and the relay stay in wai/changes/ for the toolchain's next release. Checked on the build hosts, this tree: - cargo metadata --locked reads every lockfile of the seven crates (engine, qpu, wasmq, cli, desktop, service, Python). - wai-quantum: cargo package --locked passes (494 files, 3.2 MiB compressed; the packaged crate builds). - wai-quantum-qpu, wai-wasmq and wai-quantum-cli cannot package alone until wai-quantum 0.9.0 is on crates.io ("failed to select a version for the requirement wai-quantum = ^0.9.0"). Packaged together in a temporary workspace (cargo package -p each, resolved fresh), each packaged crate builds against the others as packaged: 168 KiB, 110 KiB, 1.2 MiB. - Linux x86_64, Rust 1.99.1, release: wai-quantum --features full --lib --tests 1716 passed, 21 ignored; wai-quantum-cli 159 passed; wai-wasmq 105 passed, 2 ignored; wai-quantum-qpu 141 passed; the job service's registry-manifest test passes. None failed. - cargo-semver-checks 0.51.0 against crates.io, as wai-quantum-contract.yml runs it: wai-quantum 4 major changes against 0.8.1 and wai-quantum-qpu 4 against 0.4.1, each allowed by its 0.y bump; wai-quantum-cli none against 0.2.4 (it does not see the engine dependency's move, which is why 0.3.0). Co-Authored-By: Claude Opus 5.5 <[email protected]>
49 lines
2.5 KiB
TOML
49 lines
2.5 KiB
TOML
[package]
|
|
name = "wai-quantum-cli"
|
|
version = "0.3.0"
|
|
edition = "2024"
|
|
license = "Apache-2.0"
|
|
description = "The wai-quantum command line: OpenQASM programs run on this machine as the quantum job service runs them (the strongest method each admits, its accuracy named, the result signed with the user's key), sent to the service, linted, drawn and verified; an MCP server for agents over stdio; and the research tools (error correction, DMRG, neural quantum states, resource estimates)."
|
|
repository = "https://git.transaction.science/Transaction-Science/open-standards"
|
|
homepage = "https://wai.transaction.science/quantum-run"
|
|
keywords = ["quantum", "openqasm", "simulation", "cli", "mcp"]
|
|
categories = ["command-line-utilities", "science", "simulation"]
|
|
readme = "README.md"
|
|
|
|
[lib]
|
|
name = "wai_quantum_cli"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "wai-quantum"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
default = ["service", "providers", "wasmq"]
|
|
# `submit`: send a job to the quantum job service over HTTPS.
|
|
service = ["dep:ureq"]
|
|
# `providers` and `run --provider`: the person's own quantum providers, their
|
|
# credentials in the operating system's keychain (wai-quantum-qpu).
|
|
providers = ["dep:wai-quantum-qpu"]
|
|
# `pack-wasmq`, `check-wasmq`, and `run` and `verify` of a wasmQ envelope: an OpenQASM 3
|
|
# program and the WebAssembly its `extern`s call, metered and receipted (wai-wasmq).
|
|
wasmq = ["dep:wai-wasmq"]
|
|
# The single-precision state vector on the GPU (`--method statevector_single`), on macOS.
|
|
metal = ["wai-quantum/quantum_sv_metal", "wai-quantum/quantum_cutrank_metal"]
|
|
# The fabric's accelerator members a statevector job may be placed on (`--fabric`, `wai-quantum fabric`): each loads its
|
|
# driver and runtime compiler when first used, so a build with them runs where there are none and finds no member there.
|
|
cuda = ["wai-quantum/quantum_fabric_cuda"]
|
|
hip = ["wai-quantum/quantum_fabric_hip"]
|
|
opencl = ["wai-quantum/quantum_fabric_opencl"]
|
|
|
|
[dependencies]
|
|
clap = { version = "4.6", features = ["derive", "env", "wrap_help"] }
|
|
clap_complete = "4.6"
|
|
getrandom = "0.4"
|
|
# float_roundtrip: a number read back reads as the double it was, so a
|
|
# result's receipt still verifies after any JSON writer has carried it.
|
|
serde_json = { version = "1", features = ["float_roundtrip"] }
|
|
ureq = { version = "3", optional = true, features = ["json"] }
|
|
wai-quantum = { version = "0.9.0", path = "../wai-quantum", default-features = false, features = ["full"] }
|
|
wai-quantum-qpu = { version = "0.5.0", path = "../wai-quantum-qpu", optional = true }
|
|
wai-wasmq = { version = "0.1.0", path = "../wai-wasmq", optional = true }
|