Vqc Trainer
Developmentvqc-trainerVqc Trainer 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.
Variational quantum classifier training skill with gradient optimization
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/vqc-trainer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/vqc-trainer, 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.
VQC Trainer
Purpose
Provides expert guidance on training variational quantum classifiers, including data encoding, circuit design, and gradient-based optimization.
Capabilities
- Data encoding circuit design
- Variational layer construction
- Gradient-based optimization (SPSA, Adam)
- Cross-validation for QML
- Hyperparameter tuning
- Overfitting detection
- Learning curve analysis
- Ensemble methods
Usage Guidelines
- Data Preparation: Preprocess classical data for quantum encoding
- Encoding Design: Select appropriate data encoding strategy
- Ansatz Design: Build variational circuit with trainable parameters
- Training Setup: Configure optimizer, learning rate, and batch size
- Evaluation: Assess model on test set with proper metrics
Tools/Libraries
- Qiskit Machine Learning
- PennyLane
- TensorFlow Quantum
- PyTorch
- scikit-learn