Skip to main content
IBM Quantum Platform
이 페이지는 Qiskit Runtime client의 이전 버전입니다. 최신 버전으로 이동

EnvironmentOptions

class EnvironmentOptions(log_level='WARNING', callback=None, job_tags=None, private=False)

GitHub

Bases: object

Options related to the execution environment.


Attributes

Parameters

  • log_level (Literal['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL'])
  • callback (Callable | None)
  • job_tags (List | None)
  • private (bool | None)

callback

유형: Callable | None

기본값: None

(DEPRECATED) Callback function to be invoked for any interim results and final result. The callback function will receive 2 positional parameters:

  1. Job ID
  2. Job result.

Default: None.

job_tags

유형: List | None

기본값: None

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.

log_level

유형: Literal['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']

기본값: 'WARNING'

logging level to set in the execution environment. The valid log levels are: DEBUG, INFO, WARNING, ERROR, and CRITICAL.

Default: WARNING.

private

유형: bool | None

기본값: False

Boolean that indicates whether the job is marked as private. When set to true, input parameters are not returned, and the results can only be read once. After the job is completed, input parameters are deleted from the service. After the results are read, these are also deleted from the service. When set to false, the input parameters and results follow the standard retention behavior of the API.

Default: False.


Methods

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.