Package: qoqo-qryd
qoqo-qrydTheqoqo-qrydpython package implements modules to supportqoqousage with quantum computers and quantum computer emulators of theQRydDemoproject.The QRydDemo project builds on quantum computers using Rydberg atoms.
qoqo is quantum computing toolkit byHQS Quantum Simulations.The qoqo-qryd package contains the following functionality:Interface to the current QRydDemo WebAPIAt the moment QRydDemo WebAPI allows access to Quantum Hardware Emulators of different device topology. qoqo-qryd supports interfacing with the correspondingREST-APIwith low level calls as well as a high-level backend to qoqo quantum programs. For this it provides the backendAPIBackendto evaluate qoqo quantum programs and theapi_devicesmodule 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 itspragma_operationsmodule.
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 operationsqoqo-qryd includes a localQuESTbased 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 theSimulatorBackendqoqo-compatible backend that uses the device prototypes in itsqryd_devicesmodule.
Note that the devices for the simulator do not represent a finalized design for QRydDemo.Accessing QRydDemo WebAPITo use the WebAPI, a QRydDemo account is required. Users can register via theonline registration form.InstallationTheqoqo-qrydpackage 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 viapipinstallqoqo-qrydWhen building from sourceqoqo-qrydrequires rust,maturinand cmake to be installed locally. We recommend usingrustupto 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-sSfhttps://sh.rustup.rs|sh
pipinstallmaturinDocumentationTheuser documentationis provided on github pages.
The API-documentation for qoqo-qryd can be found as an appendix of the user documentation.ExamplesA small collection ofexample python scriptsfor the QRydDemo project can be found in the project github repository. The examples includehowto_webapi_qoqo.ipynbprovides an example accessing the QRydDemo's emulator with qoqo.switch_layout_example.pyshows how to construct a QRydDemo device and using the PragmaChangeQrydLayout operation to switch between layouts in a quantum Circuit.shift_qubits_example.pyshows how to construct a QRydDemo device and using the PragmaShiftQrydQubit operation to shift qubits between tweezer positions in a quantum Circuit.multi_qubit_example.pyshows how to use multi-qubit-operations.serialisation_example.pydemonstrates how to serialize a QuantumProgram to JSON format.OpenSSLAcknowledgments 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).