As quantum computing becomes an emerging reality, designing efficient quantum programming capabilities is becoming more and more important. Particularly, the debugging and validation of quantum programs is of paramount importance, as these programs are by definition hard to test. Static analysis and formal verification methods for quantum programs started to emerge a few years now, yet they often miss hybrid quantum/classical reasoning facilities with, e.g., generic quantum control, classical control and classical computation instructions. In this paper, we lay out the foundations of a framework for the automated formal verification of (full) hybrid quantum programs featuring both classical and quantum control, measurement and hybrid data structures. In particular, we propose: (1) a novel symbolic representation for describing and manipulating sets of hybrid quantum/classical states called Hybrid Path-Sums (HPS); (2) a set of rewriting rules providing a rich mechanism for simplifying and reasoning on these symbolic hybrid states, and (3) a core assertion language to specify equivalence of hybrid quantum programs, the satisfaction of properties on (parts of) hybrid states, and the extraction of probabilistic statements about the program behavior. We prove the correctness of the novel symbolic representation, of its rewriting system and of the specification system. Finally, we propose a full implementation of this framework as a dedicated symbolic execution engine for hybrid programs. We present an evaluation of a set of representative hybrid case-studies from the literature, showcasing the advantage of our approach and its efficiency compared to state-of-the-art solutions.


翻译:随着量子计算逐步成为新兴现实,设计高效的量子编程能力日益重要。尤其量子程序的调试与验证至关重要,因为这些程序本质上难以测试。尽管量子程序的静态分析与形式化验证方法近年来已开始出现,但它们往往缺乏混合量子/经典推理机制,例如通用量子控制、经典控制及经典计算指令。本文为(全)混合量子程序(同时包含经典控制、量子控制、测量及混合数据结构)的自动化形式化验证奠定框架基础。具体而言,我们提出:(1)一种新型符号表示方法——混合路径求和(Hybrid Path-Sums, HPS),用于描述和操作混合量子/经典状态集合;(2)一组重写规则,提供丰富的机制以简化并推理这些符号化混合状态;(3)核心断言语言,用于规范混合量子程序的等价性、混合状态中(部分)属性的满足性,以及提取程序行为的概率性陈述。我们证明了新型符号表示、重写系统及规范系统的正确性。最后,我们提出该框架的完整实现,作为混合程序的专用符号执行引擎。通过来自文献的一系列代表性混合案例研究评估,展示了我们方法的优势及其相较于当前最优解决方案的高效性。

0
下载
关闭预览

相关内容

澳大利亚陆军《陆军量子技术路线图》48页报告
专知会员服务
43+阅读 · 2023年2月8日
专知会员服务
32+阅读 · 2021年10月12日
专知会员服务
37+阅读 · 2021年9月12日
智能合约的形式化验证方法研究综述
专知
16+阅读 · 2021年5月8日
入行量化,你必须知道的几点
深度学习与NLP
12+阅读 · 2019年3月5日
「机器学习-金融工程-量化投资」所需的数学书
平均机器
11+阅读 · 2019年2月24日
深度强化学习入门,这一篇就够了!
机器学习算法与Python学习
28+阅读 · 2018年8月17日
超全总结:神经网络加速之量化模型 | 附带代码
尽早跑通深度学习的实践代码,是入门深度学习的最快途径
算法与数据结构
22+阅读 · 2017年12月13日
综述 | 知识图谱向量化表示
开放知识图谱
33+阅读 · 2017年10月26日
国家自然科学基金
1+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
综述 | 世界动作模型:少做梦,多行动
专知会员服务
4+阅读 · 6月23日
美以伊冲突:无人机与人工智能的运用
专知会员服务
7+阅读 · 6月23日
《特种部队在透明战场中的生存力》最新报告
专知会员服务
4+阅读 · 6月23日
综述 | 3D场景图:开放挑战与未来方向
专知会员服务
8+阅读 · 6月22日
21世纪的无人机战争
专知会员服务
4+阅读 · 6月22日
《量子技术的军事任务技术适配与利用》
专知会员服务
5+阅读 · 6月22日
相关资讯
智能合约的形式化验证方法研究综述
专知
16+阅读 · 2021年5月8日
入行量化,你必须知道的几点
深度学习与NLP
12+阅读 · 2019年3月5日
「机器学习-金融工程-量化投资」所需的数学书
平均机器
11+阅读 · 2019年2月24日
深度强化学习入门,这一篇就够了!
机器学习算法与Python学习
28+阅读 · 2018年8月17日
超全总结:神经网络加速之量化模型 | 附带代码
尽早跑通深度学习的实践代码,是入门深度学习的最快途径
算法与数据结构
22+阅读 · 2017年12月13日
综述 | 知识图谱向量化表示
开放知识图谱
33+阅读 · 2017年10月26日
相关基金
国家自然科学基金
1+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员