Circuit optimizer
Skill a5c-ai/babysitter/library/specializations/domains/science/quantum-computing/skills/circuit-optimizer
Quantum circuit optimization skill for gate reduction, depth minimization, and hardware-aware compilationFrom its SKILL.md
npx -y skills add a5c-ai/babysitter --skill circuit-optimizerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.6 KB, 196 tokens by cl100k_base, as published. Nobody here has run it
Circuit Optimizer
Purpose
Provides expert guidance on quantum circuit optimization techniques for reducing gate count, minimizing depth, and adapting circuits to hardware constraints.
Capabilities
- Circuit depth reduction algorithms
- Gate cancellation and merging
- Peephole optimization
- Template matching optimization
- Commutation analysis
- Hardware topology-aware routing
- Two-qubit gate minimization
- Compilation pass orchestration
Usage Guidelines
- Analysis: Profile circuit for optimization opportunities (gate counts, depth, connectivity)
- Gate Reduction: Apply cancellation and merging rules for equivalent gates
- Depth Optimization: Parallelize independent operations where topology allows
- Hardware Mapping: Route circuits to respect hardware connectivity constraints
- Verification: Validate circuit equivalence after optimization
Tools/Libraries
- Qiskit transpiler
- pytket (t|ket>)
- PyZX
- Cirq optimizers
- BQSKit
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.