IBMCircuitJob.cancel#
- IBMCircuitJob.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:
IBMJobInvalidStateError – If the job is in a state that cannot be cancelled.
IBMJobError – If unable to cancel job.