PennyLane
PennyLane combines quantum programming with circuit inspection and analysis. Its text and Matplotlib drawers show operations, wires, measurements, and classical dependencies, while Fourier visualizations reveal the frequency content of parametrized circuit families. Available coefficient views include bar and violin plots, radial box plots, and panels in the complex plane, helping readers examine circuit expressivity. Through its Catalyst integration, PennyLane can also display compiled quantum operations as data-flow graphs with loops, conditionals, and compilation-pass changes for a single compiled QNode. These views support understanding circuit representations, inspecting program transformations, and exploring the behavior of parametrized circuit models.
Visualization labels
03 / VisualizationVisual representations
Visualization resources
Explore the tool’s visualization features and documentation.
Circuit inspection guide
Introduces circuit drawing and explains how diagrams relate to inspection, debugging, and Fourier analysis.
Fourier coefficient visualizations
Explains circuit expressivity through coefficient distributions, radial box plots, and complex-plane panels.
Compiled-program graph reference
Demonstrates Catalyst circuit graphs with control flow, dynamic wire dependencies, and compilation-pass comparisons.
PennyLane: Automatic differentiation of hybrid quantum-classical computations
Cite this work
@misc{bergholm2022pennylaneautomaticdifferentiationhybrid,
author = {Bergholm, Ville and others},
url = {https://arxiv.org/abs/1811.04968},
eprint = {1811.04968},
eprintclass = {quant-ph},
eprinttype = {arXiv},
title = {PennyLane: Automatic differentiation of hybrid quantum-classical computations},
year = {2022},
}