
    z	iE                     6    S r SSKJr  SSKJr   " S S\5      rg)z+Check if the DAG has reached a fixed point.    )deepcopy)AnalysisPassc                       \ rS rSrSrS rSrg)DAGFixedPoint   zCheck if the DAG has reached a fixed point.

A dummy analysis pass that checks if the DAG a fixed point (the DAG is not
modified anymore). The result is saved in
``property_set['dag_fixed_point']`` as a boolean.
c                     U R                   S   c  SU R                   S'   O U R                   S   U:H  nX R                   S'   [        U5      U R                   S'   g)z$Run the DAGFixedPoint pass on `dag`._dag_fixed_point_previous_dagNFdag_fixed_point)property_setr   )selfdagfixed_point_reacheds      h/home/james-whalen/.local/lib/python3.13/site-packages/qiskit/transpiler/passes/utils/dag_fixed_point.pyrunDAGFixedPoint.run   sa    <=E38D/0"&"3"34S"TX["[3F/0=Ec]9:     N)__name__
__module____qualname____firstlineno____doc__r   __static_attributes__r   r   r   r   r      s    Kr   r   N)r   copyr   qiskit.transpiler.basepassesr   r   r   r   r   <module>r      s    2  5KL Kr   