English

Memory Compression with Quantum Random-Access Gates

Quantum Physics 2022-12-22 v1 Computational Complexity Data Structures and Algorithms

Abstract

In the classical RAM, we have the following useful property. If we have an algorithm that uses MM memory cells throughout its execution, and in addition is sparse, in the sense that, at any point in time, only mm out of MM cells will be non-zero, then we may "compress" it into another algorithm which uses only mlogMm \log M memory and runs in almost the same time. We may do so by simulating the memory using either a hash table, or a self-balancing tree. We show an analogous result for quantum algorithms equipped with quantum random-access gates. If we have a quantum algorithm that runs in time TT and uses MM qubits, such that the state of the memory, at any time step, is supported on computational-basis vectors of Hamming weight at most mm, then it can be simulated by another algorithm which uses only O(mlogM)O(m \log M) memory, and runs in time O~(T)\tilde O(T). We show how this theorem can be used, in a black-box way, to simplify the presentation in several papers. Broadly speaking, when there exists a need for a space-efficient history-independent quantum data-structure, it is often possible to construct a space-inefficient, yet sparse, quantum data structure, and then appeal to our main theorem. This results in simpler and shorter arguments.

Keywords

Cite

@article{arxiv.2203.05599,
  title  = {Memory Compression with Quantum Random-Access Gates},
  author = {Harry Buhrman and Bruno Loff and Subhasree Patro and Florian Speelman},
  journal= {arXiv preprint arXiv:2203.05599},
  year   = {2022}
}