wai-quantum 0.3.23: belief-propagation tensor networks, a second method for the same circuits #140
Loading…
Reference in a new issue
No description provided.
Delete branch "wai-quantum-bptn"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
wai-quantum 0.3.23 adds a second classical method for the same circuits: belief-propagation tensor networks on the hardware graph. Sparse Pauli dynamics (0.3.22) and this method approximate in unrelated ways, so where they agree, neither approximation is likely to be what they agree on.
What it does
regauge()brings the network into the belief-propagation gauge;run_gauged()does so after every layer.edge_layers()partitions the coupling graph into layers of vertex-disjoint edges: three on heavy-hex, as the device applies them. Each layer is computed in parallel and committed in order, bit-identical to applying the gates one at a time.Measured
Found on the way
hypot. It gave last-bit differences between native and WASI builds. |γ| is now computed from/and√only.wai-quantum utility --method bptn --chi Nruns it from the CLI.Verification
--features full: 323 unit, 8 bit-identity and 3 published-reference tests pass natively, and the same under wasm32-wasip2.-D warnings; the wai-rs, wai-quantum-serve and wai-web workspaces check; the comparative-prose check is clean.A note on #137
#137 was merged before its two macOS jobs ran. They sat behind a backlog on the single macOS runner, which is the dev Mac, for over an hour. I ran both jobs' exact commands there against its head (
ba653dac), in a clean worktree with its own target dir, and all passed:--lib --tests: 310 + 7 + 2;Its only red check,
joule-code-rson linux-arm64, was a runner failing to download the Rust toolchain, in a workspace #137 does not touch.🤖 Generated with Claude Code