Papers › PennyLane: Automatic differentiation of hybrid quantum-classical computations

PennyLane: Automatic differentiation of hybrid quantum-classical computations

12 Nov 2018arXiv:1811.04968archive 2025-07-28

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, Jack Ceroni, Alain Delgado, Olivia Di Matteo, Amintor Dusko, Tanya Garg, Diego Guala, Anthony Hayes, Ryan Hill, Aroosa Ijaz, Theodor Isacsson, David Ittah, Soran Jahangiri, Prateek Jain, Edward Jiang, Ankit Khandelwal, Korbinian Kottmann, Robert A. Lang, Christina Lee, Thomas Loke, Angus Lowe, Keri McKiernan, Johannes Jakob Meyer, J. A. Montañez-Barrera, Romain Moyard, Zeyue Niu, Lee James O'Riordan, Steven Oud, Ashish Panigrahi, Chae-Yeun Park, Daniel Polatajko, Nicolás Quesada, Chase Roberts, Nahum Sá, Isidor Schoch, Borun Shi, Shuli Shu, Sukin Sim, Arshpreet Singh, Ingrid Strandberg, Jay Soni, Antal Száva, Slimane Thabet, Rodrigo A. Vargas-Hernández, Trevor Vincent, Nicola Vitucci, Maurice Weber, David Wierichs, Roeland Wiersema, Moritz Willmann, Vincent Wong, Shaoming Zhang, Nathan Killoran

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 accelerated machine learning libraries such as TensorFlow, PyTorch, JAX, and Autograd. PennyLane can be used for the optimization of variational quantum eigensolvers, quantum approximate optimization, quantum machine learning models, and many other applications.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1811.04968")

Code

Syntology Ran 0 of 25 code samples harvested from 7 repositories linked to this paper; 25 have no recorded run.

By repository: community (archive-listed): 25 samples from 7 repositories, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

27 repositories listed; official and paper-mentioned ones first.

PennyLaneAI/pennylane officialmentioned in papermentioned on GitHubtfApache-2.0 report
PennyLaneAI/PennyLane-IonQ mentioned on GitHubApache-2.0 report
PennyLaneAI/PennyLane-qsharp mentioned on GitHubApache-2.0 report
PennyLaneAI/pennylane-aqt mentioned on GitHubApache-2.0 report
PennyLaneAI/pennylane-cirq mentioned on GitHubApache-2.0 report
PennyLaneAI/pennylane-forest mentioned on GitHubBSD-3-Clause report
PennyLaneAI/pennylane-honeywell mentioned on GitHubApache-2.0 report
PennyLaneAI/pennylane-lightning mentioned on GitHubApache-2.0 report
PennyLaneAI/pennylane-orquestra mentioned on GitHubApache-2.0 report
PennyLaneAI/pennylane-pq mentioned on GitHubApache-2.0 report
PennyLaneAI/pennylane-qiskit mentioned on GitHubApache-2.0 report
PennyLaneAI/pennylane-qulacs mentioned on GitHubApache-2.0 report
PennyLaneAI/pennylane-sf mentioned on GitHubApache-2.0 report
XanaduAI/PennyLane-qsharp mentioned on GitHubApache-2.0 report
XanaduAI/pennylane-aqt mentioned on GitHubApache-2.0 report
XanaduAI/pennylane-cirq mentioned on GitHubApache-2.0 report
XanaduAI/pennylane-honeywell mentioned on GitHubApache-2.0 report
XanaduAI/pennylane-plugin-template mentioned on GitHubApache-2.0 report
XanaduAI/pennylane-pq mentioned on GitHubApache-2.0 report
XanaduAI/pennylane-qiskit mentioned on GitHubApache-2.0 report
XanaduAI/pennylane-qulacs mentioned on GitHubApache-2.0 report
XanaduAI/pennylane-sf mentioned on GitHubApache-2.0 report
pwegrzyn/pennylane-extra mentioned on GitHubApache-2.0 report
qsar-ubc/pennylane_more_qutrit_ops mentioned on GitHubjaxApache-2.0 report
rickyHong/Pennylane-repl mentioned on GitHubtfApache-2.0 report
XanaduAI/qml pytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

25 samples harvested; 0 ran; 0 honoured the contract we drafted; 25 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

25unverified

Licence: 0 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 7 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

classproperty rickyHong/Pennylane-repl/pennylane/operation.py community (archive-listed) unverified Apache-2.0 (permissive) · 6eee17f5bb82fbaa · report
cov rickyHong/Pennylane-repl/pennylane/measure.py community (archive-listed) unverified Apache-2.0 (permissive) · 694c24f2d3f0ed8f · report
expand rickyHong/Pennylane-repl/pennylane/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 35c502b0db4f2e4f · report
expval rickyHong/Pennylane-repl/pennylane/measure.py community (archive-listed) unverified Apache-2.0 (permissive) · 7ce2f7db6b6b4986 · report
fock_state PennyLaneAI/pennylane-sf/pennylane_sf/tf.py community (archive-listed) unverified Apache-2.0 (permissive) · 959675708d40caf5 · report
gen_expval_workflow PennyLaneAI/pennylane-orquestra/pennylane_orquestra/gen_workflow.py community (archive-listed) unverified Apache-2.0 (permissive) · 8604d3350a948909 · report
identity PennyLaneAI/pennylane-sf/pennylane_sf/tf.py community (archive-listed) unverified Apache-2.0 (permissive) · 77146336e1cc9ad4 · report
join_path PennyLaneAI/PennyLane-IonQ/pennylane_ionq/api_client.py community (archive-listed) unverified Apache-2.0 (permissive) · 926a0c52c0a8e6d1 · report
make_html_figure XanaduAI/qml/lib/filter_helpers.py community (archive-listed) unverified Apache-2.0 (permissive) · 6356c4143cf805e8 · report
mean_photon PennyLaneAI/pennylane-sf/pennylane_sf/expectations.py community (archive-listed) unverified Apache-2.0 (permissive) · 625554f2a6953463 · report
number_expectation PennyLaneAI/pennylane-sf/pennylane_sf/expectations.py community (archive-listed) unverified Apache-2.0 (permissive) · eea152a970cc177d · report
parse_body XanaduAI/qml/lib/filter_links.py community (archive-listed) unverified Apache-2.0 (permissive) · 0ff02dde85492435 · report
parse_img_source XanaduAI/qml/lib/filter_helpers.py community (archive-listed) unverified Apache-2.0 (permissive) · aff87b997e59439b · report
pop_jacobian_kwargs rickyHong/Pennylane-repl/pennylane/qnode.py community (archive-listed) unverified Apache-2.0 (permissive) · 3770a0d3001785fb · report
qe_get PennyLaneAI/pennylane-orquestra/pennylane_orquestra/cli_actions.py community (archive-listed) unverified Apache-2.0 (permissive) · cc4ee4fe8190b2b3 · report
qe_submit PennyLaneAI/pennylane-orquestra/pennylane_orquestra/cli_actions.py community (archive-listed) unverified Apache-2.0 (permissive) · 681b30d48abe1bad · report
qnode rickyHong/Pennylane-repl/pennylane/decorator.py community (archive-listed) unverified Apache-2.0 (permissive) · 7f1cb3a0ba4031a5 · report
random_layers_uniform rickyHong/Pennylane-repl/pennylane/init.py community (archive-listed) unverified Apache-2.0 (permissive) · cefe921e60332fed · report
step_dictionary PennyLaneAI/pennylane-orquestra/pennylane_orquestra/gen_workflow.py community (archive-listed) unverified Apache-2.0 (permissive) · 7537760a0ac6306d · report
strong_ent_layers_normal rickyHong/Pennylane-repl/pennylane/init.py community (archive-listed) unverified Apache-2.0 (permissive) · 94d06c27bbe1b329 · report
strong_ent_layers_uniform rickyHong/Pennylane-repl/pennylane/init.py community (archive-listed) unverified Apache-2.0 (permissive) · 9c804b1190402bc6 · report
submit PennyLaneAI/pennylane-aqt/pennylane_aqt/api_client.py community (archive-listed) unverified Apache-2.0 (permissive) · 4c36ad814b1904a1 · report
validate_subspace qsar-ubc/pennylane_more_qutrit_ops/pennylane/ops/qutrit/parametric_ops.py community (archive-listed) unverified Apache-2.0 (permissive) · c8dc05cdf18ae6f1 · report
var rickyHong/Pennylane-repl/pennylane/measure.py community (archive-listed) unverified Apache-2.0 (permissive) · 5d9e2fb1c244a165 · report
workflow_details PennyLaneAI/pennylane-orquestra/pennylane_orquestra/cli_actions.py community (archive-listed) unverified Apache-2.0 (permissive) · 0e6e371f224f4035 · report

Tasks

BIG-bench Machine LearningQuantum Machine Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections