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.11.6-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e05d2e8d1362acf4d20091cd77619c124a6eed33c13a54277a151f031cd06cf |
|
MD5 | c5c73dc3f04e4cb1fda07ae3e4f2594d |
|
BLAKE2b-256 | 777eeb189e1e682c11d13115947cc921d9610797d8890b21a895577742fc4c61 |
Hashes for qoqo_qryd-0.11.6-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b42f733f2ba4bc2bfea68ea14af533ca3d3eec09bb313a67778293b322a0192 |
|
MD5 | 078aaf6fe0eedef56850ec999a6744ce |
|
BLAKE2b-256 | c70614438a15fa3fe9c45332ba0a47fafe5d95d46c82f20ccf81af1c7e735a8a |
Hashes for qoqo_qryd-0.11.6-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07c7de980e05d9d6ab5f79bb5fd9bf242d1b2656c32b398eee672a34cfd6edfc |
|
MD5 | a1d6fcdcb88834b366898ae8bc90f1a0 |
|
BLAKE2b-256 | 69318a80c9253394cff5e5b05e6bb53d459f8917ea7de5719bd29385a9f32d99 |
Hashes for qoqo_qryd-0.11.6-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75c65f260f7d08e64deb2db737c2ebcf78d5e3f73772e3192085a8bf0e4d8683 |
|
MD5 | e4b37a2fb83f783428ba2eb6b489a371 |
|
BLAKE2b-256 | 4773ca3fcdeabf6a042d180df7423e56f79c8f37ab4f1bc29639262ba8c98ae8 |
Hashes for qoqo_qryd-0.11.6-cp312-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09188c85479000ccd4ff2c039862be207157976ff8aaff901c9fdfc6e9ca5902 |
|
MD5 | 2f172f02af62a233ab1867744f387ca0 |
|
BLAKE2b-256 | 877cec1c7daf13e8a100d0aad38007178535969d2f134b98a224478c4ca59c4e |
Hashes for qoqo_qryd-0.11.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c20e19b5470e176082cda7da68b63e4d1395038e61e756033cb9f2576988b949 |
|
MD5 | 5a95b6a2f30e3d20a5e9760a3d5a7504 |
|
BLAKE2b-256 | 24ba6add46f6248aee1ac128669644beb146549dc2ca215ca602944b01e43787 |
Hashes for qoqo_qryd-0.11.6-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57b79b5cbc201a6aa6d0ee2816a4600518e3d68a4bf367df8d1007e43da1f97 |
|
MD5 | 51bb017c4d57ebc092cb666d693941e1 |
|
BLAKE2b-256 | 6e6b84d3d38656072fdbbacc80994c2345e0e910f9cf6afd73d3a63f3908a601 |
Hashes for qoqo_qryd-0.11.6-cp312-cp312-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4835277bd24c3d1a2c1fd9bd7d44df0ff3a1370272f4eb61c38fabb70b809374 |
|
MD5 | c71056b0c923f6fe7eea91d1fa2abccc |
|
BLAKE2b-256 | b4e1d15d47549d1b5ec8e94a52b6e5af713ea1a24ce7e82e354af5a393941812 |
Hashes for qoqo_qryd-0.11.6-cp311-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24e8d4a8299b8534441f52783da023b1e2babda6faa90d12e1f12aced4463b4c |
|
MD5 | 33e663460e17d3fd94cef3eb1c49f250 |
|
BLAKE2b-256 | aab2796edf1f46058f4bd54d2f4445c91240b9dc903478814a96ada63adee376 |
Hashes for qoqo_qryd-0.11.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26bb66c337c0d6930c2c88f5cc8b791b4811016355e22733cdb05a3fde42d1fd |
|
MD5 | 41dd71ff9b4d5839bdfcb0b13296a7b9 |
|
BLAKE2b-256 | 4cbe9818662cb0163220c558b542911319c85a7737e8cfc6656a48cd43d8a42e |
Hashes for qoqo_qryd-0.11.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59694312cf7aa43b3e0c2b768e1a0b1c8e146773d4ea8d151dce8d0a123e2e63 |
|
MD5 | 9ca4c1b04a1a4d6bb84b3062a5f77f07 |
|
BLAKE2b-256 | 5cacb06aba947fc3e4b41d92e4c5d85e9c84b7fb0ce5ccc4a97c5b9b9346e449 |
Hashes for qoqo_qryd-0.11.6-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12ef962425bd44b5b2bf880bec50bc22e81039174221c39e7a197c86f84bca4e |
|
MD5 | 2af074192d41760b343d6c37070bdad2 |
|
BLAKE2b-256 | 9c51aa060671396424492eb221db9d0f9dd1fee080f70fef8b8bb54fde46c160 |
Hashes for qoqo_qryd-0.11.6-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e26e2b6759672fadcd40b9753611f5c234f28c8187089186805aa528064a3572 |
|
MD5 | 467beafee22e45568914739458816017 |
|
BLAKE2b-256 | ef207787da0bdeef1ffa59551930eab059aee4c041992e961644a334f5e86d09 |
Hashes for qoqo_qryd-0.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d1dc58bdb6e0f32a936caed363e1a669897c356851227b565f524633ef4208d |
|
MD5 | 373a9463e48b47f362e4edee597df99e |
|
BLAKE2b-256 | 9758d30adb0ce7d23096132de6ff5e9550dae08023eaa2dfd2f9d0abad8e1274 |
Hashes for qoqo_qryd-0.11.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27e06e204012ab4fde961102f8dd519c6a39eeae48e6e33b97aa57c7b8a17aa7 |
|
MD5 | 10f5381c567673a426ec66d284ec473e |
|
BLAKE2b-256 | 6ba6a2508a33c0c5d913b1660d332acb609931ec934ba98af38855b3459a4138 |
Hashes for qoqo_qryd-0.11.6-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 030d6fb6351f68e43927a03f171860765f0556bc0e9ebe1878ecb0289affa474 |
|
MD5 | 3b62ed4fe02fae4263021d200e5ced4b |
|
BLAKE2b-256 | 132b003ceb2bd2d22c9dbc52afb375e8f9c74396df9afdc5deee3a6c3b307f12 |
Hashes for qoqo_qryd-0.11.6-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ef01be5e70574a26d38933cf0d6fa8fee0c25a66f522a5915d460aa27dbedf |
|
MD5 | be98baf5d9c079e100dc35268fbb548d |
|
BLAKE2b-256 | 68ebfd396e3d4a75dcbb1f6c0c557835036dcdd0b07df87a3bb67f43cf9dde30 |
Hashes for qoqo_qryd-0.11.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f71b41f9b2f55faa19b55530ed1eed17f64c04e3fa361baec1a13699440de6d |
|
MD5 | 6db76111c8ff415e0f8342e61f434337 |
|
BLAKE2b-256 | 2d54ee8f2c4e7706fd4429806977a5d94668106f94e360058480135a17229e31 |
Hashes for qoqo_qryd-0.11.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | adb808afa3033eba204c06f91fe9b0ac636b0206437cf9d9ae2473004d0d74ec |
|
MD5 | df0cf6399be91697d7e5c51170814bad |
|
BLAKE2b-256 | 9a0d268ddaac1db43629b642870c38530dd11df5d0edb891707b393e5c1e17ab |
Hashes for qoqo_qryd-0.11.6-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 566f9366ea64c5cd4e7748fb48767ecec725c97d5d0cc492dd0df5fec1f300f5 |
|
MD5 | e0fe4ed9bda729eb7347f655defc09b5 |
|
BLAKE2b-256 | 10de15b4a5ce4317b2525ab4eb34f9b204e93396e68822efdda1e4c21df24000 |
Hashes for qoqo_qryd-0.11.6-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20af303c196d29938659f896fe396e83d945443e170745a42d36d4085509cdb |
|
MD5 | 356e511713288a18b75ba33f69e7bebd |
|
BLAKE2b-256 | 96b31b1e903a9b900268ec7e3f321ad69bed644de59179bfadf129d29132c1b7 |
Hashes for qoqo_qryd-0.11.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af7b3128dbc7fb37e740d22845be7c6e83726deeb2491744d7a879b151bab126 |
|
MD5 | 826e9cf724973deb56a420bee1b26df8 |
|
BLAKE2b-256 | b52ec3d9d916a9c264540d606c13efddf97ebd1a23b330f3b3c7d8778e623a8e |
Hashes for qoqo_qryd-0.11.6-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5414a5cb03afa06e04e4deb7a10bddac0655770f4d096de9fc4a43b55c4793e7 |
|
MD5 | 74cffb101932e77de5d1d875c5e05eea |
|
BLAKE2b-256 | ad2322c471d5279e39d590f1ba79feb3254c367b954c7b3047d60117aef0fafa |
Hashes for qoqo_qryd-0.11.6-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e72ca9458b35285a07df4747a47ce7a87f7f3e504c815a93ba4adc7126abdab9 |
|
MD5 | deaca474feabcb83361b04847d7aeb98 |
|
BLAKE2b-256 | 0db69b9cd162d7d1162c40ca0f357217db9471a8c23f58ad78e53506175139ef |
Hashes for qoqo_qryd-0.11.6-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a63076e6a6e74cdba9d8a724264730497d11be1181f59a8d3b0f011b330549a9 |
|
MD5 | 2164b4199cb766297d9449c4f714dd0a |
|
BLAKE2b-256 | 08742ff77a9c5d64fe3bace9d5e6b2b18bc9dcfc9315b975058db39179dad61e |
Hashes for qoqo_qryd-0.11.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 169e4e3d69411d6a80f0693417d01f0f5a3163335a4357fbde07eafa46daa177 |
|
MD5 | 2ba3d4a0d62a87678303c5a6dd5dd3fd |
|
BLAKE2b-256 | 22b46c5f0c648874c63cf99442476e2f2df0966964e42f51ad947409d8cbc7fd |