cirq_rigetti.circuit_transformers.default

THIS FUNCTION IS DEPRECATED.

IT WILL BE REMOVED IN cirq v1.6.

Cirq-Rigetti is deprecated. For more details or to provide feedback see https://github.com/quantumlib/Cirq/issues/7058

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

Args:
    circuit: The <a href="https://quantumai.google/reference/python/cirq/Circuit"><code>cirq.Circuit</code></a> the transformer will transform into a `pyquil.Program`.

Returns:
    The `pyquil.Program` and a map of the <a href="https://quantumai.google/reference/python/cirq/Circuit"><code>cirq.Circuit</code></a>'s memory region keys to
    the `pyquil.Program`'s memory regions.