TL;DR
Quantum algorithms promise a massive speedup for finding the best option among many choices (the classic "multi-armed bandit" problem), but physical qubits forget their states before large-scale problems can finish running. By treating choices as a passing stream rather than loading them all at once, the authors tame this quantum amnesia—scaling a quantum bandit algorithm to over 1,000 options using just two physical qubits on real IBM hardware, while outperforming classical methods.
What Problem Does This Paper Address?
Imagine facing $n$ slot machines ("arms") and trying to find the one with the highest average payout using as few pulls as possible. Classical algorithms require roughly $O(n/\Delta_{[2]}^2)$ samples, where $\Delta_{[2]}$ is the reward gap between the best and runner-up arms. Quantum computing theoretically slashes this to $O(n/\Delta_{[2]})$—a quadratic speedup—by encoding reward probabilities into quantum amplitudes.
In practice, however, quantum bandits hit a wall: memory decoherence. Qubits are fragile, and their states decay rapidly into noise. The authors break this down into two distinct bottlenecks:
- Depth-induced decoherence (a today problem): Near-term (NISQ) quantum computers lack error correction. Running deep sequences of quantum operations takes too long, causing qubits to decohere mid-circuit.
- Retention-induced decoherence (a tomorrow problem): Even future fault-tolerant computers with active quantum memory (qRAM) cannot hold quantum objects indefinitely. Leaving an arm sitting in memory while testing thousands of others invites decay.
How do you build one unified framework that solves both today's circuit-depth limits and tomorrow's memory-retention limits?
Methods
The authors reframe the problem using streaming multi-armed bandits, where arms arrive one by one. Instead of storing all $n$ arms, the algorithm holds a reigning champion ("KING") and pits it against an arriving "CHALLENGER," keeping at most 2 arms in memory at any moment.
- For Future Fault-Tolerant Hardware (Bounded-Window Game of Arms): Standard streaming algorithms might keep a strong KING in quantum memory for $O(n)$ steps. Here, if a KING survives $O(\log n)$ challengers, the algorithm invests extra queries via Quantum Amplitude Estimation (QAE) to capture a high-precision classical snapshot of its value, then evicts the quantum state from memory. Future challengers compete against this classical number, capping the quantum retention time (the "decoherence window") at $O(\log n)$.
- For Current NISQ Hardware: Because deep QAE circuits fail on noisy hardware, the authors restrict circuits to constant depth $O(1)$ using shallow Maximum-Likelihood Amplitude Estimation (MLAE). To boost practical efficiency, they introduce a novel destructive SWAP (dSWAP) test filter: a shallow quantum routine that quickly checks if two arms have nearly identical amplitudes, immediately discarding close, suboptimal challengers without wasting deep estimation queries. They pair this with hardware-aware qubit selection, transpiler barriers, and readout error mitigation.
Datasets
To precisely track estimation errors and query budgets, the authors introduce a synthetic benchmark called the clustered low-variance synthetic dataset.
- For an $n$-arm problem, $n-1$ background arms have reward amplitudes tightly clustered around $0.5$ (drawn from a narrow Gaussian distribution), while a single best arm is placed at $0.5 + \Delta_{[2]}$ above the max background arm.
- This mimics a needle-in-a-haystack scenario designed to punish algorithms that waste queries comparing nearly identical suboptimal arms.
Key Insights and Ideas
- Turn long-lived quantum states into classical numbers: You don't need to keep a champion arm coherent forever. Once an arm proves its worth by surviving $O(\log n)$ rounds, measuring it precisely and saving the classical float shrinks the memory decoherence window exponentially—from $O(n)$ down to $O(\log n)$—without hurting overall asymptotic query complexity.
- Constant-depth circuits lose the asymptotic race, but win the sprint: Restricting NISQ circuits to $O(1)$ depth theoretically forfeits the quadratic quantum speedup, reverting worst-case complexity back to classical $\Omega(n/\Delta_{[2]}^2)$. Yet, shallow Grover iterations combined with quantum dSWAP filtering shrink the leading constant enough to beat classical algorithms in practice.
- Decoupling problem size from processor size: Because the streaming setup compares only two arms at a time, hardware qubit count no longer limits the number of arms. Two well-calibrated physical qubits can process thousands of arms sequentially.
Key Results
- Theoretical Optimum: For fault-tolerant active memory, the algorithm finds the best arm with optimal $O(\frac{n}{\Delta_{[2]}}\log(1/\delta))$ queries, a memory footprint of just 2 arms, and an $O(\log n)$ decoherence window—the first quantum bandit algorithm to achieve a sub-linear $o(n)$ window.
- Scaling on Real Quantum Hardware: Tested on an IBM Quantum System One (120-qubit Nighthawk r1 processor), the authors scaled best-arm identification to $n = 1,000$ arms using only a single physical pair of qubits (qubits 66 and 67) across reward gaps $\Delta_{[2]} \in \{0.01, 0.05\}$.
- Beating Classical Baselines: Across both 50-seed statistical simulations (up to 5,000 arms in the appendix) and physical IBM hardware runs, the bounded-depth quantum algorithm consistently achieved higher best-arm identification accuracy and lower simple regret than classical Uniform Sampling and Sequential Halving at comparable query budgets. On hardware, a shallow MLAE refinement depth around $k_R \sim 7$ hit the sweet spot between query efficiency and hardware noise.
Limitations and Future Work
- Known Gap Assumption: The main exact best-arm algorithms assume prior knowledge of the reward gap $\Delta_{[2]}$ between the top two arms (though an $\varepsilon$-best arm generalization is provided in the appendix).
- No Asymptotic Speedup on NISQ: Under the $O(1)$ circuit-depth restriction required by current noisy hardware, the theoretical worst-case query complexity remains $\Omega(n/\Delta_{[2]}^2)$; the observed NISQ gains are practical constant-factor improvements rather than asymptotic ones.
- Depth Tuning: On physical hardware, no single circuit depth $k_R$ was universally optimal across every query budget, leaving dynamic or budget-aware depth selection as an open practical consideration.
Summary updated