§
    º³Ùgß  ã                   ó2   — d Z ddlmZ  G d„ de¦  «        ZdS )z&Count the operations in a DAG circuit.é    )ÚAnalysisPassc                   ó.   ‡ — e Zd ZdZddœˆ fd„
Zd„ Zˆ xZS )ÚCountOpsztCount the operations in a DAG circuit.

    The result is saved in ``property_set['count_ops']`` as an integer.
    T©Úrecursec                óV   •— t          ¦   «                              ¦   «          || _        d S )N)ÚsuperÚ__init__r   )Úselfr   Ú	__class__s     €úa/granary/edev/quantum/lib/python3.11/site-packages/qiskit/transpiler/passes/analysis/count_ops.pyr
   zCountOps.__init__   s$   ø€ Ý‰Œ×ÒÑÔÐØˆŒˆˆó    c                 óL   — |                      | j        ¬¦  «        | j        d<   dS )zRun the CountOps pass on `dag`.r   Ú	count_opsN)r   r   Úproperty_set)r   Údags     r   ÚrunzCountOps.run   s%   € à),¯ª¸t¼|¨Ñ)LÔ)LˆÔ˜+Ñ&Ð&Ð&r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
   r   Ú__classcell__)r   s   @r   r   r      sg   ø€ € € € € ðð ð
 #'ð ð ð ð ð ð ð ðMð Mð Mð Mð Mð Mð Mr   r   N)r   Úqiskit.transpiler.basepassesr   r   © r   r   ú<module>r      s]   ðð -Ð ,à 5Ð 5Ð 5Ð 5Ð 5Ð 5ðMð Mð Mð Mð Mˆ|ñ Mô Mð Mð Mð Mr   