DAGCircuit.two_qubit_ops

DAGCircuit.two_qubit_ops()[source]

Get list of 2 qubit operations. Ignore directives like snapshot and barrier.