open-standards/wai/wai-quantum/examples
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 382cf672a2 wai-quantum tn: Network::reduce fixes the indices a tensor allows one value of
Where a tensor is zero unless index i takes v, every tensor holding i keeps
its entries at v and drops i, repeated until nothing changes; then simplify.
Only zeros are read and entries selected. Projections run through diagonal
gates and the deltas of split ones, so a CZ beside a projected output becomes
scalars. Open indices are never fixed. simplify itself is unchanged, so
networks that do not call reduce keep their bits.

On the same 61-qubit CZ circuits (depth 8/12/16/20, 64 trials): log10
multiply-adds 5.35/8.25/11.22/14.26 split and reduced, against 6.58/9.23/
12.09/15.16 split alone and 8.03/12.46/16.09/19.64 whole and simplified.

tn_cost, the CLI's tn subcommand and the service's tensor_network method
reduce their split networks. Tests: split networks reduced, and whole-gate
networks reduced, give the state vector's amplitudes; open outputs too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-19 20:29:22 -04:00
..
arch_factoring.rs
bell.rs
chem_dmrg.rs
cutrank_qasm.rs wai-quantum cutrank: the steps planned once, tables stored at a chosen precision, and orders annealed for less work 2026-10-19 11:21:04 -04:00
dmrg_chain.rs
gbs_check.rs
ldpc_memory.rs
noisy_bench.rs wai-quantum: branching noisy trajectories (shots that share a history share a state) 2026-10-17 11:36:07 -04:00
npu_onnx.rs
nqs_ground.rs
patch_xeb.rs wai-quantum examples: patched cross-entropy benchmarking from shots (patch_xeb) and one amplitude's contraction cost (tn_cost) 2026-10-19 11:21:04 -04:00
qec_frame.rs
qec_threshold.rs
qio_gset.rs
receipt.rs
rv32_listing.rs
stablehlo_gate.rs wai-quantum: the gate's products as a portable matrix-unit program 2026-10-15 10:06:50 -04:00
sv_bench.rs wai-quantum: tiled multi-gate state-vector passes; vectorised wide-gate kernel 2026-10-17 11:21:27 -04:00
sv_run.rs
tdvp_quench.rs
threshold.rs
tn_cost.rs wai-quantum tn: Network::reduce fixes the indices a tensor allows one value of 2026-10-19 20:29:22 -04:00
tn_path.rs
uf_bench.rs
utility.rs
utility_bptn.rs
utility_mz.rs