Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 2.11 KB

how-to-prepare-your-environment.md

File metadata and controls

62 lines (41 loc) · 2.11 KB
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

Prepare your environment to use Azure Quantum from the command prompt

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.

Prerequisites

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)

Installation

To install the Azure CLI quantum extension, open a command prompt, and then run the following command:

az extension add -n quantum

Uninstall the extension

To uninstall the Azure CLI quantum extension, run the following command:

az extension remove -n quantum

Update the extension

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.

Next steps

Now that you have installed the tools to use Azure Quantum you can learn to submit jobs.

For optimization users

Learn how to use the Python SDK to solve optimization problems.

For quantum computing users

Learn how to create Q# applications and run them on Azure Quantum.