Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Adopt .NET6 + VS2022 in Quantum Development Kit#966

Merged
ricardo-espinoza merged 25 commits intomainfrom
ricardoe/dotnet6-to-main
Mar 17, 2022
Merged

Adopt .NET6 + VS2022 in Quantum Development Kit#966
ricardo-espinoza merged 25 commits intomainfrom
ricardoe/dotnet6-to-main

Conversation

@ricardo-espinoza
Copy link
Contributor

With this change, we're migrating the main release train of the QDK to the most recent Long Time Support version of the .NET framework. For details about this change, refer to the original issue Q#C:1224.

As part of this change, we're:

  • Re-targeting all .NetCoreApp3.1 binaries to .NET6.0
  • Updating Docker images, samples and templates.
  • Libraries using .NetStandard2.1 are not affected by this change.
  • The minimum supported .NET version in the QDK will also be updated from 3.1 to 6.0
  • The Visual Studio extension will now target Visual Studio 2022.

Important: This is a multi-repo change, and all changes will need to be merged concurrently.

ricardo-espinoza and others added 24 commits December 17, 2021 20:48
* Target Q# Runtime binaries using .NET6 (#862)

* Disambiguate calls to method JsonSerializer.DeserializeAsync<T>()

* Use cargo-edit instead of dotnet-script to inject versions. (All changes)

* Build 0.21.2112.181770.

* Build 0.21.2112.182074.

Co-authored-by: Christopher Granade <cgranade@cgranade.com>
* Update .NET Azure Quantum SDK version

* Temporarily adjusting broken links

* Update xfield/update-net-sdk (#907)

* Fix capitalization in xref links (#902)

xref links in https://docs.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.diagnostics.assertqubitwithintolerance and https://docs.microsoft.com/en-us/qsharp/api/qsharp/microsoft.quantum.diagnostics.assertqubit don't render as links. I believe docgen doesn't recognize API links if they are given in lowercase, it needs proper capitalization in xref.

Co-authored-by: XField <58103249+vxfield@users.noreply.github.com>

* Update macOS build scripts for libomp dependency (#906)

* Link against checked in libomp.dylib

* Try another explicit link strategy

* Show contents of osx folder

* Try another linker strategy

* go back to old linker pattern

* try other syntax

* Try checked in openmp headers

* try getting more info from otool

* Try adapting libomp rpath on mac

* Ensure libomp lands in drops folder

* Additional copy of libomp

* Add explanatory comments

* Use @loader_path instead of @executable_path

Co-authored-by: Mariia Mykhailova <mamykhai@microsoft.com>
Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>

* Added `libomp` instructions. (#901)

Co-authored-by: Mariia Mykhailova <mamykhai@microsoft.com>
Co-authored-by: Stefan J. Wernli <swernli@microsoft.com>
Co-authored-by: Robin Kuzmin <9372582+kuzminrobin@users.noreply.github.com>
* Runtime support for Quantinuum targets.

* Fix quantum machine factory.
* Fix to known QuantumProcessorTranslationException not being handled correctly (#949)

* Add logging.

* Add more logging.

* Handle TargetInvocationException.

* Update wording for Azure submission errors

* Fix error string in test case

Co-authored-by: César Zaragoza Cortés <cesarzc@microsoft.com>
Copy link
Member

@anpaz anpaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm.

@ricardo-espinoza ricardo-espinoza merged commit 1e387fa into main Mar 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants