Installation
tsim requires Python 3.10 or later.
Using uv (recommended)
Section titled “Using uv (recommended)”We recommend using uv for dependency management.
uv add bloqade-tsimFor GPU acceleration with CUDA:
# For CUDA 13uv add "bloqade-tsim[cuda13]"
# For CUDA 12uv add "bloqade-tsim[cuda12]"Using pip
Section titled “Using pip”pip install bloqade-tsimFor GPU acceleration with CUDA:
pip install "bloqade-tsim[cuda13]"Development Setup
Section titled “Development Setup”If you’re contributing to tsim, clone the repository and install development dependencies:
git clone https://github.com/QuEraComputing/tsim.gitcd tsimuv syncInstall pre-commit hooks to run linting checks automatically:
pre-commit installThis will run formatters and linters (black, isort, ruff, pyright) before each commit.