10 releases

Uses new Rust 2021

0.6.0-beta.2 Sep 20, 2022
0.6.0-beta.1 Sep 8, 2022
0.5.4 Jul 20, 2022
0.5.2 May 31, 2022

#420 in Science

Download history 150/week @ 2022-06-13 11/week @ 2022-06-20 27/week @ 2022-06-27 14/week @ 2022-07-04 236/week @ 2022-07-11 62/week @ 2022-07-18 88/week @ 2022-07-25 16/week @ 2022-08-01 9/week @ 2022-08-08 5/week @ 2022-08-15 18/week @ 2022-08-22 4/week @ 2022-08-29 91/week @ 2022-09-05 153/week @ 2022-09-12 62/week @ 2022-09-19 59/week @ 2022-09-26

366 downloads per month
Used in qoqo-qryd

Apache-2.0

100KB
1.5K SLoC

roqoqo-qryd

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

The roqoqo-qryd rust crate implements modules to support qoqo usage with quantum computers and quantum computer emulators of the QRydDemo project.

The QRydDemo project builds on quantum computers using Rydberg atoms. qoqo is quantum computing toolkit by HQS Quantum Simulations.

The roqoqo-qryd package contains the following functionality:

Interface to the current QRydDemo WebAPI

At the moment QRydDemo WebAPI allows access to Quantum Hardware Emulators of different device topology. roqoqo-qryd supports interfacing with the corresponding REST-API with low level calls as well as a high-level backend to qoqo quantum programs. For this it provides the backend APIBackend to evaluate roqoqo quantum programs and the api_devices module to represent devices available on the emulators.

QRydDemo specific hardware operations (prototype)

Rydberg atom based quantum devices support, in principle, operations not commonly found in other quantum hardware. Changes in device topology are one of these operations. roqoqo-qryd adds support for changes in device topology to roqoqo via the operations in its pragma_operations module. Note that this is a preview prototype and does not represent a finalized set of operations on the QRydDemo hardware.

Local simulator supporting specific hardware operations

roqoqo-qryd includes a local QuEST based simulator for quantum devices supporting the Rydberg specific quantum operations. The simulator is intended to let users test the capabilities of quantum hardware with the additional operations. roqoqo-qryd provides the simulator via the SimulatorBackend backend that implements the roqoqo Backend trait. The backend uses the device prototypes in the module qryd_devices of roqoqo-qryd. Note that the devices for the simulator do not represent a finalized design for QRydDemo.

Accessing QRydDemo WebAPI

To use the WebAPI, a QRydDemo account is required. Users can register via the online registration form.

Installation

For using roqoqo-qryd in rust code including the optional simulator simply add

roqoqo-qryd = {version="0.5", features=["simulator"]}

to the [dependencies] section of your Cargo.toml.

Documentation

Although the code snippets in the user documentation are provided for the python users, the rust user might refer to the user documentation to find some general information, e.g. on "QRydDemo devices and operations.

The API documentation for the roqoqo-qryd rust package can be found here: API-documentation.

Examples

Examples are to follow soon.

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 (eay@cryptsoft.com). This product includes software written by Tim Hudson (tjh@cryptsoft.com).

Dependencies

~9–17MB
~367K SLoC