microsoft / QuantumKatas

Tutorials and programming exercises for learning Q# and quantum computing
MIT License
4.54k stars 1.22k forks source link

Update Update-QDKVersion script to handle versions imported in Python #486

Closed tcNickolas closed 4 years ago

tcNickolas commented 4 years ago

An example can be found in ExploringQuantumClassificationLibrary notebook; the import string looks like this:

qsharp.packages.add("Microsoft.Quantum.MachineLearning::0.12.20072031")

We should add this to the cases already handled by the Update-QDKVersion.ps1 script.

I don't think we have this string in Python files (yet?), but the script could probably address that case as well, if it looks for qsharp.packages.add followed by "Microsoft.Quantum.<a string>::".

tcNickolas commented 4 years ago

(Putting this issue on hold, since it looks like #468 will make it unnecessary.)