
    z	i                     *    S r SSKJr   " S S\5      rg)z0Calculate the number of qubits of a DAG circuit.    )AnalysisPassc                       \ rS rSrSrS rSrg)	NumQubits   zwCalculate the number of qubits of a DAG circuit.

The result is saved in ``property_set['num_qubits']`` as an integer.
c                 >    UR                  5       U R                  S'   g)z Run the NumQubits pass on `dag`.
num_qubitsN)r   property_set)selfdags     f/home/james-whalen/.local/lib/python3.13/site-packages/qiskit/transpiler/passes/analysis/num_qubits.pyrunNumQubits.run   s    *-..*:,'     N)__name__
__module____qualname____firstlineno____doc__r   __static_attributes__r   r   r   r   r      s    
;r   r   N)r   qiskit.transpiler.basepassesr   r   r   r   r   <module>r      s    7 5; ;r   