Halving the cost of QROM

Abstract

Table lookup, often referred to as quantum read only memory (QROM), is one of the most widely used subroutines in quantum algorithms, and constitutes the majority share of algorithmic overheads in most practical applications of quantum computers. It involves the coherent loading of N bitstrings of length b in superposition, and naively has a non-Clifford cost of N Toffolis. It is known that given access to b\, λ dirty qubits, one can reduce the Toffoli cost of QROM to 2Nλ + 4b(λ- 1). In this work, we first present an optimization to reduce this cost to 2Nλ + 2b(λ- 1) + 2λ-6 by replacing the ``SelectSwap" architecture with ``SelectCopy". We then provide a further optimization for the qubit-constrained regime where the Toffoli cost is typically 2Nλ, and reduce it to (1+1b)Nλ, cutting the cost by approximately 50\% and effectively matching the performance of clean-qubit QROM using dirty qubits for practical values of b. Lastly, we provide a parametric family of methods that allow the interpolation of the prefactor of the Nλ term from 2 to (\, 1+1b\,) to obtain the best cost for different qubit availability regimes.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…