47 releases (13 breaking)
0.18.0 | Aug 29, 2024 |
---|---|
0.17.0 | Jul 22, 2024 |
0.16.5 | Jun 28, 2024 |
0.15.0 | Mar 25, 2024 |
0.5.4 | Jul 20, 2022 |
#435 in Science
149 downloads per month
Used in qoqo-qryd
240KB
4K
SLoC
roqoqo-qryd
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
~7–20MB
~306K SLoC