%azure.status

Summary

Displays status for a job in the current Azure Quantum workspace.

Description

This magic command allows for displaying status for a job in the current Azure Quantum workspace.

The Azure Quantum workspace must have been previously initialized using the %azure.connect magic command.

Optional parameters

  • The job ID for which to display status. If not specified, the job ID from the most recent call to %azure.submit or %azure.execute will be used.

Possible errors

  • NotConnected: Not connected to any Azure Quantum workspace.
  • JobNotFound: No job with the given ID was found in the current Azure Quantum workspace.

Examples for %azure.status

Example 1

Get the status of a specific job:

In []: %azure.status JOB_ID
Out[]: <detailed status of specified job>

Example 2

Get the status of the most recently submitted job:

In []: %azure.status
Out[]: <detailed status of most recently submitted job>