量子符号执行的优化  

Optimization of Quantum Symbolic Execution

在线阅读下载全文

作  者:姜楠 王子臣 王健[3] 王海亮 JIANG Nan;WANG Zichen;WANG Jian;WANG Hailiang(Faculty of Information Technology,Beijing University of Technology,Beijing 100124,China;Beijing Key Laboratory of Trusted Computing,Beijing 100124,China;Beijing Key Laboratory of Security and Privacy in Intelligent Transportation,Beijing Jiaotong University,Beijing 100044,China)

机构地区:[1]北京工业大学信息学部,北京100124 [2]可信计算北京市重点实验室,北京100124 [3]北京交通大学智能交通数据安全与隐私保护技术北京市重点实验室,北京100044

出  处:《北京工业大学学报》2023年第6期621-629,共9页Journal of Beijing University of Technology

基  金:国家自然科学基金资助项目(61502016);北京市重点实验室开放课题资助项目(202209300499)。

摘  要:量子符号执行是一种为量子程序生成测试用例的技术.目前,量子符号执行只机械地根据被调试程序中的每一个条件语句来连续划分测试用例空间,没有考虑整个表达式以及条件语句的嵌套,导致量子线路比较复杂.为了解决该问题,提出对量子符号执行的优化.首先,通过对关系表达式进行化简,直接减少量子模块个数,或者通过值的替换间接减少量子模块个数.其次,对逻辑与和逻辑或2类逻辑表达式分别提出简化线路的方法.最后,提出将嵌套条件语句看作外层与内层的逻辑与来简化线路,优化对量子符号执行中测试用例空间的划分.实验表明,该优化方法降低了实现量子符号执行线路的成本,包括量子门和量子比特个数.Quantum symbolic execution is a technique for generating test cases for quantum programs.At present,quantum symbol execution only mechanically divides the test case space continuously according to each conditional statement in the debugged program,without considering the entire expression and the nesting of conditional statements,which results in complex quantum circuits.To solve this problem,this paper proposed an optimization of quantum symbols.First,by simplifying the relational expression,the number of quantum modules was directly reduced,or the number of quantum modules was indirectly reduced through the substitution of values.Second,the methods of simplifying circuit for logic AND and logic OR were presented,respectively.Finally,it was proposed that the nested conditional statement was regarded as the logic AND of outer layer and inner layer to simplify the circuit,and optimize the division of the test case space in the quantum symbolic execution.Results show that this optimization method reduces the cost of implementing quantum symbolic execution circuits,including the number of quantum gates and qubits.

关 键 词:量子符号执行 线路优化 量子程序测试 关系表达式简化 逻辑表达式简化 嵌套条件简化 

分 类 号:U461[机械工程—车辆工程] TP308[交通运输工程—载运工具运用工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象