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.cancel_jobs

ExperimentData.cancel_jobs(ids=None)[source]

Cancel any running jobs.

Parameters:

ids (Union[str, List[str], None]) – Job(s) to cancel. If None all non-finished jobs will be cancelled.

Return type:

bool

Returns:

True if the specified jobs were successfully cancelled otherwise false.