Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

ExtendedJob

class ExtendedJob(*args, **kwargs)[source]

Job interface with methods to support all of experiment data’s features

Methods

backend()[source]

Return the backend associated with a job

Return type:

Backend

cancel()

Cancel the job

error_message()[source]

Returns the reason the job failed

Return type:

str | None

job_id()

Return the ID string for the job

Return type:

str

result()

Return the job result data

Return type:

Result | PrimitiveResult

status()

Return the status of the job

Return type:

JobStatus | str