Width¶
- class Width(*args, **kwargs)[source]¶
Calculate the width of a DAG circuit.
The result is saved in
property_set['width']
as an integer that contains the number of qubits + the number of clbits.Attributes
Check if the pass is an analysis pass.
Check if the pass is a transformation pass.
Methods
Return the name of the pass.
Width.run
(dag)Run the Width pass on dag.