CmdID

CmdID / Commands

az-quantum

Manage Azure Quantum workspaces and submit quantum jobs to providers (preview, requires quantum extension). tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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 reference

List all Azure Quantum workspaces

az quantum workspace listIdentify

Set 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 reference

Submit 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 reference

List 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 reference

Get 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 reference

List available provider offerings in a location

az quantum offerings list --location LocationIdentify
--locationLocation. Azure CLI reference

Set 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