15 unstable releases (6 breaking)

0.8.0 Oct 15, 2024
0.7.0 Jun 17, 2024
0.6.6 Mar 5, 2024
0.6.4 May 4, 2023
0.1.0 Jul 16, 2021

#734 in Science


Used in qoqo-aqt

Apache-2.0

35KB
529 lines

qoqo logo

qoqo-aqt

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

qoqo_aqt

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 Tutorial_qoqo.md in the git repository.

Installation

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

Crates.io GitHub Workflow Status docs.rs Crates.io

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

A short tutorial can be found in Tutorial_roqoqo.md 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.

Contributing

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

OpenSSL

Acknowledgments related to using OpenSSL for http requests:

"This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/)."

This product includes cryptographic software written by Eric Young ([email protected]). This product includes software written by Tim Hudson ([email protected]).

Dependencies

~11–25MB
~419K SLoC