Skip to content

Cross-platform quantum computing library for building, training, and running hybrid quantum-classical models.

CCM score
63 of 100
skills.sh installs
215
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers quantum circuit construction, quantum machine learning, quantum chemistry, device management, optimization, and advanced features
  • Includes built-in simulators (default.qubit, lightning.qubit, default.mixed) and hardware plugins for IBM, Amazon Braket, Google, Rigetti, and IonQ
  • Provides automatic differentiation with PyTorch, JAX, and TensorFlow integration, plus VQE and UCCSD workflows for molecular ground states
  • Designed for researchers and developers who need hardware-agnostic quantum programming with gradient-based optimization

Install

$ npx -y skills add davila7/claude-code-templates --skill pennylane -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PennyLane

Overview

PennyLane is a quantum computing library that enables training quantum computers like neural networks. It provides automatic differentiation of quantum circuits, device-independent programming, and seamless integration with classical machine learning frameworks.

Installation

Install using uv:

uv pip install pennylane

For quantum hardware access, install device plugins:

# IBM Quantum
uv pip install pennylane-qiskit

# Amazon Braket
uv pip install amazon-braket-pennylane-plugin

# Google Cirq
uv pip install pennylane-cirq

# Rigetti Forest
uv pip install pennylane-rigetti

# IonQ
uv pip install pennylane-ionq

Quick Start

Build a quantum circuit and optimize its parameters:

import pennylane as qml
from pennylane import numpy as np

# Create device
dev = qml.device('default.qubit', wires=2)

# Define quantum circuit
@qml.qnode(dev)
def circuit(params):
    qml.RX(params[0], wires=0)
    qml.RY(params[1], wires=1)
    qml.CNOT(wires=[0, 1])
    return qml.expval(qml.PauliZ(0))

# Optimize parameters
opt = qml.GradientDescentOptimizer(stepsize=0.1)
params = np.array([0.1, 0.2], requires_grad=True)

Details

Repository
github.com/davila7/claude-code-templates
Categories
Data Science & Analytics, Research & Academic
First seen
Jun 3, 2026

Questions

What does the pennylane skill do?

The pennylane skill gives the agent help with the PennyLane Python library for quantum computing, quantum machine learning and quantum chemistry. It covers building and training quantum circuits with automatic differentiation, and running them across simulators and quantum hardware such as IBM, Amazon Braket, Google, Rigetti and IonQ.

How do I install the pennylane skill?

Run npx -y skills add davila7/claude-code-templates --skill pennylane -y in a project to install it. After that, the pennylane skill lets the agent build variational circuits, hybrid quantum-classical models and VQE chemistry workflows.

Which quantum hardware can pennylane target?

The pennylane skill points the agent to device plugins for IBM Quantum, Amazon Braket, Google Cirq, Rigetti Forest and IonQ. Its guidance also says to test circuits on the default.qubit simulator before running them on hardware.

Which tasks is the pennylane skill for?

The pennylane skill is for work on quantum circuits, variational algorithms such as VQE and QAOA, quantum neural networks and molecular simulations. It also fits gradient-based optimization of quantum models that integrate with PyTorch, JAX or TensorFlow.

More from davila7/claude-code-templates

All 398

Similar to Pennylane

More Data Science & Analytics