AQT interface for roqoqo rust quantum computing toolkit

12 releases

0.6.4 May 4, 2023
0.6.2 Mar 30, 2023
0.5.1 Aug 23, 2022
0.5.0 Jul 27, 2022
0.1.0 Jul 16, 2021

#640 in Science

Download history 18/week @ 2023-08-13 2/week @ 2023-08-20 14/week @ 2023-08-27 7/week @ 2023-09-03 29/week @ 2023-09-10 4/week @ 2023-09-17 6/week @ 2023-09-24 7/week @ 2023-10-01 4/week @ 2023-10-08 4/week @ 2023-10-15 5/week @ 2023-10-22 22/week @ 2023-10-29 18/week @ 2023-11-05 4/week @ 2023-11-12 6/week @ 2023-11-19 42/week @ 2023-11-26

70 downloads per month
Used in qoqo-aqt


405 lines

qoqo logo


AQT-backend for the qoqo/roqoqo quantum toolkit by HQS Quantum Simulations.

The qoqo_aqt/roqoqo-aqt packages provide backends for qoqo/roqoqo that allow the users to run quantum circuits on AQT simulators or AQT hardware. AQT endpoints (simulators or hardware) are accessed via a web-interface. To run circuits with these backends the user needs a valid access token for the AQT services and an internet connection.

This repository contains two components:

  • The qoqo_aqt backend for the qoqo python interface to roqoqo
  • The roqoqo-aqt backend for roqoqo directly


Documentation Status GitHub Workflow Status PyPI PyPI - License PyPI - Format

AQT-backend for the qoqo quantum toolkit by HQS Quantum Simulations.

A short tutorial can be found in in the git repository.


On macOS on x86 precompiled packages can be found on PyPi and installed via

pip install qoqo_aqt

At the moment an issue with building manylinux python wheels prevents us from distributing precompiled packages for linux. For now please use the same method as for other platforms to install qoqo_aqt on linux.

For other platforms we recommend checking out the latest tagged version from github and using the maturin tool to build a python package for qoqo locally and install it via pip. Please note that the package should be built from the top level directory of the workspace selecting the qoqo package with the -m qoqo/Cargo.toml option. Specifically for macOS on Apple Silicon the following build command should be used.

RUSTFLAGS="-C link-arg=-undefined -C link-arg=dynamic_lookup" maturin build -m qoqo_aqt/Cargo.toml  --release
pip install target/wheels/$NAME_OF_WHEEL

A source distribution now exists but requires a Rust install with a rust version > 1.56 and a maturin version { >=0.14, <0.15 } in order to be built.

roqoqo-aqt GitHub Workflow Status

AQT-Backend for the roqoqo quantum toolkit by HQS Quantum Simulations.

A short tutorial can be found in in the git repository.

General Notes

This software is still in the beta stage. Functions and documentation are not yet complete and breaking changes can occur.

This project is partly supported by PlanQK.


We welcome contributions to the project. If you want to contribute code, please have a look at for our code contribution guidelines.


Acknowledgments related to using OpenSSL for http requests:

"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit ("

This product includes cryptographic software written by Eric Young ( This product includes software written by Tim Hudson (


~421K SLoC