Advanced Examples¶
Once you have completed the beginners tutorial, you can look at advanced topics.
Building the examples¶
In the given examples you will be developing code involving Tierkreis workers.
Whenever you see an import containing *_worker this means one of the workers will be invoked (except for the builtins).
Important
To run the examples you will need to have the worker code available too. The simplest way to set this up is to clone the entire repository before running any of the examples.
git clone https://github.com/Quantinuum/tierkreis.git
To set up the environment we use uv:
cd tierkreis && uv sync --all-extras
Note that some third-party packages e.g. qulacs, automatically included via uv sync --all-extras, have other dependencies that you’ll need to have installed on your system first: CMake and Boost (>=1.71).
When running the notebooks select the kernel corresponding to the uv environment.