|View source on GitHub|
Defines the API for circuit transformers in Cirq.
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.
transformer(...): Decorator to verify API and append logging functionality to transformer functions & classes.