Babysitter qubit-mapper
Qubit mapping and routing skill for hardware topology optimization
install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/specializations/domains/science/quantum-computing/skills/qubit-mapper" ~/.claude/skills/a5c-ai-babysitter-qubit-mapper && rm -rf "$T"
manifest:
library/specializations/domains/science/quantum-computing/skills/qubit-mapper/SKILL.mdsource content
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
- Topology Analysis: Understand target hardware connectivity graph
- Initial Placement: Use heuristics for initial logical-physical mapping
- Routing: Insert SWAPs to enable non-native interactions
- Optimization: Minimize SWAP count and circuit depth
- Noise Consideration: Prefer high-fidelity qubits and links
Tools/Libraries
- Qiskit
- pytket (t|ket>)
- Cirq
- BQSKit
- NetworkX