author | description | ms.author | ms.date | ms.service | ms.subservice | ms.topic | title | uid |
---|---|---|---|---|---|---|---|---|
KittyYeungQ |
This document provides the information about how to install the necessary tools on your computer to submit Q# programs to Azure Quantum from the command line. |
kitty |
02/01/2021 |
azure-quantum |
core |
conceptual |
Prepare your environment to use Azure Quantum |
microsoft.quantum.setup.cli |
Azure Quantum uses the Azure CLI quantum
extension to enable submitting Q# programs from the command line. This guide provides the steps to install and configure the Azure CLI extension on your system for use with Azure Quantum.
Before installing the Azure CLI quantum
extension, ensure that the following packages are installed:
- The Microsoft Quantum Development Kit
- The latest version of Azure CLI (version 2.5.0 or higher)
To install the Azure CLI quantum
extension, open a command prompt, and then run the following command:
az extension add -n quantum
To uninstall the Azure CLI quantum
extension, run the following command:
az extension remove -n quantum
If you need to update an existing installation of the the Azure CLI quantum
extension, you can run:
az extension update -n quantum
Note
If you have previously installed a pre-release version of this extension, or you are not sure about your current installation you can uninstall it and then install it again using the instructions above.
Now that you have installed the tools to use Azure Quantum you can learn to submit jobs.
Learn how to use the Python SDK to solve optimization problems.
Learn how to create Q# applications and run them on Azure Quantum.