#quantum #backend #quest

qoqo-quest

QuEST simulator backend for qoqo quantum computing toolkit

25 releases (8 breaking)

0.9.1 Feb 27, 2023
0.9.0-alpha.2 Nov 3, 2022
0.8.2 Dec 20, 2022
0.7.0 Jul 19, 2022
0.2.0 Nov 24, 2021

#93 in Simulation

Download history 34/week @ 2022-11-20 8/week @ 2022-12-04 1/week @ 2022-12-11 23/week @ 2022-12-18 1/week @ 2022-12-25 8/week @ 2023-01-01 35/week @ 2023-01-08 6/week @ 2023-01-15 28/week @ 2023-01-22 8/week @ 2023-01-29 18/week @ 2023-02-05 45/week @ 2023-02-12 34/week @ 2023-02-19 40/week @ 2023-02-26 1/week @ 2023-03-05

137 downloads per month

Apache-2.0

75KB
207 lines

qoqo logo

qoqo-quest

QuEST simulator backend for the qoqo/roqoqo quantum toolkit by HQS Quantum Simulations.

This repository contains three components:

  • The qoqo_quest backend to simulate quantum programms from the qoqo python interface to roqoqo,
  • The roqoqo-quest backend backend to simulate quantum programms from roqoqo directly,
  • The quest-sys crate providing rust bindings for the QuEST C library.

qoqo-quest

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

QuEST based simulator backend for the qoqo quantum toolkit by HQS Quantum Simulations.

qoqo-quest allows to simulate the execution of qoqo quantum circuits with the help of the QuEST quantum simulator. Based on QuEST qoqo supports the simulation of error-free and noisy quantum computers. qoqo-quest is designed to be able to simulate all operations that are part of qoqo. For usage examples see the examples section of qoqo

Installation

For linux and macos on x86_64 hardware pre-built Python packages are available on PyPi and can be installed with

pip install qoqo-quest

For other platforms please use the source distribution that requires a Rust install with a rust version > 1.47 and a maturin version in order to be built.

After installing Rust (for example via rustup)

run the following for non-macos platforms

pip install maturin
pip install qoqo-quest

and on macos

pip install maturin
RUSTFLAGS="-C link-arg=-undefined -C link-arg=dynamic_lookup" pip install qoqo-quest

roqoqo-quest

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

QuEST based simulator backend for the roqoqo quantum toolkit by HQS Quantum Simulations.

roqoqo-quest allows to simulate the execution of roqoqo quantum circuits directly from rust code with the help of the QuEST quantum simulator. roqoqo-quest is designed to be able to simulate all operations that are part of roqoqo. For usage examples see the examples section of roqoqo.

QuEST build options

QuEST supports distributed computing and the use of GPU computing. The support can be controlled with cmake options. roqoqo-quest is not tested together with these advanced features. If you want to try using these features we recommend cloning this repository and modifying the cmake options in the build.rs rust build script.

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.

Dependencies

~11–16MB
~302K SLoC