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

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

物理学 > 量子物理

arXiv:1909.05270 (quant-ph)
[提交于 2019年9月11日 (v1),最后修订于 2020年7月29日 (此版本, v2)]

标题:Exact and practical pattern matching for quantum circuit optimization

作者:Raban Iten, Romain Moyard, Tony Metger, David Sutter, Stefan Woerner
查看论文《Exact and practical pattern matching for quantum circuit optimization》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Quantum computations are typically compiled into a circuit of basic quantum gates. Just like for classical circuits, a quantum compiler should optimize the quantum circuit, e.g. by minimizing the number of required gates. Optimizing quantum circuits is not only relevant for improving the runtime of quantum algorithms in the long term, but is also particularly important for near-term quantum devices that can only implement a small number of quantum gates before noise renders the computation useless. An important building block for many quantum circuit optimization techniques is pattern matching, where given a large and a small quantum circuit, we are interested in finding all maximal matches of the small circuit, called pattern, in the large circuit, considering pairwise commutation of quantum gates. In this work, we present a classical algorithm for pattern matching that provably finds all maximal matches in time polynomial in the circuit size (for a fixed pattern size). Our algorithm works for both quantum and reversible classical circuits. We demonstrate numerically that our algorithm, implemented in the open-source library Qiskit, scales considerably better than suggested by the theoretical worst-case complexity and is practical to use for circuit sizes typical for near-term quantum devices. Using our pattern matching algorithm as the basis for known circuit optimization techniques such as template matching and peephole optimization, we demonstrate a significant (~30%) reduction in gate count for random quantum circuits, and are able to further improve practically relevant quantum circuits that were already optimized with state-of-the-art techniques.
评论: Raban Iten and Romain Moyard contributed equally to this work. Major updates: Added numerical analysis of the pattern matching algorithm; fixed two special cases that were missed by our algorithm and updated the worst-case complexity analysis. 10 pages summary + 23 pages main text + 7 pages appendix
主题: 量子物理 (quant-ph); 数据结构与算法 (cs.DS)
引用方式: arXiv:1909.05270 [quant-ph]
  (或者 arXiv:1909.05270v2 [quant-ph] 对于此版本)
  https://doi.org/10.48550/arXiv.1909.05270
期刊参考: ACM Transactions on Quantum Computing, Volume 3, Issue 1, 2022
相关 DOI: https://doi.org/10.1145/3498325

提交历史

来自:Raban Iten
[v1] 2019年9月11日 星期三 18:00:27 UTC
[v2] 2020年7月29日 星期三 06:51:30 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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