QRyd backend for qoqo quantum computing toolkit
Project description
qoqo-qryd
The qoqo-qryd
python package 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 qoqo-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. qoqo-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 qoqo 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. qoqo-qryd adds support for changes in device topology to qoqo 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
qoqo-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.
qoqo-qryd provides the simulator via the SimulatorBackend
qoqo-compatible backend that uses the device prototypes in its qryd_devices
module.
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
The qoqo-qryd
package is available on PyPi as a source distribution and as precompiled wheels for linux and macOS on the x86 platform. Other platforms need to install from the source distribution.
For both source distribution and pre-built wheels it can be installed via
pip install qoqo-qryd
When building from source qoqo-qryd
requires rust, maturin and cmake to be installed locally. We recommend using rustup to set up a rust toolchain. The pip command should also automatically install maturin to build a python package locally and install it.
For a quick installation of the dependencies you can also use:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
pip install maturin
Documentation
The user documentation is provided on github pages. The API-documentation for qoqo-qryd can be found as an appendix of the user documentation.
Examples
A small collection of example python scripts for the QRydDemo project can be found in the project github repository. The examples include
howto_webapi_qoqo.ipynb
provides an example accessing the QRydDemo's emulator with qoqo.switch_layout_example.py
shows how to construct a QRydDemo device and using the PragmaChangeQrydLayout operation to switch between layouts in a quantum Circuit.shift_qubits_example.py
shows how to construct a QRydDemo device and using the PragmaShiftQrydQubit operation to shift qubits between tweezer positions in a quantum Circuit.multi_qubit_example.py
shows how to use multi-qubit-operations.serialisation_example.py
demonstrates how to serialize a QuantumProgram to JSON format.
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for qoqo_qryd-0.12.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96880979de0866da68c073a2fb8704ad9f2ee5fa78a88b99aa7a816d209a7582 |
|
MD5 | 972cc80c7f485adaae9802771342feb9 |
|
BLAKE2b-256 | ba1b00c262ae3a9ced13ff18ea57b8e108610c86ba2193b5244dbeb1d96152e6 |
Hashes for qoqo_qryd-0.12.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 457f432baaa65c8639b3e190743b1cdf6adfca010e770315659bcc813f1584f7 |
|
MD5 | 98791bea9bb9d41d75cd317731e863b2 |
|
BLAKE2b-256 | 2ea2292f0c40e0b0bdb7cc4698db73ca35a9d155c73fe75319f1e18b4e6b5dfe |
Hashes for qoqo_qryd-0.12.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a267a202d4becdd374abecb97224a320c57cb6d930181a444a4adf381c131e |
|
MD5 | 505b4fb10ca5e8dbde9fb30c3c0d8b4c |
|
BLAKE2b-256 | 9d1c3740c59931e0faf0b7f04c9d0c2af5c1aa21249f4eabd36291cb2470c160 |
Hashes for qoqo_qryd-0.12.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0f664047e210b1c4c21474bc9783fd714f5e1ca67df7484b5d701557f5a15d4 |
|
MD5 | 752f5e24d02a46fbccc1c7e3822f2603 |
|
BLAKE2b-256 | f2948726ae0e0307512294b646e875d2e264a79be4fdc3085d6357891a57bc7b |
Hashes for qoqo_qryd-0.12.2-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0050e3fd2aebefadc90e67d07cd193f160735aa7d868c7a9f503050d37f03b6 |
|
MD5 | 6aed171a155837b027f3a07911c588a9 |
|
BLAKE2b-256 | c10adbc80b76af020e21615b785a54fa0f66d8baa1981a53eb138d177ac3ad97 |
Hashes for qoqo_qryd-0.12.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 194c1f4e0430c0c381e353cacf8cb74df6f90626df53b2113b85ca8e87bf3035 |
|
MD5 | 283f9aa46a6254d6ad75b22beb6b7b3d |
|
BLAKE2b-256 | 9afcb2f6b78d219352e841941adbd45539f8eb04e052dca4f5c4ee43e121526a |
Hashes for qoqo_qryd-0.12.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40df9b2fc2d1f16071ce7e1ff94be3873fc8de9458bacae1de73eeb9f43ce1f0 |
|
MD5 | 7338dcbce82fb5f61777f863a5f4a3a6 |
|
BLAKE2b-256 | 5714592c7ec9f681ea54ba6603262b21e16fcdb4877c395c3174c9d5f917c571 |
Hashes for qoqo_qryd-0.12.2-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5135bf78c5537d5989b87e1f2aec5f438deacaaf3958d2c08bbb6c6e8b1fd3e |
|
MD5 | 102a36c18c3c9d2359d238f67b2c3b3e |
|
BLAKE2b-256 | ce150d704014e4b1a6b8f74e60cf12eb8f996f9b2e2425a62e3b150456fa6dcb |
Hashes for qoqo_qryd-0.12.2-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecf6adff08effe141499263110f76d225b3b3631248a1c8a9ae5e3dd6c8f1067 |
|
MD5 | 32728fc6c0e3140bfadf6f28c47fd6b1 |
|
BLAKE2b-256 | 3e12315a9da1de44f5eb127e6f201520413804e4cf3a88e33adb0810067983a4 |
Hashes for qoqo_qryd-0.12.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecf73c520c7c0246c5067cf29b51c0c74e4afa9928671f5ee43b61ccd2396495 |
|
MD5 | 499fba9443eb8da865e041e6270cd3b7 |
|
BLAKE2b-256 | 912368250f7d126fab9a2849c5774ba079b62b707d06a4c36791a148e593ab69 |
Hashes for qoqo_qryd-0.12.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1608c3734e450c64f3317e35a41ddae43eaf160c54ee21c8490e7384ce22d6e0 |
|
MD5 | d210138f31dfcd62d8f18ff0d52c9b9c |
|
BLAKE2b-256 | a455a8417c0f5bc9a77cdf4b91bca5fc4dfdea4ef164fb88c910c5f9843db6e8 |
Hashes for qoqo_qryd-0.12.2-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c9a121679b672e1cbb4ec8c37f7b838c547808e4af29b1daf8246d0c3b571b8 |
|
MD5 | cb4581bffdd9a3ff0ec83e5ef06c45cc |
|
BLAKE2b-256 | e517035ed3a259de34d1fbf218187845fe497827ef3503fff0b6f8f42d2eb2bf |
Hashes for qoqo_qryd-0.12.2-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff731f48d495bf08dcc714944a61f0d8cbf0cce94990acc1c252899d2ec95be2 |
|
MD5 | 968fa7a69d7a041ac5cf2d344d3851a2 |
|
BLAKE2b-256 | dbdf1043dc60dcdf7001bf2d13d5199390569c8497b2711c2cc95396b70ed229 |
Hashes for qoqo_qryd-0.12.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | febe141f5c96c89365435cd9025a9221bde420601d0bbcee348d155aaeaa22c9 |
|
MD5 | 908b13da095ad448b9e270fa43a6911f |
|
BLAKE2b-256 | c9ade6eef0ea804e50eca302c534dc6a52b5d97630283083da2dfb7515ecc87d |
Hashes for qoqo_qryd-0.12.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 855749e754f7d062cc5e2222264e7f09aaca80281b1971f09b8d4b8b680c990c |
|
MD5 | d10b422ee60b0a0d2e13bca7a22ca998 |
|
BLAKE2b-256 | a0f40048a17f566140e90be43a4c693d9db0b985fd99f1103fdfc1f4de11d584 |
Hashes for qoqo_qryd-0.12.2-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3d49e33774855937e758a4be9038fbb97c92ba97fbcbb18fedd0b23cd3fb690 |
|
MD5 | 562012d3ecc7a6031f2253d431338af5 |
|
BLAKE2b-256 | 3a3e82a2584c9219e80d3507c113947f19ebf29d97523cb9b7ee8200dda8144b |
Hashes for qoqo_qryd-0.12.2-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b67cf425b1ee3bd7d70371726b79cb87c2c3ee6ea3282f8dfc847085876f6c6c |
|
MD5 | 2b0138b672ace47a0acf36b0eee3f94d |
|
BLAKE2b-256 | 0e3808cf0bfa659ba5c36e353b9a9e3d2d6286bbd028f9cf616f5f2298d49cbb |
Hashes for qoqo_qryd-0.12.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd3d4076abac788f9fd6ec216fd445749f75f1bb1d6e21be1d77918d2b2c85de |
|
MD5 | 11d84c8cb5c377a1b6b635259888d50e |
|
BLAKE2b-256 | 6f649405de3edeb49cdc9ec81847998d8f262252614106dd54bb3a5acdaafb82 |
Hashes for qoqo_qryd-0.12.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7b198ca12b3f8f7951b0e091c734d5df420eb442667ddead51df24a16272806 |
|
MD5 | f72861c6c4f6a70f97cafe56d9c76891 |
|
BLAKE2b-256 | f9d31dba2c9feb152db010e06146ef27c3d1216afc4b6452ee9c8fa494663235 |
Hashes for qoqo_qryd-0.12.2-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1590b390e6b078c26a9404b2d59d80c2efeaceee9d691c263afd618d9f2d537 |
|
MD5 | e5354f39c06f6503b7a02d36444e22b3 |
|
BLAKE2b-256 | 78bc1decce7877624950472480e22a69a7b590f82ecf2ad2c9f1eb918c223fea |
Hashes for qoqo_qryd-0.12.2-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f0c34c6d3bd5e03530bf0ab0a9683220cbe0bccb90c021192bd8451d958c6f3 |
|
MD5 | dd2df176bcbd49bcaf11bad7f5fccfc0 |
|
BLAKE2b-256 | 511a081944e1ca3f6d43cc6bc67a8323551211f8a2b9041b2c0ce1469df51f98 |
Hashes for qoqo_qryd-0.12.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1d72e600fbf7e5e50a61097e0b5d2f4084d38d51ba90df3bb300cdbd65246ae |
|
MD5 | 2a90c27e7b650b86c3e8be9d13547b80 |
|
BLAKE2b-256 | 82d84815204c4ccdfa61d7a87ab4b718ac64109d4044c6384af470552d5c7822 |
Hashes for qoqo_qryd-0.12.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffeef2c7b360e74c33a32dbf10e2aceb7f93f6505b17b71f2b50650931c96785 |
|
MD5 | 2e65edf518eac4bf5422a65a1a731abd |
|
BLAKE2b-256 | a0025c899234f561937996eb55e3584ec7c4ede88145f2a582c7d93b2314f970 |
Hashes for qoqo_qryd-0.12.2-cp38-cp38-macosx_10_12_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0921be653a708e66c72270579883de99fd87e2364bd5c4f82b3da0a02a1578f0 |
|
MD5 | e30180a755d1f963e26ed0f4c5c18457 |
|
BLAKE2b-256 | 9a98c6bbe2c7f65ca0b76935e1a81917351279164568c7699cd89e9b04cb7d5f |
Hashes for qoqo_qryd-0.12.2-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1444c8e6624e372e190912e3192e0786f2a2341be0e3b705c7f7210be2771ef |
|
MD5 | 33cfb0bd0f04b6d6157b4bad3ed43477 |
|
BLAKE2b-256 | 2b1f2fb0291c7cb75f120a31149f31d423ec5bed9b2e3c1941a39ff88957ba2e |
Hashes for qoqo_qryd-0.12.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de7cde79b59e29cd4143fb4103543f3ad884b7a05e40dbbe0ffbf39253f7e959 |
|
MD5 | 0d6eb6265c9dbe19042d40bed605bcdb |
|
BLAKE2b-256 | 5af68def00c21726b9782e8f3a72bbb0e2ba25e388f33ebddbba31e7f99072b3 |