Quantum computing is an emerging computational paradigm with the potential to outperform classical computers in solving a variety of problems. To achieve this, quantum programs are typically represented as quantum circuits, which must be optimized and adapted for target hardware through quantum circuit compilation. We introduce ZX-DB, a data-driven system that performs quantum circuit simplification and rewriting inside a graph database using ZX-calculus, a complete graphical formalism for quantum mechanics. ZX-DB encodes ZX-calculus rewrite rules as standard openCypher queries and executes them on an example graph database engine, Memgraph, enabling efficient, database-native transformations of large-scale quantum circuits. ZX-DB integrates correctness validation via tensor and graph equivalence checks and is evaluated against the state-of-the-art PyZX framework. Experimental results show that ZX-DB achieves up to an order-of-magnitude speedup for independent rewrites, while exposing pattern-matching bottlenecks in current graph database engines. By uniting quantum compilation and graph data management, ZX-DB opens a new systems direction toward scalable, database-supported quantum computing pipelines.
Quantum Information Flow under String-Diagram Rewriting
Fudan Center for Mathematics and Interdisciplinary Study, Fudan University(复旦大学数学与交叉科学研究院);Shanghai Institute for Mathematics and Interdisciplinary Sciences (SIMIS)(上海数学与交叉学科研究院);Department of Physics , Fudan University(复旦大学物理系)
Further improvements to stabilizer simulation theory: classical rewriting of CSS-preserving stabilizer circuits, quadratic form expansions of stabilizer operations, and framed hidden variable models
Steklov Mathematical Institute of Russian Academy of Sciences(俄罗斯科学院斯特克洛夫数学研究所);Russian Quantum Center(俄罗斯量子中心);Moscow Institute of Physics and Technology(莫斯科物理技术学院);National University of Science and Technology “MISIS”(国立科技大学“米西斯”)
An Exactness Barrier for ZX-Calculus Optimization of Synthesized Clifford+T Circuits
University Paris City(巴黎城市大学);University of Reunion(留尼汪大学);Dipartimento di Fisica e Chimica Emilio Segrè, Università degli Studi di Palermo(巴勒莫大学埃米利奥·塞格雷物理与化学系);Department of Mathematics, University of Colombo(科伦坡大学数学系);School of Physics, Mathematics and Computing, University of Western Australia(西澳大利亚大学物理、数学与计算学院);PEACCEL, AI for Biologics(PEACCEL生物制剂人工智能公司)
Numerical Evaluation of ZX Calculus Optimization for Solovay Kitaev Quantum Circuit Synthesis
University of Colombo(科伦坡大学);The University of Western Australia(西澳大学);University Paris City and University of Reunion(巴黎城市大学与留尼汪大学);PEACCEL, AI for Biologics(PEACCEL生物制剂人工智能)