Microsoft Updates Quantum SDK to .NET 6, VS 2022 — Visual Studio Magazine


Microsoft updates Quantum SDK to .NET 6, VS 2022

Microsoft has updated its Quantum Development Kit (QDK) to support .NET 6 instead of .NET Core 3.1 and Visual Studio 2022 instead of VS 2019.

“This change will allow for a smoother onboarding experience for new users, allow us to offer an extension for Visual Studio 2022, and allow our contributors to take advantage of new features available in C# 10,” said Microsoft’s Ricardo Espinoza. in a June 8 blog post.

The QDK was still using .NET Core 3.1 because the development team chose to align with .NET Long Term Support (LTS) releases, which are supported for three years after initial release instead of releases current, which are supported for 18 months.

“The last time we updated the Quantum SDK to a new .NET version was in January 2020, when we adopted the just-released .NET Core 3.1,” said software engineer Espinoza. senior. “Since then, we have made the decision to stay in the LTS version and not migrate to the current versions, which have a shorter support period. This provides stability and avoids possible disruptions when migrating from one version to another all at the same time. It ensures that the QDK runs on a fully supported .NET version.”

Extending the Microsoft Quantum SDK
[Click on image for larger view.] Extending the Microsoft Quantum SDK (source: Microsoft).

At the same time, the team decided to support VS 2022, which arrived with .NET 6 last November. This required a new Visual Studio extension in the IDE market. Now, the new Microsoft Quantum Development Kit extension for “developing quantum algorithms in the Q# programming language” has 602 installs. “The Quantum Development Kit contains the tools you’ll need to create your own quantum computing programs and experiments,” its market entry says. “Assuming some experience with Visual Studio, beginners can write their first quantum program, and experienced researchers can quickly and efficiently develop new quantum algorithms.”

For those who don’t want to update to VS 2022, the old QDK VS 2019 extension which is no longer updated is still available, showing over 80,000 installs and gaining an average of 3.6 (scale 1-5 ) of 52 developers who reviewed this.

The announcement message details how to migrate existing projects.

“If you have an older project that references a previous version of the QDK, you can continue to use it as is with Visual Studio Code and Visual Studio 2019 extensions; however, you can also manually update these Q# projects to a newer version. Quantum SDK to take advantage of new features or if you’ve migrated to Visual Studio 2022,” Espinoza said.

About the Author

David Ramel is an editor and writer for Converge360.

Comments are closed.