§
    º³Ùg˜  ã                   ó2   — d Z ddlmZ  G d„ de¦  «        ZdS )ú%Calculate the depth of a DAG circuit.é    )ÚAnalysisPassc                   ó.   ‡ — e Zd ZdZddœˆ fd„
Zd„ Zˆ xZS )ÚDepthr   F©Úrecursec                óV   •— t          ¦   «                              ¦   «          || _        dS )a  
        Args:
            recurse: whether to allow recursion into control flow.  If this is ``False`` (default),
                the pass will throw an error when control flow is present, to avoid returning a
                number with little meaning.
        N)ÚsuperÚ__init__r   )Úselfr   Ú	__class__s     €ú]/granary/edev/quantum/lib/python3.11/site-packages/qiskit/transpiler/passes/analysis/depth.pyr   zDepth.__init__   s&   ø€ õ 	‰Œ×ÒÑÔÐØˆŒˆˆó    c                 óL   — |                      | j        ¬¦  «        | j        d<   dS )zRun the Depth pass on `dag`.r   ÚdepthN)r   r   Úproperty_set)r   Údags     r   Úrunz	Depth.run   s%   € à%(§Y¢Y°t´| YÑ%DÔ%DˆÔ˜'Ñ"Ð"Ð"r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__classcell__)r   s   @r   r   r      sa   ø€ € € € € Ø/Ð/à"'ð ð ð ð ð ð ð ðEð Eð Eð Eð Eð Eð Er   r   N)r   Úqiskit.transpiler.basepassesr   r   © r   r   ú<module>r      s]   ðð ,Ð +à 5Ð 5Ð 5Ð 5Ð 5Ð 5ðEð Eð Eð Eð EˆLñ Eô Eð Eð Eð Er   