OpenParable
Skip to content
← Back to skills

Ansatz Designer

Development
ansatz-designer

Ansatz Designer 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.

Parameterized quantum circuit (ansatz) design skill for 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/ansatz-designer/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ansatz-designer, 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.

Ansatz Designer

Purpose

Provides expert guidance on designing parameterized quantum circuits (ansatze) for variational quantum algorithms, balancing expressibility with trainability.

Capabilities

  • Hardware-efficient ansatz generation
  • UCCSD ansatz construction
  • ADAPT-VQE ansatz building
  • Expressibility analysis
  • Barren plateau detection
  • Custom ansatz templates
  • Entanglement structure design
  • Layer depth optimization

Usage Guidelines

  1. Problem Analysis: Determine ansatz requirements based on target Hamiltonian
  2. Architecture Selection: Choose between hardware-efficient and problem-inspired ansatze
  3. Expressibility Testing: Evaluate ansatz capacity to represent target states
  4. Trainability Assessment: Check for barren plateau indicators
  5. Hardware Adaptation: Modify ansatz for target hardware connectivity

Tools/Libraries

  • Qiskit Nature
  • PennyLane
  • Cirq
  • TensorFlow Quantum