Skip to main content
Google Quantum AI
Cirq
  • What is quantum computing?
  • Educational resources
  • Quantum Computer
  • Roadmap
  • Lab
  • Open Source Tools
  • Cirq Documentation
Research Careers
/
Sign in
  • Cirq
Overview Start Build Simulate Transform Hardware Noise Experiments Contribute Reference
Google Quantum AI
  • Cirq
    • Overview
    • Start
    • Build
    • Simulate
    • Transform
    • Hardware
    • Noise
    • Experiments
    • Contribute
    • Reference
  • Learn
    • More
  • Hardware
    • More
  • Software
    • More
  • Research
  • Careers
  • Overview
  • Circuit Transformers
  • Custom Transformers
  • Routing as a Transformer
  • What is quantum computing?
  • Educational resources
  • Quantum Computer
  • Roadmap
  • Lab
  • Open Source Tools
  • Cirq Documentation
  • Google Quantum AI
  • Cirq
  • Transform

Transform a circuit

Programmatically transform one circuit into another one to implement any compilation or optimization process that changes a circuit.

Circuit Transformers

The Transformer class and contract to represent some process that changes a supplied circuit.

Custom Transformers

Write your own Transformer with decorators, primitives and decompositions.

Routing as a Transformer

Qubit Routing utilities for easily executing circuits on hardware.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-04-09 UTC.

  • Connect with us

    • Twitter
    • YouTube
Google Developers
  • About Google
  • Google Products
  • Privacy
  • Terms
  • Terms
  • Privacy
  • Manage cookies