PauliFeatureMap.count_ops

PauliFeatureMap.count_ops()

Count each operation kind in the circuit.

Returns

a breakdown of how many operations of each kind, sorted by amount.

Return type

OrderedDict