ó
    ’Òi<  ã                   ó¼   • S r SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SSKJr  SSKJr  SS	KJr  SS
KJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  g)aM  
=====================================================
Primitive options (:mod:`qiskit_ibm_runtime.options`)
=====================================================

.. currentmodule:: qiskit_ibm_runtime.options

Options that can be passed to the Qiskit Runtime primitives.

V2 Primitives
=============

``SamplerV2`` and ``EstimatorV2`` each have their own options. You can use the
``options`` attribute to set the options. For example::

   from qiskit_ibm_runtime import QiskitRuntimeService, EstimatorV2

   service = QiskitRuntimeService()
   backend = service.least_busy(operational=True, simulator=False)
   estimator = EstimatorV2(mode=backend)
   estimator.options.resilience_level = 1

You can also use the ``update()`` method to do bulk update. For example::

   from qiskit_ibm_runtime import QiskitRuntimeService, EstimatorV2

   service = QiskitRuntimeService()
   backend = service.least_busy(operational=True, simulator=False)
   estimator = EstimatorV2(mode=backend)
   estimator.options.update(resilience_level=1)

Refer to :class:`SamplerOptions` and :class:`EstimatorOptions` for V2 Sampler and
V2 Estimator options, respectively.

.. note::
   If an option is not specified, the server default value is used. The
   default values are subject to change. Refer to this current module's documentation
   for the latest defaults.

Classes
=======

Base primitive options
----------------------

.. autosummary::
   :toctree: ../stubs/
   :nosignatures:

   EstimatorOptions
   SamplerOptions


Suboptions
----------

.. autosummary::
   :toctree: ../stubs/
   :nosignatures:

   NoiseLearnerOptions
   DynamicalDecouplingOptions
   ResilienceOptionsV2
   LayerNoiseLearningOptions
   MeasureNoiseLearningOptions
   PecOptions
   ZneOptions
   TwirlingOptions
   ExecutionOptionsV2
   SamplerExecutionOptionsV2
   EnvironmentOptions
   SimulatorOptions

é   )ÚEnvironmentOptions)ÚExecutionOptionsV2)ÚNoiseLearnerOptions)Ú	OptionsV2)ÚSimulatorOptions)ÚResilienceOptionsV2)ÚTwirlingOptions)ÚEstimatorOptions)ÚSamplerOptions)ÚDynamicalDecouplingOptions)ÚLayerNoiseLearningOptions)ÚMeasureNoiseLearningOptions)Ú
PecOptions)Ú
ZneOptions)ÚSamplerExecutionOptionsV2N)Ú__doc__Úenvironment_optionsr   Úexecution_optionsr   Únoise_learner_optionsr   Úoptionsr   Úsimulator_optionsr   Úresilience_optionsr   Útwirling_optionsr	   Úestimator_optionsr
   Úsampler_optionsr   Údynamical_decoupling_optionsr   Úlayer_noise_learning_optionsr   Úmeasure_noise_learning_optionsr   Úpec_optionsr   Úzne_optionsr   Úsampler_execution_optionsr   © ó    Ú]/home/james-whalen/.local/lib/python3.13/site-packages/qiskit_ibm_runtime/options/__init__.pyÚ<module>r%      s;   ðñIõV 4Ý 1Ý 6Ý Ý /Ý 3Ý -Ý /Ý +Ý DÝ CÝ GÝ #Ý #Þ @r#   