pennylane

Train quantum circuits with automatic differentiation and hardware-agnostic quantum ML.

Updated May 17, 2026
One-click install
npx skills add https://github.com/galeep/plugin-place --skill pennylane-galeep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pennylane
Source: https://github.com/galeep/plugin-place/tree/main/plugins/sci-physics-astronomy/skills/pennylane
Command: npx skills add https://github.com/galeep/plugin-place --skill pennylane-galeep

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pennylane, pyscanner, pennylane-qiskit, pennylane-cirq, pennylane-ionq, pennylane-rigetti, pennylane-catalyst, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of training quantum circuits by providing automatic differentiation, hardware independence, and seamless integration with classical machine learning frameworks.

Core Features & Use Cases

  • Quantum Circuit Construction: Build and manipulate quantum circuits using built-in gates and operations.
  • Hybrid Quantum-Classical Models: Integrate quantum circuits with classical machine learning frameworks like PyTorch and JAX.
  • Use Case: Imagine you want to train a quantum circuit for machine learning. Use this Skill to define the quantum circuit, choose the machine learning model, and train it using automatic differentiation.

Quick Start

Install PennyLane with 'uv pip install pennylane' and execute a simple circuit with 'qml.RX(0.5, wires=0)' followed by 'qml.expval(qml.PauliZ(0))'.

Frequently Asked Questions about pennylane

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I train quantum circuits using automatic differentiation?

Train quantum circuits using automatic differentiation by defining the circuit with built-in gates, then calculating gradients directly to optimize parameters. This simplifies the process by providing automatic differentiation and hardware independence.

Can I integrate quantum circuits with classical machine learning frameworks like PyTorch and JAX?

Integrate quantum circuits with classical machine learning frameworks like PyTorch and JAX to build hybrid quantum-classical models. This allows seamless integration of quantum computation into existing ML workflows.

Does this quantum machine learning approach work with qiskit, cirq, and ionq hardware?

This quantum machine learning approach works with qiskit, cirq, and ionq through specific quantum provider plugins. It enables hardware-agnostic quantum ML across various quantum computing platforms.

What is the best way to start building a quantum circuit for machine learning?

Start building a quantum circuit for machine learning by installing the required Python library and executing simple operations like 'qml.RX' followed by 'qml.expval'. Use built-in gates to construct and manipulate the circuit.

Why use automatic differentiation for hybrid quantum-classical models?

Use automatic differentiation for hybrid quantum-classical models to seamlessly calculate gradients throughout the combined architecture. This simplifies training by bridging quantum circuit optimization with classical machine learning frameworks.