A Phase II trial with 120 patients, 6 binary covariates, and 3 treatment arms has:
Simple block randomization checks balance on each covariate independently. But treatment effects depend on covariate interactions: a drug may work in PD-L1+ patients with low tumor burden but fail in PD-L1+ patients with high tumor burden. That interaction has 2×2 = 4 strata — and with 6 covariates, there are 26 = 64 interaction strata.
Balancing across all 64 interaction strata simultaneously while assigning 120 patients to 3 arms is a quadratic assignment problem — NP-hard, and exactly the type of problem where quantum optimization shows promise.
| ID | PD-L1 | ECOG | Prior Tx | Tumor | Age | KRAS | Site |
|---|
A biotech running 3 Phase II trials per year with simple randomization expects ~2 failures ($30–50M lost). If quantum-optimized stratification prevents even one additional trial from failing due to covariate imbalance, the ROI is >1000× the platform cost.
The asymmetry is extreme: the optimization costs euros, the trial failure costs millions.
PD-L1 is an unreliable biomarker. Different assays give discordant results on the same sample. Some PD-L1-negative patients respond to immunotherapy; some PD-L1-positive patients don’t. Stratifying by PD-L1 alone misses the interaction with ECOG status, prior treatment exposure, and tumor mutational burden.
Microbiome variation by geography. The same immunotherapy regimen showed 20% response at US sites vs. 40% at EU sites in real trials. Diet-driven microbiome differences are a hidden confounder that simple randomization cannot account for.
Quantum-optimized stratification balances all known covariates and their interactions simultaneously — reducing the risk that hidden heterogeneity invalidates the trial.
arvak-proj: Tensor network simulation up to 10,000 variables. Delivers optimal stratification for any trial size currently in clinical practice.
Value today: Better than any classical heuristic. Runs in milliseconds. No QPU cost.
QPU for sub-problems: Decompose large trials into site-level QUBOs (40–80 variables each), run on IBM/IQM QPU, merge results.
Adaptive trials: Re-optimize arm assignment at each interim analysis using real-time QPU.
Full trial optimization: 1000+ patient trials with 20+ covariates, real-time adaptive re-stratification, continuous enrollment optimization.
Beyond classical: Problem sizes where tensor networks decompose and classical solvers time out.
98.9% imbalance reduction on 200 patients with 8 covariates. Not a projection. Not a roadmap. Computed today, from real data, with a runner you can execute yourself. The sin(C²) predictor identifies which parts of the problem are hard, arvak-proj solves them, and global stitching produces a near-perfect assignment.
No other tool does this. Block randomization is 40 years old and ignores interaction effects. Covariate-adaptive randomization handles marginals but not the combinatorial explosion of 28 = 256 interaction strata. The existing literature has zero papers on quantum-optimized clinical trial design.
The QPU path exists but isn’t needed yet. We validated on IonQ Forte (27 qubits, 100 shots): noise-dominated at current gate fidelity. When trapped-ion hardware reaches 99.7%+ 2Q fidelity, the same QAOA circuit runs natively on QPU for problem sizes where tensor networks can’t follow. Garm routes transparently.
KRAS 25:14 between arms invalidates a $40M trial. KRAS 20:20:19 doesn’t. That’s the difference.