IbmRunOptions
class fireopal.run_options.IbmRunOptions(session_id=None, job_tags=None)Options for configuring circuit execution on IBM Quantum devices through Fire Opal.
Use this dataclass to specify IBM-specific execution options when submitting quantum circuits via Fire Opal.
Parameters
- session_id (str or None , optional) – The ID of an existing IBM Runtime session to use for circuit execution.
When provided, the submitted jobs will run within the specified session,
enabling grouped execution and resource sharing across multiple calls.
Defaults to None, in which case Fire Opal will create a new session
for iterative workloads, such as
solve_qaoa()oriterate(). - job_tags (list of str or None , optional) – A list of tags to append to the jobs submitted to IBM Quantum. Tags are useful for filtering and identifying jobs in the IBM Quantum dashboard. Defaults to None, meaning no additional tags are applied.
Examples
Execute circuits within an existing IBM Runtime session with custom tags:
>>> options = IbmRunOptions(
... session_id="<your_session_id>",
... job_tags=["experiment-1", "calibration"],
... )Use default options (no session, no tags):
>>> options = IbmRunOptions()Methods
Attributes
| job_tags | |
| session_id |