IBMQJob.status

IBMQJob.status()[source]

Query the server for the latest job status.

Note

This method is not designed to be invoked repeatedly in a loop for an extended period of time. Doing so may cause the server to reject your request. Use wait_for_final_state() if you want to wait for the job to finish.

Note

If the job failed, you can use error_message() to get more information.

Return type

JobStatus

Returns

The status of the job.

Raises

IBMQJobApiError – If an unexpected error occurred when communicating with the server.