Posted

Danial Motlagh, Matthew Pocrnic (May 21 2026).
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 NN bitstrings of length bb in superposition, and naively has a non-Clifford cost of NN Toffolis. It is known that given access to b λb\, \lambda dirty qubits, one can reduce the Toffoli cost of QROM to 2Nλ+4b(λ−1)2\frac{N}{\lambda} + 4b(\lambda - 1). In this work, we first present an optimization to reduce this cost to 2Nλ+2b(λ−1)+2λ−62\frac{N}{\lambda} + 2b(\lambda - 1) + 2\lambda-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λ\sim 2\frac{N}{\lambda}, and reduce it to ∼(1+1b)Nλ\sim (1+\frac{1}{b})\frac{N}{\lambda}, cutting the cost by approximately 50%50\% and effectively matching the performance of clean-qubit QROM using dirty qubits for practical values of bb. Lastly, we provide a parametric family of methods that allow the interpolation of the prefactor of the Nλ\frac{N}{\lambda} term from 22 to ( 1+1b \, 1+\frac{1}{b}\,) to obtain the best cost for different qubit availability regimes.

Order by:

Want to join this discussion?

Join our community today and start discussing with our members by participating in exciting events, competitions, and challenges. Sign up now to engage with quantum experts!