Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

RuntimeOptions

class RuntimeOptions(backend_name=None, image=None, log_level=None)

GitHub

Bases: object

Class for representing runtime execution options.

Parameters

  • backend_name (Optional[str]) – target backend to run on. This is required.
  • image (Optional[str]) – the runtime image used to execute the program, specified in the form of image_name:tag. Not all accounts are authorized to select a different image.
  • log_level (Optional[str]) – logging level to set in the execution environment. The valid log levels are: DEBUG, INFO, WARNING, ERROR, and CRITICAL. The default level is WARNING.

Methods

validate

RuntimeOptions.validate()

Validate options.

Raises

IBMQInputValueError – If one or more option is invalid.

Return type

None


Attributes

backend_name

Type: str

Default value: None

image

Type: Optional[str]

Default value: None

log_level

Type: Optional[str]

Default value: None

Was this page helpful?
Report a bug or request content on GitHub.