English

A quantum random access memory (QRAM) using a polynomial encoding of binary strings

Quantum Physics 2025-04-04 v2

Abstract

Quantum algorithms claim significant speedup over their classical counterparts for solving many problems. An important aspect of many of these algorithms is the existence of a quantum oracle, which needs to be implemented efficiently in order to realize the claimed advantages. A quantum random access memory (QRAM) is a promising architecture for realizing these oracles. In this paper we develop a new design for QRAM and implement it with Clifford+T circuit. We focus on optimizing the T-count and T-depth since non-Clifford gates are the most expensive to implement fault-tolerantly. Integral to our design is a polynomial encoding of bit strings and so we refer to this design as QRAMpoly\text{QRAM}_{poly}. Compared to the previous state-of-the-art bucket brigade architecture for QRAM, we achieve an exponential improvement in T-depth, while reducing T-count and keeping the qubit count same. Specifically, if NN is the number of memory locations, then QRAMpoly\text{QRAM}_{poly} has T-depth O(loglogN)O(\log\log N), T-count O(NlogN)O(N-\log N) and qubit count O(N)O(N), while the bucket brigade circuit has T-depth O(logN)O(\log N), T-count O(N)O(N) and qubit count O(N)O(N). Combining two QRAMpoly\text{QRAM}_{poly} we design a quantum look-up-table, qLUTpoly\text{qLUT}_{poly}, that has T-depth O(loglogN)O(\log\log N), T-count O(N)O(\sqrt{N}) and qubit count O(N)O(\sqrt{N}). A qLUT or quantum read-only memory (QROM) has restricted functionality than a QRAM and needs to be compiled each time the contents of the memory change. The previous state-of-the-art CSWAP architecture has T-depth O(N)O(\sqrt{N}), T-count O(N)O(\sqrt{N}) and qubit count O(N)O(\sqrt{N}). Thus we achieve a double exponential improvement in T-depth while keeping the T-count and qubit-count asymptotically same. Additionally, with our polynomial encoding of bit strings, we develop a method to optimize the Toffoli-count of circuits, specially those consisting of multi-controlled-NOT gates.

Keywords

Cite

@article{arxiv.2408.16794,
  title  = {A quantum random access memory (QRAM) using a polynomial encoding of binary strings},
  author = {Priyanka Mukhopadhyay},
  journal= {arXiv preprint arXiv:2408.16794},
  year   = {2025}
}

Comments

Accepted in Scientific Reports