| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
standards workspaces build + test / aac-rs (push) Successful in 37s
standards workspaces build + test / joule-code-rs (push) Successful in 47s
standards workspaces build + test / jouleclaw-rs (push) Successful in 2m34s
standards workspaces build + test / joulecontract-rs (push) Successful in 39s
no-vanity-metrics / Scan committed Markdown for vanity metrics (push) Has been cancelled
standards workspaces build + test / arl-rs (push) Has been cancelled
standards workspaces build + test / eoc-rs (push) Has been cancelled
standards workspaces build + test / jcp-rs (push) Has been cancelled
standards workspaces build + test / joule-ui-rs (push) Has been cancelled
standards workspaces build + test / jouledesk-rs (push) Has been cancelled
standards workspaces build + test / joulehook-rs (push) Has been cancelled
standards workspaces build + test / mesh-rs (push) Has been cancelled
standards workspaces build + test / openpay (push) Has been cancelled
standards workspaces build + test / proof-rs (push) Has been cancelled
standards workspaces build + test / sandbox-rs (push) Has been cancelled
standards workspaces build + test / sense-rs (push) Has been cancelled
standards workspaces build + test / smart-byte-rs (push) Has been cancelled
WAI conformance / cargo-class corpora · linux (push) Has been cancelled
WAI conformance / cargo-class corpora · linux-arm64 (push) Has been cancelled
WAI conformance / cargo-class corpora · macos (push) Has been cancelled
WAI conformance / cargo-class corpora · windows (push) Has been cancelled
WAI conformance / cross-arch byte-equality · linux (push) Has been cancelled
WAI conformance / cross-arch byte-equality · linux-arm64 (push) Has been cancelled
WAI conformance / cross-arch byte-equality · macos (push) Has been cancelled
WAI conformance / cross-arch byte-equality · windows (push) Has been cancelled
WAI conformance / C2PA manifest emission · signed, read back, validated (push) Has been cancelled
standards workspaces build + test / map-rs (push) Has been cancelled
The crate description has long promised "identical results native, in the
browser, and as a WASI component at the edge". That was last checked around
0.3.3, and everything since -- quantum_source's f64 Jacobi eigensolver and its
hand-rolled log2, quantum_channel, the qudit and comm layers -- landed without it
being rechecked. I had also flagged, and not closed, that the entropy
reproducibility test only proved one machine agreed with itself.
Both are now closed, and the result is stronger than expected: the ENTIRE suite
passes under wasm32-wasip2 on wasmtime, 266 tests, not merely a sample.
CARGO_TARGET_WASM32_WASIP2_RUNNER=wasmtime \
cargo test --release --target wasm32-wasip2 --features full
Thirteen CLI invocations were also compared byte-for-byte between native
aarch64-darwin and the wasm component, covering the integer dyadic core, the f64
entropy and channel paths, CHSH, qutrits, BB84 and an Ed25519 receipt. All
identical -- including JSON that prints full-precision f64 such as
1.000000000824584, so this is bit-identical floating point rather than agreement
after rounding.
To keep it closed, two tests now pin exact IEEE-754 bits rather than tolerances:
the maximally mixed case, and -- because equal eigenvalues barely exercise the
eigensolver -- a half-depolarized |+> whose spectrum is genuinely non-trivial,
along with its Holevo bound. A platform that computes something different now
fails the suite instead of quietly returning a different number.
This is what avoiding libm bought. `ln` is free to differ in its last places
between platforms; computing log2 in-crate by repeated squaring is what makes the
bits agree, and that is now demonstrated rather than argued.
Co-Authored-By: Claude Opus 5 <[email protected]>
|
||
| .. | ||
| lib.rs | ||
| merkle.rs | ||
| quantum.rs | ||
| quantum_atom.rs | ||
| quantum_cal.rs | ||
| quantum_channel.rs | ||
| quantum_comm.rs | ||
| quantum_compile.rs | ||
| quantum_control.rs | ||
| quantum_info.rs | ||
| quantum_kernel.rs | ||
| quantum_mitigate.rs | ||
| quantum_mps.rs | ||
| quantum_noise.rs | ||
| quantum_ops.rs | ||
| quantum_pauli.rs | ||
| quantum_phasor.rs | ||
| quantum_phasor_meter.rs | ||
| quantum_qbom.rs | ||
| quantum_qdata.rs | ||
| quantum_qec.rs | ||
| quantum_qfhrr.rs | ||
| quantum_qir.rs | ||
| quantum_qudit.rs | ||
| quantum_receipt.rs | ||
| quantum_source.rs | ||
| quantum_stabilizer.rs | ||
| quantum_toolchain.rs | ||
| quantum_vml.rs | ||