ó
    Óz	ií  ã                   ó   • S r SSKJr  S rg)z<Helper function for converting a circuit to a dag dependencyé    )Ú_DAGDependencyV2c                 ó  • [        5       nU R                  Ul        U R                  Ul        U R                  Ul        UR	                  U R
                  5        UR                  U R                  5        U R                   H  nUR                  U5        M     U R                   H  nUR                  U5        M     U R                   H4  nUR                  UR                  UR
                  UR                  5        M6     U$ )zÙBuild a ``_DAGDependencyV2`` object from a :class:`~.QuantumCircuit`.

Args:
    circuit (QuantumCircuit): the input circuit.

Return:
    _DAGDependencyV2: the DAG representing the input circuit as a dag dependency.
)r   ÚnameÚmetadataÚglobal_phaseÚ
add_qubitsÚqubitsÚ
add_clbitsÚclbitsÚqregsÚadd_qregÚcregsÚadd_cregÚdataÚapply_operation_backÚ	operation)ÚcircuitÚdagdependencyÚregisterÚinstructions       Úg/home/james-whalen/.local/lib/python3.13/site-packages/qiskit/converters/circuit_to_dagdependency_v2.pyÚ_circuit_to_dagdependency_v2r      sÑ   € ô %Ó&€MØ Ÿ™€MÔØ$×-Ñ-€MÔØ!(×!5Ñ!5€MÔà×Ñ˜WŸ^™^Ô,Ø×Ñ˜WŸ^™^Ô,à—M”MˆØ×Ñ˜xÖ(ñ "ð —M”MˆØ×Ñ˜xÖ(ñ "ð —|”|ˆØ×*Ñ*Ø×!Ñ! ;×#5Ñ#5°{×7IÑ7Iö	
ñ $ð
 Ðó    N)Ú__doc__Ú"qiskit.dagcircuit.dagdependency_v2r   r   © r   r   Ú<module>r      s   ðñ Cå ?ór   