OpenParable
Skip to content
← Back to skills

Pennylane Hybrid Executor

Development
pennylane-hybrid-executor

Pennylane Hybrid Executor is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

PennyLane integration skill for hybrid quantum-classical machine learning and variational algorithms

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/quantum-computing/skills/pennylane-hybrid-executor/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/pennylane-hybrid-executor, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

PennyLane Hybrid Executor

Purpose

Provides expert guidance on hybrid quantum-classical workflows using PennyLane, enabling seamless integration of quantum circuits with classical machine learning frameworks.

Capabilities

  • Quantum node (QNode) definition and execution
  • Automatic differentiation for quantum circuits
  • Device-agnostic circuit execution
  • Integration with ML frameworks (PyTorch, TensorFlow, JAX)
  • Variational algorithm optimization
  • Parameter shift rule gradients
  • Shot-based and analytic differentiation
  • Multi-device workflow orchestration

Usage Guidelines

  1. QNode Definition: Create differentiable quantum functions with device specification
  2. Gradient Computation: Select appropriate differentiation method for the use case
  3. Framework Integration: Seamlessly combine with PyTorch, TensorFlow, or JAX models
  4. Optimization: Use classical optimizers to train variational circuits
  5. Device Switching: Test on simulators before deploying to hardware

Tools/Libraries

  • PennyLane
  • PennyLane-Lightning
  • PennyLane-Qiskit
  • PennyLane-Cirq
  • PennyLane-SF (Strawberry Fields)