# Tket Compiler

> Tket Compiler 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.

Cambridge Quantum (Quantinuum) t|ket> compiler skill for platform-independent circuit optimization

- Skill name: `tket-compiler`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/quantum-computing/skills/tket-compiler/SKILL.md
- Repository: a5c-ai/babysitter (1,548 GitHub stars when collected)

## SKILL.md

# TKET Compiler

## Purpose

Provides expert guidance on platform-independent quantum circuit compilation using t|ket>, enabling optimized deployment across multiple hardware backends.

## Capabilities

- Multi-platform compilation
- Phase gadget optimization
- Clifford simplification
- Routing and placement algorithms
- Noise-aware compilation
- Circuit rewriting strategies
- Predicate-based pass selection
- Backend targeting

## Usage Guidelines

1. **Pass Selection**: Choose compilation passes based on circuit characteristics
2. **Backend Targeting**: Configure compilation for specific hardware architectures
3. **Optimization Strategy**: Balance compilation time with output quality
4. **Noise Awareness**: Incorporate calibration data for noise-aware routing
5. **Verification**: Validate compiled circuits meet backend constraints

## Tools/Libraries

- pytket
- pytket-qiskit
- pytket-cirq
- pytket-braket
- pytket-quantinuum

---

Source: https://www.openparable.com/skill/development/tket-compiler (OpenParable). Cite the canonical URL above.
