Skip to main content
Google Quantum AI
Software Discover
  • What is quantum computing?
  • Educational resources
Our Work
  • Roadmap
  • Quantum Computer
  • Research Publications
  • Open Source Tools
  • Cirq Documentation
About
  • Team
  • Lab
Careers
/
Sign in
  • Cirq
Overview Start Build Simulate Transform Hardware Noise Experiments Contribute Reference
Google Quantum AI
  • Software
    • Overview
    • Start
    • Build
    • Simulate
    • Transform
    • Hardware
    • Noise
    • Experiments
    • Contribute
    • Reference
  • Discover
    • More
  • Our Work
    • More
  • About
    • More
  • Careers
  • Overview
  • Circuit Transformers
  • Custom Transformers
  • Routing as a Transformer
  • What is quantum computing?
  • Educational resources
  • Roadmap
  • Quantum Computer
  • Research Publications
  • Open Source Tools
  • Cirq Documentation
  • Team
  • Lab
  • Google Quantum AI
  • Software
  • 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