Skip to main content
IBM Quantum Platform
Esta página corresponde a una versión anterior de Qiskit Runtime client Ir a la última versión

EnvironmentOptions

class EnvironmentOptions(*args, **kwargs)

GitHub

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, and CRITICAL. Default: WARNING.

  • callback

    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 – 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

Tipo: Callable | None

Valor predeterminado: None

job_tags

Tipo: List | None

Valor predeterminado: None

log_level

Tipo: Literal['DEBUG', 'INFO', 'WARNING', 'ERROR', 'CRITICAL']

Valor predeterminado: 'WARNING'


Methods

¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.