We're celebrating World Quantum Day 2022! Join us

Module: cirq.transformers.transformer_api

Defines the API for circuit transformers in Cirq.

Classes

class LogLevel: Different logging resolution options for cirq.TransformerLogger.

class NoOpTransformerLogger: All calls to this logger are a no-op

class TRANSFORMER: Base class for protocol classes. Protocol classes are defined as::

class TransformerContext: Stores common configurable options for transformers.

class TransformerLogger: Base Class for transformer logging infrastructure. Defaults to text-based logging.

Functions

transformer(...): Decorator to verify API and append logging functionality to transformer functions & classes.