def METHOD_NAME(
    circuit: circuit.Circuit,
    can_reorder: Callable[['cirq.Operation', 'cirq.Operation'], bool] = _disjoint_qubits,
) -> 'CircuitDag':
    return CircuitDag.from_ops(circuit.all_operations(), can_reorder=can_reorder)