qiskit.dagcircuit.DAGCircuit.count_ops¶ DAGCircuit.count_ops()[source]¶ Count the occurrences of operation names. Returns a dictionary of counts keyed on the operation name.