microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
samples/python_interop/eval_single_file/README.md
7lines · modecode
| 1 | # An example of loading and running code from a Q# file |
| 2 | |
| 3 | This example shows how the `qsharp` Python package can load and execute a file containing |
| 4 | Q# code. |
| 5 | |
| 6 | Most other samples show using a `qsharp.init` call to load a Q# project, or using Q# cells |
| 7 | in Jupyter Notebooks. This example simply reads a Q# file from disk and evaluates it. |
| 8 | |