arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.11571cs.PLquant-ph
收藏

VyZX:图式量子语言的正式验证

VyZX: Formal Verification of a Graphical Quantum Language

University of Chicago(芝加哥大学);University of St Andrews(圣安德鲁斯大学)

Adrian Lehmann, Ben Caldwell, Bhakti Shah, William Spencer, Robert Rand

AI总结:

本文提出VyZX库,用于验证归纳定义的图式语言,通过证明ZX-calculus重写规则的正确性,结合证明助手技术实现图式语言的正式推理。

摘要:

图式语言是一种方便的计算表示方式,通过重写规则将一个图转换为另一个图。相比之下,证明助手依赖归纳数据类型,尤其在为嵌入语言赋予语义时。这给正式推理解释图式语言带来了障碍,因为施加归纳结构会掩盖图式语言的图示性质及其相应的等式理论。为解决这一差距,我们提出了VyZX,一个用于推理解析归纳图式语言的验证库。这些归纳构造自然地从范畴论定义中产生。我们开发VyZX以验证ZX-calculus,一种用于量子计算推理的图式语言。ZX-calculus配备了一组图示重写规则,这些规则保持图的语义解释。我们展示了VyZX中的归纳图如何用于证明ZX-calculus重写规则的正确性,并通过标准证明助手技术应用于实践。我们还提供了一个集成在IDE中的可视化工具,供证明工程师直接以图式形式进行推理。

英文摘要:

Graphical languages are a convenient shorthand to represent computation, with rewrite rules relating one graph to another. In contrast, proof assistants rely heavily on inductive datatypes, particularly when giving semantics to embedded languages. This creates obstacles to formally reasoning about graphical languages, since imposing an inductive structure obfuscates the diagrammatic nature of graphical languages, along with their corresponding equational theories. To address this gap, we present VyZX, a verified library for reasoning about inductively defined graphical languages. These inductive constructs arise naturally from category-theoretic definitions. We developed VyZX to Verify the ZX-calculus, a graphical langauge for reasoning about quantum computation. The ZX-calculus comes with a collection of diagrammatic rewrite rules that preserve the graph's semantic interpretation. We show how inductive graphs in VyZX are used to prove the soundness of the ZX-calculus rewrite rules and apply them in practice using standard proof assistant techniques. We also provide an IDE-integrated visualizer for proof engineers to directly reason about diagrams in graphical form.

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

↑