cirq.PointOptimizer

class cirq.PointOptimizer[source]

Makes circuit improvements focused on a specific location.

__init__()

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

Methods

optimization_at(circuit, index, op) Describes how to change operations near the given location.
optimize_circuit(circuit) Rewrites the given circuit to make it better.