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.
ExperimentData.job_status¶
- ExperimentData.job_status()[source]¶
Return the experiment job execution status.
Possible return values for
qiskit.providers.jobstatus.JobStatus
areERROR
- if any job incurred an errorCANCELLED
- if any job is cancelled.RUNNING
- if any job is still running.QUEUED
- if any job is queued.VALIDATING
- if any job is being validated.INITIALIZING
- if any job is being initialized.DONE
- if all jobs are finished.
Note
If an experiment has status
ERROR
orCANCELLED
there may still be pending or running jobs. In these cases it may be beneficial to callcancel_jobs()
to terminate these remaining jobs.- Return type:
- Returns:
The job execution status.