cirq.add_dynamical_decoupling

Adds dynamical decoupling gate operations to a given circuit.

This transformer might add new moments thus change structure of the original circuit.

circuit Input circuit to transform.
context cirq.TransformerContext storing common configurable options for transformers.
schema Dynamical decoupling schema name or a dynamical decoupling sequence. If a schema is specified, provided dynamical decouping sequence will be used. Otherwise, customized dynamical decoupling sequence will be applied.
single_qubit_gate_moments_only If set True, dynamical decoupling operation will only be added in single-qubit gate moments.

A copy of the input circuit with dynamical decoupling operations.