Skip to main content
QUICK REVIEW

[Paper Review] Memory Compression with Quantum Random-Access Gates

Harry Buhrman, Bruno Loff|arXiv (Cornell University)|Jan 1, 2022
Quantum Computing Algorithms and ArchitectureComputer Science2 citations
TL;DR

This paper presents a quantum memory compression technique that simulates any m-sparse quantum algorithm—where only m out of M qubits are non-zero at any time—using only O(m log M) qubits, with a time overhead of Õ(T log(T/ε)). The method leverages quantum radix trees to efficiently simulate sparse quantum random-access memory (QRAM) operations, enabling significant space savings while preserving runtime efficiency. The key contribution is a general black-box simulation theorem that simplifies the design of space-efficient quantum algorithms by allowing researchers to first construct simple, sparse data structures and then compress them via the main theorem.

ABSTRACT

In the classical RAM, we have the following useful property. If we have an algorithm that uses M memory cells throughout its execution, and in addition is sparse, in the sense that, at any point in time, only m out of M cells will be non-zero, then we may "compress" it into another algorithm which uses only m 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 T and uses M qubits, such that the state of the memory, at any time step, is supported on computational-basis vectors of Hamming weight at most m, then it can be simulated by another algorithm which uses only O(m log M) memory, and runs in time Õ(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.

Motivation & Objective

  • To develop a general method for compressing quantum algorithms that are sparse in memory, i.e., where only m out of M qubits are non-zero at any time step.
  • To provide a black-box simulation technique that reduces the qubit requirement from M to O(m log M) while maintaining near-optimal runtime.
  • To simplify the design of space-efficient quantum algorithms by allowing the use of simple, sparse data structures followed by compression via the main theorem.
  • To demonstrate the practical utility of the theorem by simplifying proofs in existing quantum algorithms, including element distinctness, closest-pair, and 3SUM reductions.

Proposed method

  • The core method uses quantum radix trees to represent sparse quantum memory states, enabling efficient access and manipulation of non-zero basis states.
  • The radix tree is constructed over the computational basis states of Hamming weight ≤ m, with internal nodes storing flags and leaf nodes storing state labels.
  • A prefix-sum tree is used at each leaf to track the number of non-zero amplitudes in the subtree, enabling efficient updates and queries.
  • The simulation uses controlled unitary operations on the radix tree structure to emulate the original algorithm’s quantum random-access gates.
  • The time complexity is bounded by Õ(T log(T/ε) log M), with error ε, by carefully managing amplitude propagation and flag updates in the tree.
  • The method assumes O(1) cost for basic operations on O(log M)-bit blocks, which is standard in classical RAM models.

Experimental results

Research questions

  • RQ1Can a quantum algorithm that uses M qubits but is m-sparse (Hamming weight ≤ m) be simulated using significantly fewer qubits?
  • RQ2Is there a general, reusable method to compress sparse quantum algorithms into space-efficient simulations without redesigning the entire algorithm?
  • RQ3Can quantum radix trees be used to achieve efficient, low-error simulation of quantum random-access memory operations in sparse settings?
  • RQ4To what extent can complex, space-efficient data structures in quantum algorithms be replaced by simpler, sparse ones followed by compression?
  • RQ5How does the time overhead of the compression method scale with respect to the original algorithm’s runtime and desired error tolerance?

Key findings

  • Any m-sparse quantum algorithm using time T and M qubits can be simulated with error ε using O(m log M) qubits and time Õ(T log(T/ε) log M).
  • The main theorem enables a black-box compression of sparse quantum algorithms, allowing researchers to use simple, non-space-efficient data structures and then compress them efficiently.
  • The use of quantum radix trees allows for efficient simulation of quantum random-access gates, with operations like insertion, deletion, and query running in O(log n) time when d = O(1).
  • The time overhead factor of log M can be eliminated if basic O(log M)-bit operations are assumed to cost O(1), which is standard in classical RAM models.
  • The method simplifies proofs in three major quantum algorithm papers: Ambainis’ element distinctness, closest-pair algorithms, and fine-grained quantum complexity reductions, reducing proof length and complexity.
  • The technique was shown to reduce a 12-page proof of a space-efficient data structure to a 4-page proof using a simple sparse data structure followed by compression via the main theorem.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.