Skip to content

Hardware-agnostic PennyLane workflows for variational circuits, hybrid PyTorch or JAX models, and molecular VQE.

CCM score
67 of 100
skills.sh installs
2.2K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers PennyLane 0.45.1 circuit building, gradient checks, optimization loops, and validation for variational and quantum machine learning workflows
  • Includes reference guides for getting started, quantum ML, quantum chemistry, devices and backends, optimization, and advanced features such as noise and Catalyst
  • Enforces finite-shot checks, sign and units conventions, and classical baselines before results are reported as valid
  • Designed for researchers who need device portability across providers, with qiskit or cirq for hardware-specific compilation and qutip for open-system dynamics

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill pennylane -y

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

Files

PennyLane

When to use

Use PennyLane to optimize parameterized circuits, build hybrid quantum-classical models, estimate molecular energies, or compare a validated circuit across devices. This skill targets stable PennyLane 0.45.1. The local examples use small synthetic systems; successful optimization does not establish quantum advantage, molecular accuracy, or hardware fidelity.

Installation

Create a dedicated environment; provider plugins and compiler dependencies should be resolved separately from unrelated scientific packages:

uv venv --python 3.13 .venv-pennylane
uv pip install --python .venv-pennylane/bin/python "pennylane==0.45.1"

PennyLane 0.45 requires NumPy 2+. Core installation includes Lightning. For ML, use the tested JAX 0.7.1/JAXlib 0.7.1 pair or PyTorch; do not assume the latest JAX is supported by this PennyLane release. See device setup for optional plugin versions and their verification limits.

Workflow

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Research & Academic, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the pennylane skill help an agent do?

The pennylane skill guides an agent to build and differentiate PennyLane quantum circuits and hybrid PyTorch or JAX models. It covers variational algorithms such as VQE and QAOA, quantum machine learning, and moving validated circuits to provider plugins. It targets stable PennyLane 0.45.1 and requires Python 3.11 or newer.

How do I install the pennylane skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill pennylane -y in a project to install it. Once installed, the agent can build and optimize parameterized circuits and check gradients against analytic results.

Which skills lead the Research & Academic category, and where does pennylane stand?

Pennylane is listed in the Research & Academic category alongside research, paper-context-resolver, repo-intake-and-plan, minimal-run-and-audit and env-and-assets-bootstrap. It sets itself apart by focusing on hardware-agnostic quantum machine learning with automatic differentiation across IBM, Google, Rigetti and IonQ devices.

Does the pennylane skill need credentials or hardware access?

Local simulation needs no credentials, so the skill can run small circuits on default.qubit without an account. Running on real hardware requires provider credentials and network access.

When should I use qiskit or cirq instead of pennylane?

The skill points to qiskit for IBM-specific or cirq for Google-specific hardware optimizations. It points to qutip for open quantum system dynamics. Pennylane is the better fit for training circuits via gradients and building hybrid models.

More from k-dense-ai/scientific-agent-skills

All 132

Similar to Pennylane

More Research & Academic