# 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

- Skill name: `pennylane-hybrid-executor`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/quantum-computing/skills/pennylane-hybrid-executor/SKILL.md
- Repository: a5c-ai/babysitter (1,548 GitHub stars when collected)

## SKILL.md

# 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)

---

Source: https://www.openparable.com/skill/development/pennylane-hybrid-executor (OpenParable). Cite the canonical URL above.
