Installation
Bloqade is compatible with Python 3.10+ and available on PyPI.
You can install it via pip into your environment:
pip install bloqadeBloqade and its friends
Section titled “Bloqade and its friends”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:
bloqade.qasm2
Section titled “bloqade.qasm2”QASM2 and its extensions support for neutral atom quantum computing. Available via:
pip install bloqade[qasm2]bloqade.analog
Section titled “bloqade.analog”Analog quantum computing eDSL for neutral atom quantum computing (previously bloqade-python). Available via:
pip install bloqade-analogbloqade.qbraid
Section titled “bloqade.qbraid”Support of the qBraid cloud service as a runtime backend for retrieving noise models and running circuits.
pip install bloqade[qbraid]bloqade.stim (Experimental)
Section titled “bloqade.stim (Experimental)”Stim and its extensions support for neutral atom quantum computing. Available via:
pip install bloqade[stim]Development
Section titled “Development”If you want to contribute to Bloqade, you can clone the repository from GitHub:
git clone https://github.com/QuEraComputing/bloqade.gitWe use uv to manage the development environment.
You can install uv via the following:
curl -LsSf https://astral.sh/uv/install.sh | shpowershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Then you can install the development dependencies executing one of the following commands:
# For contributing to codeuv sync --group dev# For contributions to documentationuv sync --group doc# For just getting everything mentioned aboveuv sync --all-groupsOur 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:
pre-commit install