az-quantum
Manage Azure Quantum workspaces and submit quantum jobs to providers (preview, requires quantum extension). tldr-pages
On several platforms
Several platforms
Create a new Azure Quantum workspace
az quantum workspace create --resource-group ResourceGroup --location Location --workspace-name Workspace --storage-account MyStorageAccountNameIdentify--resource-groupName of resource group. Azure CLI reference--locationLocation. Azure CLI reference--workspace-nameName of the Quantum Workspace. Azure CLI extensions reference--storage-accountName of the storage account to be used by a quantum workspace. Azure CLI extensions referenceList all Azure Quantum workspaces
az quantum workspace listIdentifySet a default Azure Quantum workspace
az quantum workspace set --resource-group ResourceGroup --workspace-name WorkspaceIdentify--resource-groupName of resource group. Azure CLI reference--workspace-nameName of the Quantum Workspace. Azure CLI extensions referenceSubmit a QIR quantum job to a target
az quantum job submit --resource-group ResourceGroup --workspace-name Workspace --location Location --target-id target_id --job-name Job --job-input-file QirBitcode.bc --job-input-format qir.v1Identify--resource-groupName of resource group. Azure CLI reference--workspace-nameName of the Quantum Workspace. Azure CLI extensions reference--locationLocation. Azure CLI reference--target-idExecution engine for quantum computing jobs. Azure CLI extensions reference--job-nameA friendly name to give to this run of the program. Azure CLI extensions reference--job-input-fileThe location of the input file to submit. Azure CLI extensions reference--job-input-formatThe format of the file to submit. Azure CLI extensions referenceList all jobs in a Quantum Workspace
az quantum job list --resource-group ResourceGroup --location Location --workspace-name WorkspaceIdentify--resource-groupName of resource group. Azure CLI reference--locationLocation. Azure CLI reference--workspace-nameName of the Quantum Workspace. Azure CLI extensions referenceGet the output of a quantum job
az quantum job output --resource-group ResourceGroup --workspace-name Workspace --job-id JobIdentify--resource-groupName of resource group. Azure CLI reference--workspace-nameName of the Quantum Workspace. Azure CLI extensions reference--job-idJob unique identifier in GUID format. Azure CLI extensions referenceList available provider offerings in a location
az quantum offerings list --location LocationIdentify--locationLocation. Azure CLI referenceSet a default target for job submissions
az quantum target set --target-id target_idIdentify--target-idExecution engine for quantum computing jobs. Azure CLI extensions reference