Efficient calculation of gradients in classical simulations of variational quantum algorithms
Tyson Jones, Julien Gacon

TL;DR
This paper introduces a novel, efficient classical emulation method for calculating gradients in variational quantum algorithms, reducing complexity from O(P^2) to O(P) and compatible with existing simulators.
Contribution
The authors present a new gradient calculation algorithm that is simpler, faster, and more compatible with classical simulators than previous methods, derived directly from quantum operator recurrences.
Findings
Achieves gradient calculation in O(P) time, improving over O(P^2) methods.
Compatible with existing state-vector simulators and parallelization schemes.
Demonstrated implementation and benchmarking in Qiskit.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuantum Computing Algorithms and Architecture · Quantum Information and Cryptography · Neural Networks and Reservoir Computing
