谷歌浏览器插件
订阅小程序
在清言上使用

Contract-based verification of a realistic quantum compiler

CoRR(2019)

引用 7|浏览42
暂无评分
摘要
In this paper, we present CertiQ, a mostly-automated verification framework for the Qiskit quantum compiler. CertiQ is the first effort to apply formal verification to a real-world quantum compiler. Qiskit is currently the most complete and widely-used open-source quantum software stack from low-level compilation to high-level quantum algorithms. With growing community contributions, the Qiskit compiler is in need of code quality control and verification down to the compilation level to guarantee reliability of scientific work that uses it. CertiQ is deeply integrated into the Qiskit compiler (called Terra), providing abstract specifications for quantum compiler data structures and offering verifiable contracts that specify the behaviors of compilation phases with heavy optimizations. CertiQ enables verification of existing implementation of the Qiskit compiler and future code submissions in a mostly-automated manner using invariant-guided contracts and contract continuation. With these CertiQtechniques in place, developers need to provide limited inputs only where function contracts and loop invariant scannot be inferred automatically. The CertiQ verification procedure discovers several critical bugs, some of which are unique to quantum soft-ware. Our extensive case studies on four compiler phases of Qiskit demonstrate that CertiQ is effective for verification of quantum compilers with a low proof burden.
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要