Pennylane Hybrid Executor
Developmentpennylane-hybrid-executorPennylane 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
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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
- QNode Definition: Create differentiable quantum functions with device specification
- Gradient Computation: Select appropriate differentiation method for the use case
- Framework Integration: Seamlessly combine with PyTorch, TensorFlow, or JAX models
- Optimization: Use classical optimizers to train variational circuits
- Device Switching: Test on simulators before deploying to hardware
Tools/Libraries
- PennyLane
- PennyLane-Lightning
- PennyLane-Qiskit
- PennyLane-Cirq
- PennyLane-SF (Strawberry Fields)