Skip to main content

QuEST simulator backend for qoqo quantum computing toolkit

Project description

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

GitHub Workflow Status PyPI 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 and windows on x86_64 hardware and macos on arm64 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

pip install maturin
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. qoqo-quest and roqoqo-quest are not tested against distributed builds, but have preliminary support for GPU computation. The PyPi distributed versions do not support GPU computation. For the moment GPU support can be enabled for NVIDIA GPUs using either the cuda feature or the cuquantum feature when compiling qoqo-quest with maturin or roqoqo-quest as a rust library. The cuda feature uses QuEST's CUDA-based simulator implementation and needs the cuda-compiler (nvcc) available during build. The cuquantum feature uses the cuda quantum simulator and requires the cuda-compiler (nvcc) during build as well as the cuquantum libraries.

General Notes

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

This project has been partly supported by PlanQK and is partially supported by QSolid.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qoqo_quest-0.14.2.tar.gz (423.5 kB view hashes)

Uploaded Source

Built Distributions

qoqo_quest-0.14.2-cp312-none-win_amd64.whl (3.9 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

qoqo_quest-0.14.2-cp312-cp312-macosx_11_0_arm64.whl (3.1 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

qoqo_quest-0.14.2-cp312-cp312-macosx_10_12_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

qoqo_quest-0.14.2-cp311-none-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

qoqo_quest-0.14.2-cp311-cp311-macosx_11_0_arm64.whl (3.1 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

qoqo_quest-0.14.2-cp311-cp311-macosx_10_12_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

qoqo_quest-0.14.2-cp310-none-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

qoqo_quest-0.14.2-cp310-cp310-macosx_11_0_arm64.whl (3.1 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

qoqo_quest-0.14.2-cp310-cp310-macosx_10_12_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.10 macOS 10.12+ x86-64

qoqo_quest-0.14.2-cp39-none-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

qoqo_quest-0.14.2-cp39-cp39-macosx_11_0_arm64.whl (3.1 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

qoqo_quest-0.14.2-cp39-cp39-macosx_10_12_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.9 macOS 10.12+ x86-64

qoqo_quest-0.14.2-cp38-none-win_amd64.whl (3.8 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

qoqo_quest-0.14.2-cp38-cp38-macosx_11_0_arm64.whl (3.1 MB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

qoqo_quest-0.14.2-cp38-cp38-macosx_10_12_x86_64.whl (3.4 MB view hashes)

Uploaded CPython 3.8 macOS 10.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page