PennyLane: Automatic differentiation of hybrid quantum-classical computations
Ville Bergholm, Josh Izaac, Maria Schuld, Christian Gogolin, Shahnawaz, Ahmed, Vishnu Ajith, M. Sohaib Alam, Guillermo Alonso-Linaje, B., AkashNarayanan, Ali Asadi, Juan Miguel Arrazola, Utkarsh Azad, Sam Banning,, Carsten Blank, Thomas R Bromley, Benjamin A. Cordier

TL;DR
PennyLane is a Python framework enabling automatic differentiation of hybrid quantum-classical computations, supporting various quantum hardware and classical ML libraries for diverse quantum algorithms.
Contribution
It introduces a unified architecture for differentiable programming of quantum computers, integrating quantum and classical optimization techniques.
Findings
Supports gradients of variational quantum circuits compatible with classical backpropagation.
Compatible with multiple quantum hardware providers and classical ML libraries.
Enables optimization of quantum algorithms like VQE and QAOA.
Abstract
PennyLane is a Python 3 software framework for differentiable programming of quantum computers. The library provides a unified architecture for near-term quantum computing devices, supporting both qubit and continuous-variable paradigms. PennyLane's core feature is the ability to compute gradients of variational quantum circuits in a way that is compatible with classical techniques such as backpropagation. PennyLane thus extends the automatic differentiation algorithms common in optimization and machine learning to include quantum and hybrid computations. A plugin system makes the framework compatible with any gate-based quantum simulator or hardware. We provide plugins for hardware providers including the Xanadu Cloud, Amazon Braket, and IBM Quantum, allowing PennyLane optimizations to be run on publicly accessible quantum devices. On the classical front, PennyLane interfaces with…
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 · Parallel Computing and Optimization Techniques
