OpenParable
Skip to content
← Back to skills

Qubit Mapper

Others
qubit-mapper

Qubit Mapper is an Agent Skill for general use published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Qubit mapping and routing skill for hardware topology optimization

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/qubit-mapper/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/qubit-mapper, 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.

Qubit Mapper

Purpose

Provides expert guidance on mapping logical qubits to physical hardware while respecting connectivity constraints and minimizing SWAP overhead.

Capabilities

  • Initial qubit placement
  • SWAP gate insertion
  • Routing optimization algorithms
  • Topology-aware compilation
  • Noise-aware placement
  • Heavy-hex and grid topology support
  • Dynamic circuit routing
  • Parallel SWAP optimization

Usage Guidelines

  1. Topology Analysis: Understand target hardware connectivity graph
  2. Initial Placement: Use heuristics for initial logical-physical mapping
  3. Routing: Insert SWAPs to enable non-native interactions
  4. Optimization: Minimize SWAP count and circuit depth
  5. Noise Consideration: Prefer high-fidelity qubits and links

Tools/Libraries

  • Qiskit
  • pytket (t|ket>)
  • Cirq
  • BQSKit
  • NetworkX