Module: cirq_rigetti.circuit_transformers

A collection of CircuitTransformer s that the client may pass to RigettiQCSService or RigettiQCSSampler as transformer.

Classes

class CircuitTransformer: A type definition for cirq.Circuit to pyquil.Program transformer functions.

Functions

build(...): This builds a CircuitTransformer that the client may use over multiple sweeps of cirq.Sweepable.

default(...): The default CircuitTransformer uses the default behavior of cirq's Quil protocol to transform a cirq.Circuit into a pyquil.Program.