cirq.DropNegligible

class cirq.DropNegligible(tolerance: float = 1e-08)[source]

An optimization pass that removes operations with tiny effects.

__init__(tolerance: float = 1e-08) → None[source]

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

Methods

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