-
Notifications
You must be signed in to change notification settings - Fork 58
Error with standalone opens in Q# notebooks #15
Comments
I, too am having problems opening one Microsoft.Quantum namespace per code cell as mentioned in
Any help would be appreciated. Thanks |
I agree, it would be extremely helpful to be able to open namespaces once in the beginning of the notebook and never return to this again, like we do in projects. In the notebook katas it is particularly painful - it is very hard for the learner to figure out that they need to open namespace in each cell, especially since the reference solutions in the project don't have this need. |
Wanted to bump this again, I really want using Q# in Jupyter to be a good platform for teaching. I am working on lots of notebooks with library use and it is super annoying to have to open the namespaces for each in every cell. If students have any experience with notebooks, its likely in Python where you can just have one cell with imports at the beginning. Not using this same model introduces a lot of confusion. |
I am super stoked about Q# notebooks, thanks for doing this! 😍
I was just trying out some of the snippets from the Intro To IQSharp notebook and found something I think might be a bug. If you use any
open
statement in a cell by itself, it returns the following error message:The given key was not present in the dictionary.
. It seems to work fine if other operations are in the cell with it, even if they do not use anything from theopen
. I have included a screencap as well as code snippets and the %version from the notebook.Thanks!
Sarah
The text was updated successfully, but these errors were encountered: