mlsanityData to 14 Oct 2026

Differentiable Quantum Programming with Unbounded Loops

arXiv 2211.04507 ↗First posted 8 Nov 2022quant-ph cs.LG cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

The emergence of variational quantum applications has led to the development of automatic differentiation techniques in quantum computing. Recently, Zhu et al. (PLDI 2020) have 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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 72 references that are in the map. First posted on arXiv 8 Nov 2022.

Builds on

16 of 72 references.

References · 16

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2016An overview of gradient descent optimization algorithmscited by 1,033
  3. 2015Automatic differentiation in machine learning: a surveycited by 855
  4. 2019Parameterized quantum circuits as machine learning modelscited by 332
  5. 2019Efficient Learning for Deep Quantum Neural Networkscited by 161
  6. 2019Stochastic gradient descent for hybrid quantum-classical optimizationcited by 59
  7. 2015Learning to Transduce with Unbounded Memorycited by 54
  8. 2016Differentiable Programs with Neural Librariescited by 30
  9. 2018Demystifying Differentiable Programming: Shift/Reset the Penultimate Backpropagatorcited by 14
  10. 2020Correctness of Automatic Differentiation via Diffeologies and Categorical Gluingcited by 12
  11. 2019A Simple Differentiable Programming Languagecited by 11
  12. 2020λS: Computable Semantics for Differentiable Programming with Higher-Order Functions and Datatypescited by 8
4 more
  1. 2018Q#: Enabling scalable quantum computing and development with a high-level domain-specific languagecited by 7
  2. 2019Towards Verified Stochastic Variational Inference for Probabilistic Programscited by 6
  3. 2020Automatic Differentiation in PCFcited by 4
  4. 2020On the Principles of Differentiable Quantum Programming Languagescited by 3

Built on by

Not cited yet.