arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.13033quant-phcs.DB
收藏

ZX-DB:基于ZX-演算的量子电路化简与重写图数据库

ZX-DB: A Graph Database for Quantum Circuit Simplification and Rewriting via the ZX-Calculus

Aalto University(阿尔托大学);University of Helsinki(赫尔辛基大学)

Valter Uotila, Cong Yu, Bo Zhao

AI总结:

针对量子电路编译优化需求,本文提出基于ZX-演算的图数据库系统ZX-DB,将重写规则编码为openCypher查询在Memgraph上执行,相较PyZX最高实现一个数量级的独立重写加速,开辟了数据库支撑量子计算流水线的新方向。

摘要:

量子计算是一种新兴计算范式,有望在求解多类问题上实现对经典计算机的性能超越。为实现这一目标,量子程序通常被表示为量子电路,这类电路必须经过量子电路编译流程完成优化,才能适配目标硬件。本文推出ZX-DB,这是一款数据驱动系统,依托ZX-演算(量子力学的完备图形形式体系)在图数据库内部完成量子电路的化简与重写。ZX-DB将ZX-演算重写规则编码为标准openCypher查询,在示例图数据库引擎Memgraph上执行,可实现大规模量子电路的数据库原生高效变换。ZX-DB集成了基于张量与图等价校验的正确性验证模块,并与当前最优的PyZX框架开展对比评测。实验结果显示,ZX-DB在独立重写任务上最高可实现一个数量级的加速,同时也暴露了当前图数据库引擎存在的模式匹配瓶颈。通过打通量子编译与图数据管理的技术链路,ZX-DB为构建可扩展、数据库支撑的量子计算流水线开辟了全新的系统研究方向。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑