open-standards/wai/wai-quantum/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science e546a87a2f wai-quantum circuit2: the crate's consumers follow the circuit's gateset
QuantumReceipt gains gateset_of, which names the gateset under which a
circuit's ops hash to the receipt's circuit_hash, and gateset_note, which
turns that into the text to show when a reconstruction fails for that
reason. verify_reconstruction stays strict. from_json refuses an n_qubits
that does not fit a u8 and an n_ops that does not fit a u32 instead of
truncating them.

The fabric names its gate kernel and random corpus once per gateset:
wai.quantum.circuit2/apply and wai.quantum.circuit2/random-v1 join the
circuit/1 names. certify_lanes and lanes::random_circuit take a gateset and
draw the same ops from a seed in both. detect_local offers the reference
kernel of each gateset. The lanes32 corpus digests for seed 7 and 200 cases
are pinned: d18454c6 for circuit/1, as 0.3.41 certified it, and 3dbde276
for circuit2.

noisy_expect_z and route_line build their circuits with empty_like, so a
derived circuit keeps its source's gateset. from_qasm refuses a gate that
names one qubit twice as an invalid circuit when it reads it, in every
gateset. quantum_spd's controlled_phase refuses a phase on 32 or more
qubits instead of shifting out of range. The QIR and QASM export docs say
that a circuit/1 circuit exports ideal angles, not its own numerics. The
bell and receipt examples print the capability and handle the fallible
calls.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-09 11:19:49 -04:00
..
arch_factoring.rs wai-quantum 0.3.29: the architecture around the code, priced, and the 2025 factoring machine re-run 2026-10-04 17:33:48 -04:00
bell.rs wai-quantum circuit2: the crate's consumers follow the circuit's gateset 2026-10-09 11:19:49 -04:00
chem_dmrg.rs wai-quantum 0.3.36: molecules and neural quantum states, held to exact answers 2026-10-05 16:15:50 -04:00
dmrg_chain.rs wai-quantum 0.3.34: ground states of spin chains by DMRG, held to exact answers 2026-10-05 09:50:20 -04:00
gbs_check.rs wai-quantum 0.3.27: Gaussian boson sampling, exactly 2026-10-04 16:19:25 -04:00
ldpc_memory.rs wai-quantum 0.3.30: qLDPC memory at circuit level, re-derived from the circuit up 2026-10-04 21:30:40 -04:00
nqs_ground.rs nqs_ground: a projected network up to 24 spins is held to its sector alone 2026-10-08 14:17:42 -04:00
qec_frame.rs wai-quantum 0.3.25: error correction at circuit level, sampled, modelled and decoded exactly 2026-10-04 14:21:56 -04:00
qec_threshold.rs wai-quantum 0.3.25: error correction at circuit level, sampled, modelled and decoded exactly 2026-10-04 14:21:56 -04:00
qio_gset.rs wai-quantum 0.3.31: quantum-inspired optimisation, a re-runnable classical baseline 2026-10-05 05:27:49 -04:00
receipt.rs wai-quantum circuit2: the crate's consumers follow the circuit's gateset 2026-10-09 11:19:49 -04:00
sv_run.rs wai-quantum 0.3.28: the dense state vector at any angle, the same bits threaded or not 2026-10-04 17:01:39 -04:00
tdvp_quench.rs wai-quantum 0.3.35: time evolution of spin chains by TDVP, held to exact answers 2026-10-05 11:13:38 -04:00
threshold.rs wai-quantum 0.3.13: mixed states, and a bound that classical physics cannot reach 2026-09-07 03:47:38 -04:00
tn_path.rs wai-quantum 0.3.26: tensor-network contraction, hyper-optimised, sliced, bit-identical 2026-10-04 16:03:22 -04:00
uf_bench.rs wai-quantum 0.3.32: union-find decoding in near-linear time 2026-10-05 07:46:12 -04:00
utility.rs wai-quantum 0.3.22: sparse Pauli dynamics at utility scale, and identical bits on every platform 2026-10-01 15:13:52 -04:00
utility_bptn.rs wai-quantum 0.3.23: belief-propagation tensor networks, a second method for the same circuits 2026-10-01 20:40:14 -04:00
utility_mz.rs wai-quantum 0.3.22: sparse Pauli dynamics at utility scale, and identical bits on every platform 2026-10-01 15:13:52 -04:00