WARNING (Work In Progress): This repository will be updated multiple times over the next week.
The repository implements the strong simulation of universal quantum circuits exactly, analytically, and memory-efficiently, particularly tailored for quantum error correction.
To be able to use the package, you need to install it. First, clone the repository. Then, assuming you already have a Python distribution, make sure pip is installed with:
python -m pip install --upgrade pipMost users will be familiar with creating a new virtual environment, activating it and running the following command to install the package:
pip install -e .Rather than using pip, we encourage the use of uv to install the package and manage the virtual environment. This is because uv is much faster and more user-friendly. It can be installed directly with pip as:
pip install uvNext, automatically create a virtual environment in the .venv directory with the correct Python version and install the package and dependencies by simply running:
uv syncNow, you can run any Python script in the repository with:
uv run my_script.pyTo import the package in your Python script, use:
import syqmaTo run the tests, simply use:
uv run python -m pytest