Conference paper

Quantum Speedup of Multi-armed Bandits at Scale by Tackling Memory Decoherence

Abstract

Recent advances in online learning have achieved an O(n/Δ[2])O(n/\Delta_{[2]}) query complexity in quantum nn arm multi-armed bandits (MABs) for best-arm identification with high constant probability, which represents a quadratic speedup over their classical counterparts. Here and throughout, Δ[2]\Delta_{[2]} is the gap between the mean of the best and second-best arms. However, the implementations of these algorithms remain on a small scale due to various aspects of quantum hardware restrictions. One of the most significant restrictions is \emph{memory decoherence}, in which the qubits quickly lose information after a short period of time. Memory decoherence can occur due to \emph{depth-induced} and retention-induced reasons. Depth-induced decoherence happens often in near-term quantum computers, where the noise becomes overwhelming when the circuit is deep. On the other hand, retention-induced decoherence captures future quantum machines, where a quantum memory is promising, but objects stored in the memory for too long can still become decoherent. In this paper, we present a comprehensive treatment of both forms of memory decoherence problems. For retention-induced decoherence, we derive a framework based on streaming bandits, and we obtain an algorithm that finds the best arm with high constant probability using O(n/Δ[2])O(n/\Delta_{[2]}) queries and an O(log⁡n)O(\log{n}) decoherence window. This is the first quantum algorithm for MABs that achieves an o(n)o(n) decoherence window, yielding an exponential improvement. For depth-induced decoherence, we observe that the impact of noise is significant in current quantum computers, and only shallow circuits can avoid significant decoherence. Therefore, we focus on only shallow quantum circuits, and we devise various noise-mitigating implementation techniques and a destructive SWAP test subroutine to speed up the empirical performance. On the IBM Quantum System One machine with the Nighthawk r1 processor (120 qubits), our implementation scales the quantum MABs to over 10001000 arms, and our algorithms consistently achieve significant efficiency improvements over classical bandit algorithms in both real physical experiments and classical computer simulations.