Microsoft Azure Quantum · Arazzo Workflow
Azure Quantum Cancel a Running Job
Version 1.0.0
Look up a job, branch on whether it is still running, cancel it, and confirm cancellation.
View Spec
View on GitHub
QuantumQuantum ComputingAzureMicrosoftQ#QDKResource EstimationIonQQuantinuumPasqalRigettiHybrid QuantumFault ToleranceArazzoWorkflows
Provider
Workflows
cancel-running-job
Cancel a quantum job that is still running and confirm it reaches Cancelled.
Reads the current job status; if the job has already completed (Succeeded, Failed, or Cancelled) the workflow ends without action, otherwise it calls Jobs_Cancel and polls Jobs_Get until the status becomes Cancelled.
1
getJob
Jobs_Get
Read the current job status to decide whether cancellation is needed.
2
cancelJob
Jobs_Cancel
Request cancellation of the still-running job.
3
confirmCancelled
Jobs_Get
Poll the job until it reaches the terminal Cancelled status; repeat while cancellation is still being processed.