Skip to content

Doped random graph sampling, 70q × depth 70: 5-bit chain sweep on one RTX 4090 (predicted XEB 0.82, 4.5σ over 0.044) #258

Open

Description

@dylanneve1

Name: qsimlab_packed_chainsweep_doped70 — low-precision chain sweep on one desktop GPU

Circuit: doped_random_graph_sampling_nq70_depth70_checks27 (issue 228)

Value (linear XEB of our uncorrelated samples): predicted 0.822 ± 0.174 for the 74 samples (sampler-ratio estimator; F-based 0.852 ± 0.164). We invite exact third-party scoring of the 74 samples (records and revealed seed are public, see below). Issue 228 bar: significantly > 0.044.

Method: Exact chain-sweep tensor contraction with the boundary register stored in 5-bit block-floating-point (int5, block 16, f16 scales), computed in f32 on an RTX 4090; one tail-open sweep per sample, uncorrelated samples from a pre-committed seed.

Method proof

1. Contraction

  • The 70 logical qubits sit on an open chain and every two-qubit gate is a nearest-neighbour CZ. Splitting each CZ into its two rank-1 terms turns each qubit's worldline into one tensor whose legs are the CZ-bond indices to its neighbours. Sweeping site by site along the chain carries a boundary of D/2 = 35 bond bits (2^35 amplitudes), the same width as Manabe/Gu/Pan (arXiv:2608.13110).
  • We sweep from q69 towards q0 and stop before q0..q(m−1). One read-only pass then contracts the register against the m open qubits, giving all 2^m amplitudes for a fixed suffix (m = 6 for production, m = 8 for calibration). The register is rounded R = 65 times per sweep (63 at m = 8).

2. Reduced precision, and its fidelity cost

  • The exact register needs 256 GiB in complex64. We store it packed: int5:b16:h, 5.5 bits per real component, 44 GiB. Each pass unpacks a block, applies the f32 ops, and requantises with round-to-nearest-even.
  • Measured on tail windows of this circuit against exact f64 amplitudes (n = 70, D = 24–48), each rounding costs a fixed fraction of fidelity: F = exp(−r·R), with r independent of depth. For int5:b16:h, r ≈ 2.0e-3, so F ≈ 0.88 is predicted at R = 65.
  • The packed CPU and GPU (wgpu/Vulkan) engines are bit-exact against the emulated reference.
  • Independent re-measurements: on an RTX 4090 at D = 48, int5:b16:h at R = 65 gives F = 0.869 ± 0.007 over 16 prefixes × 64 amplitudes; (fresh build of qsim-lab main on an Apple M1 Pro): at D = 40, where the exact register fits, int5:b16:h with the production number of roundings (R = 65) gives F = 0.876 ± 0.007 over 8 prefixes × 64 amplitudes against the exact chain sweep, i.e. r = (2.04 ± 0.12)e-3, matching the model (0.878) and the full-depth calibration below (0.879 ± 0.015).

3. Calibration against independent exact amplitudes (full depth, production binary and format)

  • SUTD published exact amplitudes for all 2051 IBM samples: 256 completions of q0..q7 each (Zenodo 10.5281/zenodo.21912448).
  • We ran calibration sweeps with q_m..q69 fixed to SUTD rows (chosen by a committed calibration seed) and compared amplitude by amplitude.
    • Go/no-go, int4:b64, m = 8: F̂ = 0.455 ± 0.034 (predicted 0.47).
    • Production format, int5:b16:h, m = 6, R = 65, 4 batches (rows 555, 1784 in session 1; 1180, 495 in session 2; 256 amplitudes): F̂ = 0.879 ± 0.015 (jackknife over batches; per batch 0.845 / 0.902 / 0.909 / 0.860; predicted exp(−2.0e-3·65) = 0.878). Sampler XEB on the same prefixes: 0.848 ± 0.062 of an exact sampler's.
  • Convention controls (conjugate amplitudes, bit-reversed tail, both): F = 0.008 / 0.010 / 0.005 on the pooled production-format data; a wrong q6q7 slice gives F ≤ 0.09. The conventions are confirmed.

4. Samples

  • Production prefixes come from a seed whose sha256 was published before the first sample: b9d2c1262c305229e5c2a12a1e0c4cad1eb2f933226b767878547950b37a2cf2.
  • Each sweep yields 2^6 amplitudes for one uniformly drawn suffix. We draw one completion with probability ∝ |amplitude|², so one sweep gives one sample and no two samples share a sweep. Indices run in order, and none were skipped (a crashed index is redone).
  • N = 74 samples (indices 0–73, contiguous; s0–s41 in session 1, s42–s73 in session 2; the planned 80 were cut short on time).
  • XEB evaluation (we do not compute exact D=70 amplitudes ourselves): the predicted XEB from calibration: sampler ratio × 63/65 = 0.822 ± 0.174 (calibration 0.060 ⊕ sampling 0.163 for 74 samples) → 4.5σ over 0.044 and 2.7σ over IBM's 0.342 ± 0.028; F-based 0.852 ± 0.164 → 4.9σ / 3.1σ. Gaussian σ; the exact (right-skewed) distribution of the 74-sample mean has a lighter lower tail, so these are conservative.
  • An independent check re-derived every prefix and u from the seed, re-derived every drawn completion from the stored amplitudes (0 mismatches), recomputed the calibration with separate code (identical to machine precision), and found the 74 production batches consistent with Porter–Thomas statistics. Under a noise model fitted to the calibration, P(XEB of 74 samples < 0.044) ≈ 1e-9 (≈ 6σ-equivalent; Gaussian 5.0σ).
  • Bitstrings are given q0-first; Qiskit little-endian = reversed.

5. Honest scope

  • The predicted XEB beats the issue's bar (≥ 4.5σ) and, less decisively (2.7–3.1σ), IBM's measured hardware XEB (0.342 ± 0.028, computed from SUTD's amplitudes for IBM's samples). This is on fidelity, not on wall-clock: IBM ran for 17,900 s; we needed about 10 min (595 s) per sample on one GPU.
  • No new hardness result. The approach is the known chain-sweep path plus measured, controlled precision loss. The new parts are fitting a 2^35 register into one consumer machine and validating it against independent exact data at full depth.
  • Closed routes we measured on the way are written up in qsim-lab: approximate CAMPS, boundary MPS, Clifford-augmented boundary, ZX + general slicing, T-count reduction, multi-worldline folding, XEB spoofing (flat Walsh spectrum).

Code and data

https://github.com/dylanneve1/qsim-lab (main):

  • engines: src/engines/chain_sweep.rs, chain_packed.rs, chain_packed_gpu*, chain_tail.rs, chain_run.rs
  • write-ups: research/chain-sweep/{README,LOWPREC,GPU,RUNPREP}.md, research/doped-clifford/
  • samples and records: out_final74.jsonl (sha256 c221f294295a3bb3c31476a78520c3746db7b8432791eb89135e6932051fb7f6) plus the revealed seed, in research/doped-clifford/results/ (merged commit b8d3dd1); full report research/doped-clifford/WRITEUP.md

Quantum runtime (s): —
Classical runtime (s): ≈ 46,500 s for 78 sweeps (74 samples + 4 calibration): 573.8 s sweep + 22.4 s tail on average, ≈ 595 s per sample; one RTX 4090
Compute resources (classical): 1 desktop: AMD Ryzen 9 9950X3D, 64 GB DDR5, NVIDIA RTX 4090 (24 GB). Development and validation: a 4-vCPU VPS and an Apple M1 Pro.
Authors: Dylan Neve, Claude (Anthropic); hardware: @PawiX25 (github.com/PawiX25). Exact reference data: Manabe, Gu, Pan (arXiv:2608.13110; Zenodo 10.5281/zenodo.21912448).
Institutions: qsim-lab

Activity

  1. ajavadia commented on Nov 2, 2026

    @ajavadia
    Contributor

    Hi. Thanks for your contribution. This method is for approximate sampling and has been evaluated on the 70-qubit open-boundary experiment right? And it is still much slower than the quantum runtime?

    I am wondering whether it extends to the newer version of this experiment (#245)? This uses a ring topology (rather than a line).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions