编程进阶包含了如下编程实现:
1. 逻辑门统计
2. 统计量子程序时钟周期
3. 获取量子线路对应矩阵
4. 判断量子逻辑门是否匹配量子拓扑结构
5. 判断两个量子逻辑门是否可交换位置
6. 判断逻辑门是否属于量子芯片支持的量子逻辑门集合
7. 量子线路字符画
8. 量子体积
9. 随机基准
10. 交叉熵基准
QPanda使用文档:
https://pyqpanda-toturial.readthedocs.io/zh/latest/index.html
Github & Gitee 代码地址:
https://github.com/mymagicpower/quantum/tree/main/quantum_qpanda/prog_info
https://gitee.com/mymagicpower/quantum/tree/main/quantum_qpanda/prog_info
下一篇:量子计算【基础篇】第2章