Skip to main content
QUICK REVIEW

[Paper Review] Approximate Quantum Random Access Memory Architectures

Koustubh Phalak, Junde Li|arXiv (Cornell University)|Oct 24, 2022
Quantum Computing Algorithms and ArchitectureComputer Science5 citations
TL;DR

This paper proposes an approximate Parametric Quantum Circuit (PQC)-based Quantum Random Access Memory (QRAM) that stores and retrieves classical data in superposition using trainable quantum circuits. It demonstrates faster convergence (6th epoch) and lower loss (0.53) in binary classification using QNN+QRAM compared to fully connected neural networks (15th epoch, 0.89 loss), with performance improved via agglomerative clustering pre-processing for higher-dimensional data storage.

ABSTRACT

Quantum supremacy in many applications using well-known quantum algorithms rely on availability of data in quantum format. Quantum Random Access Memory (QRAM), an equivalent of classical Random Access Memory (RAM), fulfills this requirement. However, the existing QRAM proposals either require qutrit technology and/or incur access challenges. We propose an approximate Parametric Quantum Circuit (PQC) based QRAM which takes address lines as input and gives out the corresponding data in these address lines as the output. We present two applications of the proposed PQC-based QRAM namely, storage of binary data and storage of machine learning (ML) dataset for classification.

Motivation & Objective

  • To address the challenge of efficient, scalable quantum data loading for NISQ-era quantum machine learning by proposing a trainable, approximate QRAM architecture.
  • To enable faster convergence and improved generalization in quantum neural network (QNN) training by integrating QRAM for data retrieval.
  • To improve the performance of QRAM in storing binary data by introducing agglomerative clustering as a pre-processing step to reduce Hamming distance and increase correct prediction rates.
  • To evaluate the trade-offs between QRAM accuracy and scalability as the number of address and data lines increases.
  • To demonstrate that approximate QRAM can outperform classical data embedding and fully connected networks in specific quantum machine learning tasks.

Proposed method

  • The proposed QRAM uses a Parametric Quantum Circuit (PQC) as a trainable quantum circuit that maps input addresses to corresponding data values in quantum superposition.
  • The PQC is trained using a two-stage process: first, an auxiliary PQC trains the QRAM to store data, and second, the trained QRAM is used as input to a QNN for classification.
  • For binary data storage, the QRAM is trained on expanded datasets (via replication) to ensure sufficient training samples, even for small address spaces.
  • Agglomerative clustering is applied as a pre-processing step to group similar data points, reducing the effective size of each QRAM instance and improving training efficiency.
  • Performance is evaluated using Hamming Distance (HD) and percentage of correct predictions, with loss computed as mean squared error over 100 training epochs.
  • The QRAM architecture is fixed in structure, and incremental data updates are not supported in this implementation.

Experimental results

Research questions

  • RQ1Can an approximate PQC-based QRAM achieve faster convergence in quantum machine learning tasks compared to classical neural networks and QNNs with classical data embedding?
  • RQ2How does the performance of the QRAM degrade as the number of address and data lines increases, particularly in terms of Hamming Distance and correct prediction rate?
  • RQ3To what extent can agglomerative clustering pre-processing improve the accuracy and robustness of QRAM for high-dimensional binary data storage?
  • RQ4What is the trade-off between QRAM approximation error and the representational power of the QNN when using QRAM for classification?
  • RQ5Can the proposed QRAM architecture effectively support quantum data loading for quantum machine learning without requiring qutrits or complex error-prone circuits?

Key findings

  • QRAM + QNN achieved 100% classification accuracy by the 6th epoch, outperforming QNN with classical embedding (10th epoch) and fully connected neural networks (15th epoch).
  • The loss for QRAM + QNN was 0.53, significantly lower than the fully connected neural network (0.89) and comparable to QNN with classical embedding (0.48).
  • For binary data storage, Hamming Distance increased from 0 to 3.97 and correct prediction rate dropped from 100% to 0.58% as address lines increased from 2 to 9.
  • With agglomerative clustering pre-processing, Hamming Distance decreased from 3.97 to 2.17 and correct prediction rate improved from 0.58% to 10.1% at 9 address lines.
  • Loss curves showed consistent improvement with clustering, with lower mean squared error across all address line counts.
  • The QRAM architecture demonstrated faster convergence and lower loss than classical models, indicating potential quantum advantage in representation learning.

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.