aiqbench analysis
InferQ introduces a novel benchmark that validates using relational databases to simulate quantum circuits via SQL workloads, demonstrating significant memory efficiency gains over traditional simulators like Qiskit Aer for complex circuit compositions. By leveraging lightweight machine learning models trained on extracted features, the framework enables data-driven selection of optimal simulation engines and opens pathways for systematic query optimization in this domain.
InferQ: A Database-Oriented Benchmark for Quantum Circuits Simulation
arXiv:2607.29134v1 Announce Type: new Abstract: Recent work suggests that relational database management systems (RDBMSs) can execute quantum circuit simulation by compiling the simulation into SQL workloads (primarily join-and-aggregate tensor contractions). While early results are promising, they largely focus on a narrow set of highly structured circuits and offer limited support for systematic database research, such as query optimization, physical design, and engine-level evaluation across a broad range of circuits. We present InferQ, a database-oriented benchmark for quantum circuit simulation. InferQ generates general, compositional circuits by assembling subcircuits from a set of circuit templates, emits each simulation task as an RDBMS-ready SQL workload, and extracts circuit and query features (static, graph, SQL, and dynamic) for workload characterization. InferQ also releases a large dataset of 202,975 circuits online, with a web-based viewer to support searching, filtering, and downloading circuits and feature records. In experiments across RDBMS engines (PostgreSQL, SQLite, DuckDB, and Umbra) and the widely used Qiskit Aer simulator, we find that RDBMSs achieve better peak memory usage than Qiskit Aer on more than 50% of the circuits generated by InferQ. Moreover, using InferQ features, lightweight machine learning models (linear and tree-based models) can accurately predict when SQL execution is preferable (with accuracy up to 95.3% for runtime and 97.4% for memory), enabling data-centric simulator selection and opening the door to principled optimization of SQL-based quantum circuit simulation.
Abstract:Recent work suggests that relational database management systems (RDBMSs) can execute quantum circuit simulation by compiling the simulation into SQL workloads (primarily join-and-aggregate tensor contractions). While early results are promising, they largely focus on a narrow set of highly structured circuits and offer limited support for systematic database research, such as query optimization, physical design, and engine-level evaluation across a broad range of circuits. We present InferQ, a database-oriented benchmark for quantum circuit simulation. InferQ generates general, compositional circuits by assembling subcircuits from a set of circuit templates, emits each simulation task as an RDBMS-ready SQL workload, and extracts circuit and query features (static, graph, SQL, and dynamic) for workload characterization. InferQ also releases a large dataset of 202,975 circuits online, with a web-based viewer to support searching, filtering, and downloading circuits and feature records. In experiments across RDBMS engines (PostgreSQL, SQLite, DuckDB, and Umbra) and the widely used Qiskit Aer simulator, we find that RDBMSs achieve better peak memory usage than Qiskit Aer on more than 50% of the circuits generated by InferQ. Moreover, using InferQ features, lightweight machine learning models (linear and tree-based models) can accurately predict when SQL execution is preferable (with accuracy up to 95.3% for runtime and 97.4% for memory), enabling data-centric simulator selection and opening the door to principled optimization of SQL-based quantum circuit simulation.
Accepted for presentation at ACM SIGMOD 2027 and publication in the Proceedings of the ACM on Management of Data (PACMMOD). This arXiv version is an extended technical report that includes the complete appendix
Quantum Physics (quant-ph); Artificial Intelligence (cs.AI); Databases (cs.DB)
arXiv:2607.29134 [quant-ph]
(or arXiv:2607.29134v1 [quant-ph] for this version)
https://doi.org/10.48550/arXiv.2607.29134 arXiv-issued DOI via DataCite (pending registration)
Full text under the publisher's open licence · 277 words
Related coverage

David E. Shaw, The Quant Who Returned To Building Computers
Quantum Zeitgeist · Aug 30, 2026

Quantum Circuits Become Far More Efficient with New Software Design
Quantum Zeitgeist · May 22, 2026

Hybrid Qubit-Boson Gate Achieves High Fidelity in Circuit QED Simulations
Quantum Zeitgeist · Jul 13, 2026
Parallel Circuit Execution for Scalable Quantum Computation
arXiv · Sep 14, 2026