§
    ¹³Ùg 
  ã                   óv   — d Z ddlmZ ddlmZ  G d„ de¦  «        Z G d„ de¦  «        Z G d„ d	e¦  «        Zd
S )z4Module providing definitions of common Qobj classes.é    )ÚSimpleNamespace)Údeprecate_funcc                   ób   — e Zd ZdZ eddd¬¦  «        d„ ¦   «         Zd„ Zed„ ¦   «         Zd	„ Z	d
S )ÚQobjDictFieldz³A class used to represent a dictionary field in Qobj

    Exists as a backwards compatibility shim around a dictionary for Qobjs
    previously constructed using marshmallow.
    z1.2zin the 2.0 releasezÿThe `Qobj` class and related functionality are part of the deprecated `BackendV1` workflow,  and no longer necessary for `BackendV2`. If a user workflow requires `Qobj` it likely relies on deprecated functionality and should be updated to use `BackendV2`.)ÚsinceÚremoval_timelineÚadditional_msgc                 ó:   — | j                              |¦  «         dS )z³Instantiate a new Qobj dict field object.

        Args:
            kwargs: arbitrary keyword arguments that can be accessed as
                attributes of the object.
        N)Ú__dict__Úupdate)ÚselfÚkwargss     úH/granary/edev/quantum/lib/python3.11/site-packages/qiskit/qobj/common.pyÚ__init__zQobjDictField.__init__   s    € ð 	Œ×Ò˜VÑ$Ô$Ð$Ð$Ð$ó    c                 ó   — | j         S )z•Return a dictionary format representation of the OpenQASM 2 Qobj.

        Returns:
            dict: The dictionary form of the QobjHeader.
        )r   )r   s    r   Úto_dictzQobjDictField.to_dict+   s   € ð Œ}Ðr   c                 ó   —  | di |¤ŽS )a=  Create a new QobjHeader object from a dictionary.

        Args:
            data (dict): A dictionary representing the QobjHeader to create. It
                will be in the same format as output by :func:`to_dict`.

        Returns:
            QobjDictFieldr: The QobjDictField from the input dictionary.
        © r   )ÚclsÚdatas     r   Ú	from_dictzQobjDictField.from_dict3   s   € ð ˆsˆ{ˆ{�Tˆ{ˆ{Ðr   c                 óT   — t          || j        ¦  «        r| j        |j        k    rdS dS )NTF)Ú
isinstanceÚ	__class__r   )r   Úothers     r   Ú__eq__zQobjDictField.__eq__A   s/   € Ý�e˜Tœ^Ñ,Ô,ð 	ØŒ} ¤Ò.Ð.Ø�tØˆur   N)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Úclassmethodr   r   r   r   r   r   r      s‘   € € € € € ðð ð €^ØØ-ð0ðñ ô ð%ð %ñô ð%ðð ð ð ðð ñ „[ððð ð ð ð r   r   c                   ó   — e Zd ZdZdS )Ú
QobjHeaderz>A class used to represent a dictionary header in Qobj objects.N©r   r   r    r!   r   r   r   r$   r$   H   s   € € € € € ØHÐHà€Dr   r$   c                   ó   — e Zd ZdZdS )ÚQobjExperimentHeaderz?A class representing a header dictionary for a Qobj Experiment.Nr%   r   r   r   r'   r'   N   s   € € € € € ØIÐIà€Dr   r'   N)r!   Útypesr   Úqiskit.utilsr   r   r$   r'   r   r   r   ú<module>r*      sº   ðð ;Ð :Ø !Ð !Ð !Ð !Ð !Ð !à 'Ð 'Ð 'Ð 'Ð 'Ð 'ð2ð 2ð 2ð 2ð 2�Oñ 2ô 2ð 2ðj	ð 	ð 	ð 	ð 	�ñ 	ô 	ð 	ð	ð 	ð 	ð 	ð 	˜:ñ 	ô 	ð 	ð 	ð 	r   