CountOps¶
- class CountOps(*args, **kwargs)[source]¶
Count the operations in a DAG circuit.
The result is saved in
property_set['count_ops']
as an integer.Attributes
Check if the pass is an analysis pass.
Check if the pass is a transformation pass.
Methods
Return the name of the pass.
CountOps.run
(dag)Run the CountOps pass on dag.