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

ExperimentData.cancel()[source]

Attempt to cancel any running jobs and queued analysis callbacks.

Note

A running analysis callback cannot be cancelled.

Return type:

bool

Returns:

True if all jobs and analysis are successfully cancelled, otherwise false.