Private Quantum Database

Rihan Hai, Giancarlo Gatti, Rihan Hai 0001arXiv 2025 · DOI

Abstract

This paper proposes a quantum-native database design that leverages the fundamental laws of physics—specifically destructive measurement and the no-cloning theorem—to achieve "two-sided" privacy. By encoding relational data into quantum states, the authors demonstrate a path toward single-server symmetric private information retrieval (SPIR) that is physically enforced rather than just mathematically obscured. The system is designed for near-term feasibility, requiring significantly fewer qubits than traditional quantum search algorithms.

Introduction

In modern data management, "two-sided privacy" represents a significant challenge. It requires simultaneous user privacy (the server remains unaware of which record is being queried) and data privacy (the user cannot retrieve more than the specific record requested).

The interaction model between a Bank and an Auditor demonstrates the requirement for oblivious queries and private data retrieval.

Classical solutions for Symmetric Private Information Retrieval (SPIR) typically rely on multiple non-colluding servers or computationally expensive cryptographic primitives. While quantum computing is often associated with Grover’s search for speedups, this research pivots the "quantum advantage" toward security. By utilizing Noisy Intermediate-Scale Quantum (NISQ) hardware, the authors address the privacy bottleneck through physical constraints rather than algorithmic complexity.

System Architecture and Methods

The proposed protocol utilizes two primary quantum primitives to secure the data layer:

  1. Quantum Random Access Codes (QRACs): These allow for the encoding of multiple classical bits into a smaller number of qubits. Crucially, only one set of bits can be retrieved reliably; the act of measurement physically disturbs the state, preventing further extraction.
  2. Mutually Unbiased Bases (MUBs): Database keys are mapped to these bases. Because the bases are unbiased, attempting to measure in the wrong basis (i.e., peeking at a different record) results in random noise and destroys the underlying information.
The hybrid architecture integrates classical database systems with quantum state preparation and measurement channels.

To ensure practical deployment, the authors introduce a hybrid quantum–classical architecture. A standard classical DBMS (such as PostgreSQL) stores the "recipes" or classical descriptions of quantum states. When a query is initiated, the server generates fresh quantum instances on the fly and transmits a bounded number of copies ($k$) to the client via a quantum channel.

Experimental Validation

The protocol was validated using a synthetic proof-of-concept dataset consisting of a 5-row table containing personal information (Name, Phone, and Email). Each row carried a 130-bit private payload. Using Wolfram Mathematica, the researchers simulated a 2-qubit QRAC case to encode a $5 \times 2$ binary table.

Key results from the simulation include:

  • Success Probabilities: The 2-qubit simulation achieved a mean success probability of 0.5220, aligning with theoretical QRAC limits.
  • Majority-Vote Amplification: By sending multiple copies ($k$) of the state, the system can amplify the correctness of a legitimate query while keeping the probability of multi-record "theft" statistically low.
  • Integration: The authors successfully integrated "Tableau Representations" of quantum states into Qymera, their existing quantum-classical middleware, proving that quantum metadata can be managed within standard SQL environments.

Discussion: The Privacy Gap and Scalability

A core insight of this work is the "Privacy Gap." By tuning the number of state copies ($k$), the server creates a statistical moat. For instance, at $k=41$, a user has an ~89% chance of correctly retrieving their intended record, but only a ~15% chance of successfully retrieving a second unauthorized record.

Furthermore, the approach is highly scalable for near-term hardware. While Grover’s search might require millions of qubits for large-scale databases, the authors calculate that a database with 3 million rows would only require 22-qubit quantum states, putting it well within the reach of current quantum processors.

Limitations and Future Work

Despite its promise, several hurdles remain. While the query execution is qubit-efficient, calculating the optimal QRAC state "recipe" for large datasets is a significant classical computational challenge. Additionally, real-world deployment requires dedicated quantum infrastructure, such as fiber optic links for single photons. Future research will focus on mitigating hardware noise in NISQ devices, which currently impacts retrieval correctness.

Summary updated

BibTeX
@misc{hai2025private,
  author = {Rihan Hai and Giancarlo Gatti and Rihan Hai},
  title = {{Private Quantum Database}},
  year = {2025},
  eprint = {2508.19055},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.19055},
}
Figure