跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

物理学 > 量子物理

arXiv:2410.23493 (quant-ph)
[提交于 2024年10月30日]

标题:Linear and non-linear relational analyses for Quantum Program Optimization

作者:Matthew Amy, Joseph Lunderville
查看论文《Linear and non-linear relational analyses for Quantum Program Optimization》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The phase folding optimization is a circuit optimization used in many quantum compilers as a fast and effective way of reducing the number of high-cost gates in a quantum circuit. However, existing formulations of the optimization rely on an exact, linear algebraic representation of the circuit, restricting the optimization to being performed on straightline quantum circuits or basic blocks in a larger quantum program. We show that the phase folding optimization can be re-cast as an \emph{affine relation analysis}, which allows the direct application of classical techniques for affine relations to extend phase folding to quantum \emph{programs} with arbitrarily complicated classical control flow including nested loops and procedure calls. Through the lens of relational analysis, we show that the optimization can be powered-up by substituting other classical relational domains, particularly ones for \emph{non-linear} relations which are useful in analyzing circuits involving classical arithmetic. To increase the precision of our analysis and infer non-linear relations from gate sets involving only linear operations -- such as Clifford+$T$ -- we show that the \emph{sum-over-paths} technique can be used to extract precise symbolic transition relations for straightline circuits. Our experiments show that our methods are able to generate and use non-trivial loop invariants for quantum program optimization, as well as achieve some optimizations of common circuits which were previously attainable only by hand.
评论: 30 pages, 13 figures, comments welcome!
主题: 量子物理 (quant-ph); 程序设计语言 (cs.PL)
引用方式: arXiv:2410.23493 [quant-ph]
  (或者 arXiv:2410.23493v1 [quant-ph] 对于此版本)
  https://doi.org/10.48550/arXiv.2410.23493
期刊参考: Proc. ACM Program. Lang. 9, POPL, Article 37 (January 2025), 33 pages
相关 DOI: https://doi.org/10.1145/3704873

提交历史

来自:Matthew Amy
[v1] 2024年10月30日 星期三 22:57:07 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

quant-ph
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-10
切换浏览方式为:
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站