Data Management in the Noisy Intermediate-Scale Quantum Era

Rihan Hai, Shih-Han Hung, Tim Coopmans, Floris Geerts · DOI

Introduction

The field of quantum computing is currently navigating the "Noisy Intermediate-Scale Quantum" (NISQ) era. While much of the existing research focuses on how quantum hardware can accelerate classical database tasks, a collaborative effort from researchers at Delft, NTU, and Antwerp proposes a paradigm shift: applying decades of database management expertise to solve the scaling challenges of quantum computing.

Quantum simulation is a critical tool for developing future quantum applications, yet it faces a massive data management hurdle. Representing a quantum state requires an exponential amount of memory—simulating 50 qubits with a brute-force state vector would consume petabytes. This paper argues that by treating quantum simulation as a data management problem, we can leverage relational database management systems (RDBMS) to achieve unprecedented scalability.

The Three Paradigms of Quantum Data Management

The authors outline a roadmap for integrating database wisdom into the quantum stack, categorized into three distinct paradigms:

The three paradigms of quantum data management: Classical Simulation, Joint Quantum-Classical, and Pure Quantum.
  1. Classical Simulation: Utilizing classical databases to represent and simulate quantum states. This is the primary focus of the current research, demonstrating how RDBMS can handle the massive datasets generated by quantum circuits.
  2. Joint Quantum-Classical: Managing the high-velocity data streams required for quantum error correction and real-time preprocessing.
  3. Pure Quantum: A long-term vision where "Quantum Databases" store and query qubits natively.

Sparse Relational Encoding

The core technical innovation presented is Sparse Relational Encoding. Traditional simulators often use dense state vectors—massive arrays that store every possible amplitude. In contrast, the researchers store only non-zero amplitudes in a relational table with the schema (qubit_indices..., real_part, imag_part).

Quantum gate operations, which are mathematically equivalent to tensor contractions, are mapped to standard SQL operations. By using JOIN, SUM, and GROUP BY clauses, the system can perform complex multi-dimensional matrix multiplications. Common Table Expressions (CTEs) are employed to manage the sequence of operations within a quantum circuit, allowing the database engine's optimizer to handle the execution flow.

Experimental Evaluation

The approach was tested using three standard quantum circuit benchmarks, each representing a different "data shape":

  • W State: A sparse state where only $n$ entries are non-zero.
  • GHZ State: An extremely sparse entangled state with only two non-zero entries.
  • QFT (Quantum Fourier Transform): A dense circuit used as a stress test for the relational model.

The performance of PostgreSQL, SQLite, and DuckDB was compared against a NumPy-based tensor simulator and a specialized Matrix Product State (MPS) simulator.

Key Results and Insights

The experimental results highlight the dramatic scalability gains possible when exploiting sparsity. Under a strict 2.0 GB memory limit, the RDBMS-based approach showed significant improvements over traditional methods.

Memory consumption scaling for different database engines as the number of qubits increases.
  • Scalability Leap: For the W-state, the NumPy baseline failed at 17 qubits. In contrast, DuckDB successfully simulated over 53,000 qubits, representing a 3,118x improvement in scalability.
  • Extreme Sparsity: For the GHZ state, SQLite reached 14 million qubits, an 830,000x improvement over the baseline.
  • Optimization Parallels: A key insight is that finding the optimal tensor contraction order is mathematically analogous to the classical Join Order Optimization problem. Databases have refined these optimization techniques over 40 years, making them uniquely suited for this task.
  • The Generation Bottleneck: Interestingly, for very large circuits, the time taken to generate the SQL simulation string can exceed the database's execution time, indicating a need for more direct internal APIs.

Limitations and Future Work

While the relational approach excels at sparse circuits, it offers no advantage for dense circuits like the QFT, where the overhead of the relational model becomes a liability. Future research will focus on hybrid representations that can handle both sparse and dense tensors efficiently.

Additionally, the authors call for the development of a Classical-Quantum Simulation System (CQSS). This would involve creating quantum-aware query optimizers that understand domain-specific concepts like entanglement and decoherence. There is also potential for graph databases to play a role in the complex decoding steps required for quantum error correction.

Summary updated

BibTeX
@article{hai2025data,
  author = {Rihan Hai and Shih-Han Hung and Tim Coopmans and Floris Geerts},
  title = {{Data Management in the Noisy Intermediate-Scale Quantum Era}},
  journal = {Proc. VLDB Endow.},
  year = {2025},
  doi = {10.14778/3725688.3725701},
}
Figure