DAGCircuit.twoQ_gates

DAGCircuit.twoQ_gates()[source]

Get list of 2-qubit gates. Ignore snapshot, barriers, and the like.