OpenParable
Skip to content
← Back to skills

Tket Compiler

Development
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

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

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