paper-with-me

Papers

Differentiable Quantum Programming with Unbounded Loops

2022-11-08 · Wang Fang, Mingsheng Ying, Xiaodi Wu

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.

📄 PDF Abstract BibTeX arXiv:2211.04507

Code (1)

njuwfang/differentiableqpl 공식 구현

Tasks

Probabilistic Programming

Similar Papers 제목 키워드 기반

Amortized Rejection Sampling in Universal Probabilistic Programming

2019-10-20 · Saeid Naderiparizi, Adam Ścibior, Andreas Munk, Mehrdad Ghadiri 외

Naive approaches to amortized inference in probabilistic programs with unbounded loops can produce estimators with infinite variance. This is particularly true of importance sampling inference in programs that explicitly…

Probabilistic Programming

Differentiable Programming of Isometric Tensor Networks

2021-10-08 · Chenhua Geng, Hong-Ye Hu, Yijian Zou

Differentiable programming is a new programming paradigm which enables large scale optimization through automatic calculation of gradients also known as auto-differentiation. This concept emerges from deep learning, and …

Tensor Networks

Quantum-Inspired Differentiable Integral Neural Networks (QIDINNs): A Feynman-Based Architecture for Continuous Learning Over Streaming Data

2025-06-13 · Oscar Boullosa Dapena

Real-time continuous learning over streaming data remains a central challenge in deep learning and AI systems. Traditional gradient-based models such as backpropagation through time (BPTT) face computational and stabilit…

On the Principles of Differentiable Quantum Programming Languages

2020-04-02 · Shaopeng Zhu, Shih-Han Hung, Shouvanik Chakrabarti, Xiaodi Wu

Variational Quantum Circuits (VQCs), or the so-called quantum neural-networks, are predicted to be one of the most important near-term quantum applications, not only because of their similar promises as classical neural-…

Differentiable Logical Programming for Quantum Circuit Discovery and Optimization

2026-02-09 · Antonin Sulc arxiv

Designing high-fidelity quantum circuits remains challenging, and current paradigms often depend on heuristic, fixed-ansatz structures or rule-based compilers that can be suboptimal or lack generality. We introduce a neu…