Is it at all possible to set/get a variable in python from q, when running in a q function, meaning the data has no global q scope? Perhaps using e0 inside p.k? This would be the identical of using ...
The same is true for Q# callables defined in Jupyter notebook using the %%qsharp cell magic: These callables can then be invoked as normal Python functions, which will run them in the Q# simulator ...