About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
EnvironmentOptions
class EnvironmentOptions(*args, **kwargs)
Options related to the execution environment. This applies to both V1 and V2 primitives.
Parameters
-
log_level – logging level to set in the execution environment. The valid log levels are:
DEBUG
,INFO
,WARNING
,ERROR
, andCRITICAL
. Default:WARNING
. -
callback –
Callback function to be invoked for any interim results and final result. The callback function will receive 2 positional parameters:
- Job ID
- Job result.
Default:
None
. -
job_tags – Tags to be assigned to the job. The tags can subsequently be used as a filter in the
qiskit_ibm_runtime.qiskit_runtime_service.jobs()
function call. Default:None
.
Attributes
callback
Type: Callable | None
Default value: None
job_tags
Type: List | None
Default value: None
log_level
Type: Literal['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']
Default value: 'WARNING'
Methods
Was this page helpful?
Report a bug or request content on GitHub.