wai-quantum qec code, decode and threshold beside lab (lab qec unchanged), each answer signed with the user's key; run --mitigate; compile --twirl and --dd. Both MCP servers serve qec_code, qec_decode and qec_threshold in one wording from the engine, and a job's mitigate and a compile's twirl and dd in their schemas. The service answers POST /v1/qec/code, /decode and /threshold sealed with its key, within bounds that send a long certification or a large threshold to the command line (J031), and lists them in its OpenAPI document. The agent docs regenerated; both smoke scripts check the new calls. Co-Authored-By: Claude Opus 5.5 <[email protected]>
30 lines
1.6 KiB
TOML
30 lines
1.6 KiB
TOML
[package]
|
|
name = "wai-quantum-service"
|
|
version = "0.2.0"
|
|
edition = "2024"
|
|
rust-version = "1.97"
|
|
license = "Apache-2.0"
|
|
description = "The WAI quantum stack as a public job service: OpenQASM 3 circuits run by the strongest method each admits (bit-exact and exact state vectors, stabilizer tableaux, matrix product states, sparse Pauli dynamics), every result naming its method and its accuracy and sealed with the service's key; each job in its own process, inside a memory budget."
|
|
repository = "https://git.transaction.science/Transaction-Science/open-standards"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
axum = "0.8"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "time", "sync", "net", "io-util"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
# float_roundtrip: a number a client sends back reads as the double it was
|
|
# (the default reader rounds twice), so its receipt still verifies.
|
|
serde_json = { version = "1", features = ["float_roundtrip"] }
|
|
getrandom = "0.4"
|
|
# The job store's content addresses (src/store.rs), as the engine's receipts use.
|
|
blake3 = "=1.8.7"
|
|
# A job's status as server-sent events (src/http.rs): a stream built from its changes.
|
|
futures-util = { version = "=0.3.34", default-features = false }
|
|
wai-quantum = { path = "../wai-quantum", default-features = false, features = ["quantum_engine", "quantum_receipt", "quantum_qec", "quantum_noise", "quantum_sv_metal", "quantum_cutrank_metal"] }
|
|
|
|
# proc_pid_rusage and waitid, for each job's energy (src/energy.rs).
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[profile.release]
|
|
lto = "thin"
|