cirq.Circuit.clear_operations_touching¶
-
Circuit.clear_operations_touching(qubits: Iterable[cirq.ops.raw_types.QubitId], moment_indices: Iterable[int])[source]¶ Clears operations that are touching given qubits at given moments.
Parameters: - qubits – The qubits to check for operations on.
- moment_indices – The indices of moments to check for operations within.