Update the Azure Quantum Development Kit (Modern QDK) to the latest version

Learn how to update the Modern QDK to the latest version.


  • This article assumes that you already have the Modern QDK installed. If you are installing for the first time, then please refer to the installation guide.

  • If you are working with programs that require the Microsoft Quantum Development Kit (Classic QDK), such as hybrid integrated computing, see Continue working with the Classic QDK.

Update the Visual Studio Code extension

By default, Visual Studio Code updates extensions automatically. After any updates, you will be prompted to reload VS Code. If you prefer to disable auto-updates and update extensions manually, see Extension auto-update in the VS Code documentation.

Update the Azure Quantum Python packages

  1. Update to the latest qsharp and azure-quantum Python packages by using the package installer for Python (pip).

    pip install --upgrade qsharp>=1.0
    pip install --upgrade azure-quantum

Update the Azure CLI quantum extension

  1. Update or install the latest Azure CLI quantum extension.

    az extension add --upgrade --name quantum