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.

BaseJob

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

Required interface definition of a job class as needed for experiment data

Methods

cancel()[source]

Cancel the job

job_id()[source]

Return the ID string for the job

Return type:

str

result()[source]

Return the job result data

Return type:

Result | PrimitiveResult

status()[source]

Return the status of the job

Return type:

JobStatus | str