Returns true only if the operations have qubits in common.

def _disjoint_qubits(op1: ops.Operation, op2: ops.Operation) -> bool:
    """Returns true only if the operations have qubits in common."""
    return not set(op1.qubits) & set(op2.qubits)