qiskit.circuit.QuantumCircuit.count_ops¶
- QuantumCircuit.count_ops()[Quellcode]¶
Count each operation kind in the circuit.
- Rückgabe
a breakdown of how many operations of each kind, sorted by amount.
- Rückgabetyp
OrderedDict
Count each operation kind in the circuit.
a breakdown of how many operations of each kind, sorted by amount.
OrderedDict