Installable skillMIT

Circuit Optimizer

Quantum circuit optimization skill for gate reduction, depth minimization, and hardware-aware compilation

BY a5c-aiUPDATED Oct 30, 2026
INTENDED FOR✳Claude Code>_Codex◈OpenClaw↗CursorInstall in a listed agent.

instructions.md

---
name: circuit-optimizer-28825fd1f189
description: Quantum circuit optimization skill for gate reduction, depth minimization, and hardware-aware compilation
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep
metadata:
  specialization: quantum-computing
  domain: science
  category: circuit-design
  phase: 6
graph:
  domains: [domain:quantum-computing]
  specializations: [specialization:quantum-computing]
  skillAreas: [skill-area:compiler-implementation, skill-area:graph-algorithms, skill-area:mathematical-reasoning]
  workflows: [workflow:experiment-design]
  roles: [role:research-engineer, role:computational-scientist]
---

# 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

1. **Analysis**: Profile circuit for optimization opportunities (gate counts, depth, connectivity)
2. **Gate Reduction**: Apply cancellation and merging rules for equivalent gates
3. **Depth Optimization**: Parallelize independent operations where topology allows
4. **Hardware Mapping**: Route circuits to respect hardware connectivity constraints
5. **Verification**: Validate circuit equivalence after optimization

## Tools/Libraries

- Qiskit transpiler
- pytket (t|ket>)
- PyZX
- Cirq optimizers
- BQSKit
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.