Skip to content

Commit

Permalink
Update project file
Browse files Browse the repository at this point in the history
  • Loading branch information
chemix-lunacy committed Oct 1, 2024
1 parent 00a899b commit 7d7f76c
Show file tree
Hide file tree
Showing 5 changed files with 810 additions and 29 deletions.
9 changes: 3 additions & 6 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
## Examples

**Running examples without building Rasqal:** Install [poetry](https://python-poetry.org/) and do `poetry install` in `rasqal/examples` or pip install the dependencies listed in the .toml file.
**Running examples without building Rasqal:** Install [poetry](https://python-poetry.org/) and do `poetry install` in `rasqal/examples` which will set up the venv for you. You can then run `run python examples.py` to just run the script or use your favourite IDE to debug.

If you've already built Rasqal via its build script its venv will have all the dependencies necessary so re-use that.

Note: all our examples are built using the old Q# compiler as Rasqal can exploit its fully interwoven classical LLVM instructions.

**Examples.py** holds runnable examples


runnable examples of many of Rasqals internal test projects showing how you set up and run things, including backend and argument definition. Shows the Q# that the QIR was generated from for each example, along with tertiary information.
Source for most examples can be found in `src/tests/qsharp` and can be modified from there and re-built.
**Examples.py** holds runnable examples of Rasqal including returned value, arguments, and custom backends.
Source for most examples can be found in `src/tests/qsharp`.

**Sandbox.py** runs the sandbox Q# project in `qsharp/src`. This uses the new Q# compiler so instruction set is limited.
Loading

0 comments on commit 7d7f76c

Please sign in to comment.