Skip to content

Installation

Bloqade is compatible with Python 3.10+ and available on PyPI. You can install it via pip into your environment:

Terminal window
pip install bloqade

Bloqade is a Python namespace package, we officially provide several sub-packages, each of which is an eDSL for neutral atom quantum computing. The following is a list of the sub-packages in Bloqade:

QASM2 and its extensions support for neutral atom quantum computing. Available via:

Terminal window
pip install bloqade[qasm2]

Analog quantum computing eDSL for neutral atom quantum computing (previously bloqade-python). Available via:

Terminal window
pip install bloqade-analog

Support of the qBraid cloud service as a runtime backend for retrieving noise models and running circuits.

Terminal window
pip install bloqade[qbraid]

Stim and its extensions support for neutral atom quantum computing. Available via:

Terminal window
pip install bloqade[stim]

If you want to contribute to Bloqade, you can clone the repository from GitHub:

Terminal window
git clone https://github.com/QuEraComputing/bloqade.git

We use uv to manage the development environment.

You can install uv via the following:

Terminal window
curl -LsSf https://astral.sh/uv/install.sh | sh

Then you can install the development dependencies executing one of the following commands:

Terminal window
# For contributing to code
uv sync --group dev
# For contributions to documentation
uv sync --group doc
# For just getting everything mentioned above
uv sync --all-groups

Our code review requires that you pass the tests and linting checks. We recommend you install pre-commit to run the checks before you commit your changes. pre-commit is already specified as a development dependency for bloqade and once installed, you can setup pre-commit using the following command:

Terminal window
pre-commit install