cirq.Moment.operates_on

Moment.operates_on(qubits: Iterable[cirq.ops.raw_types.QubitId]) → bool[source]

Determines if the moment has operations touching the given qubits.

Parameters:qubits – The qubits that may or may not be touched by operations.
Returns:Whether this moment has operations involving the qubits.