Skip to content

Installation

tsim requires Python 3.10 or later.

We recommend using uv for dependency management.

Terminal window
uv add bloqade-tsim

For GPU acceleration with CUDA:

Terminal window
# For CUDA 13
uv add "bloqade-tsim[cuda13]"
# For CUDA 12
uv add "bloqade-tsim[cuda12]"
Terminal window
pip install bloqade-tsim

For GPU acceleration with CUDA:

Terminal window
pip install "bloqade-tsim[cuda13]"

If you’re contributing to tsim, clone the repository and install development dependencies:

Terminal window
git clone https://github.com/QuEraComputing/tsim.git
cd tsim
uv sync

Install pre-commit hooks to run linting checks automatically:

Terminal window
pre-commit install

This will run formatters and linters (black, isort, ruff, pyright) before each commit.