arrow
返回

Differentiable Quantum Programming with Unbounded Loops

delete2023-11-23
delete0
delete
OA
AI
W
Wang Fang *
M
Mingsheng Ying
X
Xiaodi Wu
DOI:10.1145/3617178delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
The emergence of variational quantum applications has led to the development of automatic differentiation techniques in quantum computing. Existing work has formulated differentiable quantum programming with bounded loops, providing a framework for scalable gradient calculation by quantum means for training quantum variational applications. However, promising parameterized quantum applications, e.g., quantum walk and unitary implementation, cannot be trained in the existing framework due to the natural involvement of unbounded loops. To fill in the gap, we provide the first differentiable quantum programming framework with unbounded loops, including a newly designed differentiation rule, code transformation, and their correctness proof. Technically, we introduce a randomized estimator for derivatives to deal with the infinite sum in the differentiation of unbounded loops, whose applicability in classical and probabilistic programming is also discussed. We implement our framework with Python and Q# and demonstrate a reasonable sample efficiency. Through extensive case studies, we showcase an exciting application of our framework in automatically identifying close-to-optimal parameters for several parameterized quantum applications.
Keyword:
Quantum programming languages
differentiable programming
quantum machine learning
unbounded loops
Quantum Computing with Differentiable Quantum Transforms具有可微分量子变换的量子计算
err2023-06-26
err3
errOAAI
errDi Matteo, Olivia; Izaac, Josh; Bromley, Thomas R.; Hayes, Anthony; Lee, Christina; Schuld, Maria; Szava, Antal; Roberts, Chase; Killoran, Nathan
err分享
err收藏
err分享
err收藏
err分享
err收藏
Control of stochastic quantum dynamics by differentiable programming通过可微编程控制随机量子动力学
err2021-04-22
err14
errOAAI
errSchafer, Frank; Sekatski, Pavel; Koppenhofer, Martin; Bruder, Christoph; Kloc, Michal
err分享
err收藏
err分享
err收藏

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.4K
被引数:
4.5K

机构

U
university of chinese academy of sciences, cas
学者数:
4.1W
论文数: 3.8W
被引数: 7.1W
中
中国科学院
学者数:
3.2W
论文数: 8.9K
被引数: 39.2W
引用论文

引用论文

err分享
err收藏
err分享
err收藏
A variational eigenvalue solver on a photonic quantum processor光子量子处理器上的变分特征值求解器
err2014-07-23
err2.7K
errOAAI
errPeruzzo, Alberto; McClean, Jarrod; Shadbolt, Peter; Yung, Man-Hong; Zhou, Xiao-Qi; Love, Peter J.; Aspuru-Guzik, Alan; O'Brien, Jeremy L.
err分享
err收藏
Reduction Potentials of Some Chromium(III) Complexes
err2002-05-01
err0
PREAI
errJoseph H. Walsh; Joseph E. Earley
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Fault-Diagnosis Applications
err
IF0
err2011-01-01
err0
PREAI
errRolf Isermann
err分享
err收藏
学者 查看更多内容