IBMQJob.cancel¶
- IBMQJob.cancel()[source]¶
Attempt to cancel the job.
Note
Depending on the state the job is in, it might be impossible to cancel the job.
- Return type
bool
- Returns
True
if the job is cancelled, elseFalse
.- Raises
IBMQJobApiError – If an unexpected error occurred when communicating with the server.