§
    ¹³Ùg�	  ã                   ó2   — d Z ddlmZ  G d„ de¦  «        ZdS )z0Models for RunConfig and its related components.é    )ÚSimpleNamespacec                   ó>   — e Zd ZdZ	 	 	 	 dd„Zed„ ¦   «         Zd„ ZdS )Ú	RunConfiga9  Class for Run Configuration.

    Attributes:
        shots (int): the number of shots
        seed_simulator (int): the seed to use in the simulator
        memory (bool): whether to request memory from backend (per-shot
            readouts)
        parameter_binds (list[dict]): List of parameter bindings
    Nc                 ó‚   — |�|| _         |�|| _        |�|| _        |�|| _        | j                             |¦  «         dS )av  Initialize a RunConfig object

        Args:
            shots (int): the number of shots
            seed_simulator (int): the seed to use in the simulator
            memory (bool): whether to request memory from backend
                (per-shot readouts)
            parameter_binds (list[dict]): List of parameter bindings
            **kwargs: optional fields
        N)ÚshotsÚseed_simulatorÚmemoryÚparameter_bindsÚ__dict__Úupdate)Úselfr   r   r	   r
   Úkwargss         úQ/granary/edev/quantum/lib/python3.11/site-packages/qiskit/assembler/run_config.pyÚ__init__zRunConfig.__init__   sV   € ð$ ÐØˆDŒJØÐ%Ø"0ˆDÔØÐØ ˆDŒKØÐ&Ø#2ˆDÔ ØŒ×Ò˜VÑ$Ô$Ð$Ð$Ð$ó    c                 ó   —  | di |¤ŽS )aT  Create a new RunConfig object from a dictionary.

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

        Returns:
            RunConfig: The RunConfig from the input dictionary.
        © r   )ÚclsÚdatas     r   Ú	from_dictzRunConfig.from_dict9   s   € ð ˆsˆ{ˆ{�Tˆ{ˆ{Ðr   c                 ó   — | j         S )z�Return a dictionary format representation of the RunConfig

        Returns:
            dict: The dictionary form of the RunConfig.
        )r   )r   s    r   Úto_dictzRunConfig.to_dictG   s   € ð Œ}Ðr   )NNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úclassmethodr   r   r   r   r   r   r      sj   € € € € € ðð ð ØØØð%ð %ð %ð %ð8 ðð ñ „[ððð ð ð ð r   r   N)r   Útypesr   r   r   r   r   ú<module>r      sS   ðð 7Ð 6à !Ð !Ð !Ð !Ð !Ð !ð;ð ;ð ;ð ;ð ;�ñ ;ô ;ð ;ð ;ð ;r   