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

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

物理学 > 量子物理

arXiv:2009.02823 (quant-ph)
[提交于 2020年9月8日]

标题:Efficient calculation of gradients in classical simulations of variational quantum algorithms

作者:Tyson Jones, Julien Gacon
查看论文《Efficient calculation of gradients in classical simulations of variational quantum algorithms》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Calculating the energy gradient in parameter space has become an almost ubiquitous subroutine of variational near-term quantum algorithms. "Faithful" classical emulation of this subroutine mimics its quantum evaluation, and scales as O(P^2) gate operations for P variational parameters. This is often the bottleneck for the moderately-sized simulations, and has attracted HPC strategies like "batch-circuit" evaluation. We here present a novel derivation of an emulation strategy to precisely calculate the gradient in O(P) time and using O(1) state-vectors, compatible with "full-state" state-vector simulators. The prescribed algorithm resembles the optimised technique for automatic differentiation of reversible cost functions, often used in classical machine learning, and first employed in quantum simulators like Yao.jl. In contrast, our scheme derives directly from a recurrent form of quantum operators, and may be more familiar to a quantum computing community. Our strategy is very simple, uses only 'apply gate', 'clone state' and 'inner product' primitives and is hence straightforward to implement and integrate with existing simulators. It is compatible with gate parallelisation schemes, and hardware accelerated and distributed simulators. We describe the scheme in an instructive way, including details of how common gate derivatives can be performed, to clearly guide implementation in existing quantum simulators. We furthermore demonstrate the scheme by implementing it in Qiskit, and perform some comparative benchmarking with faithful simulation. Finally, we remark upon the difficulty of extending the scheme to density-matrix simulation of noisy channels.
评论: 11 pages, 2 figures, 4 algorithms
主题: 量子物理 (quant-ph); 计算物理 (physics.comp-ph)
引用方式: arXiv:2009.02823 [quant-ph]
  (或者 arXiv:2009.02823v1 [quant-ph] 对于此版本)
  https://doi.org/10.48550/arXiv.2009.02823

提交历史

来自:Tyson Jones
[v1] 2020年9月8日 星期二 00:00:00 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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