Qubex is a Python library designed to simplify and accelerate quantum experiments by providing a flexible and extensible framework for pulse-level control, readout, and calibration on quantum hardware. It streamlines experiment workflows such as:
- Qubit and resonator spectroscopy
- T1 and T2 measurement
- Single- and two-qubit gate calibration
- Randomized Benchmarking
- Pulse-level experiments and simulations
- Experiment: The recommended user-facing workflow for most hardware-backed qubit experiments, from setup through analysis. See the Experiment guide.
- Simulator: For researchers who want to study pulse-level Hamiltonian dynamics without using real hardware. See the Simulator guide.
- Pulse sequences: Learn the shared
PulseSchedulemodel used across hardware and simulation workflows. See the PulseSchedule guide. - Low-level APIs: Start here when you need measurement-side abstractions such as sessions, schedules, readout, sweeps, and backend integration. See the overview.
- Python 3.10 or higher
During the v1.5.0 beta period and until the official release, installing Qubex requires uv.
We plan to publish Qubex to PyPI for the official release, which will make pip install available.
To install uv, see the official guide:
https://docs.astral.sh/uv/getting-started/installation/
uv pip install git+https://github.com/amachino/qubex.gituv pip install "qubex[backend] @ git+https://github.com/amachino/qubex.git"backend is the public extra for QuEL-1 support. quel1 is available as the
equivalent explicit extra name.
If you only want to use the simulator, you do not need either extra.
uv pip install "qubex[quel3] @ git+https://github.com/amachino/qubex.git"quel3 requires quelware-client. Depending on the release timing, you may
need an additional package index or an internal distribution channel for that
dependency.
uv pip install "git+https://github.com/amachino/qubex.git@<version>"Check available versions on the Release Page.
Development in this repository assumes a uv-managed environment.
git clone -b develop https://github.com/amachino/qubex.git
cd qubex
make syncThe documentation is available at https://amachino.github.io/qubex/.
- User guides: Installation, System configuration, Choose where to start, Examples, and API reference.
- Contributors: Contributing, Developer guide, and the source files in docs.