open-standards/wai/wai-quantum/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science a84f5d704f wai-quantum 0.6.12: cheaper contraction trees, from V-cycles and tree annealing
Each bisection now runs two V-cycles after the first projection. The graph is
coarsened again with every match inside one side, so the split carries to the coarse
graph with the same cut. It is refined there and on the way back down, which never
raises the cut.

The best few trees are annealed after reconfiguration (quantum_tn::anneal). Random
rotations at each node are accepted on the change in log total cost at a falling
temperature; the cheapest tree seen is kept, then reconfigured again. A rotation keeps
the node's index set, so it changes the cost of two contractions only.

On the 61-qubit Nighthawk logical circuits (split, reduced, 1024 trials, 8 restarts),
the median of 4 seeds, in log10 complex multiply-adds for one amplitude:

  depth   before   after
  8       5.30     5.29
  12      8.10     8.09
  16      11.12    10.97
  20      14.02    13.68

At depth 20 the search takes about 1.7 times as long.

Also tried, and left out: 24 initial partitions per bisection (no gain at depth 16 at
equal time), a coarsening rating that keeps coarse nodes balanced (mixed), more
refinement passes (no change), and 200 annealing sweeps (no better than 50).

The tensor-network plan pinned in tests/bit_identity.rs changes, by design. The native
and WASI builds compute the same new digest. A test checks that annealing never costs
more, keeps every tensor contracted once and after it exists, repeats its tree for a
seed, and gives the dense amplitude.

The changelog also records what 0.6.11 gained after its entry was written: the
circuit's layout as data, path-search restarts and the command line's release builds.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 5c253c907402ce4a8e6140a676e3e58d86e01398)
2026-10-20 17:34:17 -04:00
..
data wai-quantum 0.3.36: molecules and neural quantum states, held to exact answers 2026-10-05 16:15:50 -04:00
bit_identity.rs wai-quantum 0.6.12: cheaper contraction trees, from V-cycles and tree annealing 2026-10-20 17:34:17 -04:00
cuda_member.rs wai-quantum 0.4.4: the fabric's CUDA member 2026-10-14 01:14:01 -04:00
cuda_sv.rs wai-quantum 0.5.0: provenance, sampling members, device programs, OpenCL, a simulated FPGA, f64 on accelerators, and QPU clients 2026-10-14 09:02:11 -04:00
cuda_tensor.rs wai-quantum 0.6.1: the CUDA member's tensor-core kernel 2026-10-16 04:21:11 -04:00
dataflow_member.rs wai-quantum 0.5.2: the dataflow device's vector engine as a member 2026-10-15 01:49:20 -04:00
dsp_member.rs wai-quantum: the signal processor, and its vector unit as a member 2026-10-14 10:47:59 -04:00
fabric_expected.rs wai-quantum WebGPU member: tile review fixes 2026-10-11 23:12:21 -04:00
fpga_member.rs wai-quantum 0.5.0: provenance, sampling members, device programs, OpenCL, a simulated FPGA, f64 on accelerators, and QPU clients 2026-10-14 09:02:11 -04:00
frame_reference.rs wai-quantum 0.3.25: error correction at circuit level, sampled, modelled and decoded exactly 2026-10-04 14:21:56 -04:00
hip_member.rs wai-quantum: the HIP member, the CUDA kernel's text on HIP devices 2026-10-15 05:01:50 -04:00
hip_sv.rs wai-quantum: the HIP member, the CUDA kernel's text on HIP devices 2026-10-15 05:01:50 -04:00
hip_wmma.rs wai-quantum 0.6.2: the HIP member's matrix-instruction kernel 2026-10-16 10:07:26 -04:00
metal_matrix.rs wai-quantum: the Metal member, with a SIMD-group matrix kernel 2026-10-16 04:59:05 -04:00
metal_member.rs wai-quantum: the Metal member, with a SIMD-group matrix kernel 2026-10-16 04:59:05 -04:00
metal_tensor_ops.rs wai-quantum: the Metal member's tensor-operation kernel; M5 measured 2026-10-16 10:19:30 -04:00
npu_cores_member.rs wai-quantum: the npu-cores member, the gate on a neural processor's own core 2026-10-15 09:17:34 -04:00
npu_member.rs wai-quantum 0.5.1: the neural-processor member 2026-10-14 09:10:30 -04:00
opencl_member.rs wai-quantum: OpenCL keys carry the device's vendor id, not a word of its name 2026-10-15 08:58:32 -04:00
opencl_sv.rs wai-quantum 0.5.0: provenance, sampling members, device programs, OpenCL, a simulated FPGA, f64 on accelerators, and QPU clients 2026-10-14 09:02:11 -04:00
sme_member.rs wai-quantum 0.5.1: the matrix-extension member (SME), silicon and emulated 2026-10-14 09:26:05 -04:00
tensor_engine_member.rs wai-quantum: the tensor-engine member, the gate's products on a matrix engine 2026-10-15 09:59:37 -04:00
tn_vs_sv.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
utility_reference.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
vector_member.rs wai-quantum: the CPU vector-unit members (avx2, sve, rvv) 2026-10-14 12:01:43 -04:00
webgpu_member.rs wai-quantum fabric: the review of the energy stage, fixed 2026-10-12 15:38:07 -04:00