cancelQuantumTask

Cancels the specified task.