cirq.OptimizationPass

class cirq.OptimizationPass[source]

Rewrites a circuit’s operations in place to make them better.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

optimize_circuit(circuit) Rewrites the given circuit to make it better.