Skip to main content

Python interface of roqoqo mocked backend

Project description

qoqo logo

qoqo-qasm

Qasm interface for the qoqo/roqoqo quantum toolkit by HQS Quantum Simulations.

This repository contains two components:

  • The qoqo_qasm backend for the qoqo python interface to roqoqo
  • The roqoqo_qasm backend for roqoqo directly

qoqo-qasm

Documentation Status GitHub Workflow Status PyPI PyPI - License PyPI - Format

Qasm interface for the qoqo quantum toolkit by HQS Quantum Simulations.

qoqo-qasm provides the QasmBackend class that allows users translate a qoqo circuit into a qasm file. Not all qoqo operations have a corresponding qasm expression.
Circuits containing operations without a corresponding expression can not be translated.

A source distribution now exists but requires a Rust install with a rust version > 1.47 and a maturin version { >= 0.14, <0.15 } in order to be built.

roqoqo-qasm

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

Qasm interface for the roqoqo quantum toolkit by HQS Quantum Simulations.

roqoqo-qasm provides the QasmBackend class that allows users translate a roqoqo circuit into a qasm file. Not all roqoqo operations have a corresponding qasm expression.
Circuits containing operations without a corresponding expression can not be translated.

General Notes

This software is still in the beta stage. Functions and documentation are not yet complete and breaking changes can occur.

This project is partly supported by PlanQK.

Contributing

We welcome contributions to the project. If you want to contribute code, please have a look at CONTRIBUTE.md for our code contribution guidelines.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qoqo_qasm-0.7.0.tar.gz (65.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

qoqo_qasm-0.7.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

qoqo_qasm-0.7.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

qoqo_qasm-0.7.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ x86-64

qoqo_qasm-0.7.0-cp311-none-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11Windows x86-64

qoqo_qasm-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

qoqo_qasm-0.7.0-cp311-cp311-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

qoqo_qasm-0.7.0-cp311-cp311-macosx_10_7_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.11macOS 10.7+ x86-64

qoqo_qasm-0.7.0-cp310-none-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

qoqo_qasm-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

qoqo_qasm-0.7.0-cp310-cp310-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

qoqo_qasm-0.7.0-cp310-cp310-macosx_10_7_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10macOS 10.7+ x86-64

qoqo_qasm-0.7.0-cp39-none-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.9Windows x86-64

qoqo_qasm-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

qoqo_qasm-0.7.0-cp39-cp39-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

qoqo_qasm-0.7.0-cp39-cp39-macosx_10_7_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9macOS 10.7+ x86-64

qoqo_qasm-0.7.0-cp38-none-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.8Windows x86-64

qoqo_qasm-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

qoqo_qasm-0.7.0-cp38-cp38-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

qoqo_qasm-0.7.0-cp38-cp38-macosx_10_7_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.8macOS 10.7+ x86-64

qoqo_qasm-0.7.0-cp37-none-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.7Windows x86-64

qoqo_qasm-0.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

qoqo_qasm-0.7.0-cp37-cp37m-macosx_10_7_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.7mmacOS 10.7+ x86-64

File details

Details for the file qoqo_qasm-0.7.0.tar.gz.

File metadata

  • Download URL: qoqo_qasm-0.7.0.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for qoqo_qasm-0.7.0.tar.gz
Algorithm Hash digest
SHA256 196b478739223955917375f022eaa47eed55cb940e651186529b0d1a9a10f468
MD5 9b78a919a8a040751ff6bfa6767ca7ef
BLAKE2b-256 51cc9790efccaeedb149180ae9d3e5451031aef8c9fc2054059c62aadc3cf896

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c4860346a228d0770c3be8bebd32ede138b7aeb0192c640bce94381d147f7361
MD5 1e7483bfd2a59c61157abb9d87759890
BLAKE2b-256 0b4c8f914d3ab5fe776f5f72a11096381e573ee2679f20219743c670f53fb2cf

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2de1300ca4af904fb95eeb4313a9afb2bb716d6118576e2c7d8ceecb53e4b571
MD5 a89232d1a4744f8f08f7889ab04314a5
BLAKE2b-256 da7b3e990832ac2c2947e2a2881e6656a2399ddbac5c1004142ab41505b95a5b

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6b93e7a4686506cf7ed555e1bbeaeacb22bc3e1cc08a3945336a1a4caf6925c8
MD5 a6c7ca2020b83db2c1953f6f28fcb68a
BLAKE2b-256 1d943f3fe64a25d42d836652b697ea1e85836dbc0f821519518ecdbfb83247f8

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp311-none-win_amd64.whl.

File metadata

  • Download URL: qoqo_qasm-0.7.0-cp311-none-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for qoqo_qasm-0.7.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 398f9ff9c0a1f2d14036c0d8ac286e13ffafff80695ca8bf9b128c18d7a2fa89
MD5 8e3f817e7a4ece68467ccdea4951681e
BLAKE2b-256 40645ddf65ec006a3690ed3392edf11f8796c0d3e0332af04ff08df3c3ed49da

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 631c8b2b99fe426daee8c9261b184b31000e2bedea55aa77539af00e862d4eba
MD5 26bf755ba4fa84e30f34502838fbfb31
BLAKE2b-256 e946c61f35003f9796794a8ee1558f7cd4f1af41bc59a55c6370ce7caa77d3a6

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a8c2954523909da0dee09f35e9628be4cde2a3759e3f1050f53f0ea24d2795b2
MD5 2c6270adf52ec9310127153030c8b3dc
BLAKE2b-256 e699bc6a7cf97f88d19a9dac066bfc6aed4d0e72a0cfa8269cff5d8adb70171a

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp311-cp311-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 e565f3d3d74e346c911f9e586f736b6a5b2925eda653b6bc77a7c6cff72a00e8
MD5 f1d6ecb0db239cdb204474d7382f2c25
BLAKE2b-256 dbd2c1f0145b3691cb61ae31ee3c427cf31496f003a7cbd0714411d68b98883b

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp310-none-win_amd64.whl.

File metadata

  • Download URL: qoqo_qasm-0.7.0-cp310-none-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for qoqo_qasm-0.7.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 4909f377e54226f3fe8f40a7b241d9790e98981c79a470a3fe4006adf9cb70e6
MD5 b7f4c8a54890d5f825c37d6e8acfe6ec
BLAKE2b-256 910cdc98fa97e34d730f4873152e6f9ad7fac486661d7f582ccedc491a02f246

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6b92dd2338f9bc082704580bd11cd66777497d1a11ef41d35c316dc2f8f76f18
MD5 a34c1cd389f279a29e18d11156ea9b58
BLAKE2b-256 840393c2c2f5d51c04a333f35321da90f26bfd0fafbf5c1f8915882c206b8cd7

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4361998903964b15f720c9bedd715964a924e1c0b8d6cc9cadd9249de7e46f59
MD5 f2210e9071867c07b55190a7a3f72468
BLAKE2b-256 db146db4cf9dcc1e982b4b5ed74e2762953645ecd571c5b6714218984d9fa987

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp310-cp310-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 103eeaa54c6ba500b0d3a82d709cdf7e1c4aa358b5e479f574e70ee8598fd429
MD5 319b86cd6a0dbbf74a2e193296014ff1
BLAKE2b-256 c55d60fde6485717c11fa369ebabe8b37a735ff8e02fba9bdef11f8ad7d9dc2e

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp39-none-win_amd64.whl.

File metadata

  • Download URL: qoqo_qasm-0.7.0-cp39-none-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for qoqo_qasm-0.7.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 cd5e57bfd6126410b28f9a11c65aaad643b07c406431cc5461b22aa0d5cb2bc6
MD5 58c669947680601573ec513034b0ce75
BLAKE2b-256 84c76856e65bd1a53fac6f49013149a394a1e2b4b3525c9687c18029662d47b2

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 45de1456c5f695f8bde505805b284f810d2528dec335d90abf7cd11ecc1ebda1
MD5 e67c19b5270209cff877f166ed2dce66
BLAKE2b-256 3abe132965111de2e1eec8b13f8ec1407ece536b1da7a50676517435bad59e92

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 81503ca2a411656fd6421dd4dbf823849227691bd8b452c19e05d93c629d297a
MD5 fceb27fdfb7a3781db4934fcf73da5d8
BLAKE2b-256 130918d65d84f4679e007a7c94360b95674f1c1273054150cfb36f44d0cd3f7c

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp39-cp39-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 92099f0327a1f2e7b0be52fed4b463932e658af79b6a75bf02159efda1752196
MD5 82804e4d9b989dd25e26e3f9a1c5e45f
BLAKE2b-256 6944508c38b8382680ad42a603eda284ac055f444ccb2a0778a71fa093b38815

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp38-none-win_amd64.whl.

File metadata

  • Download URL: qoqo_qasm-0.7.0-cp38-none-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for qoqo_qasm-0.7.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 0512d6b84def0d16852ef5744dfde53bcac85b74efabcd15bfc575d747bb707b
MD5 fd9e2c4efabaa532223af7be31956bb9
BLAKE2b-256 0d5d3c9a08569b63cc9d6e1fdacce64b6690ee658c81eb35df1977203b2baed4

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bca091f93f3e214ffc3388e81dabe476f7143356862fa09b7fb411b7bf30712a
MD5 aa0766f06787464e3577570e7bfa810a
BLAKE2b-256 514ec17ff68d8e06acac8c0fa0783e5276347dce77b78f31a16b4527602a025f

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 636f569daab668e07708695ebeae1753733a3a96c9a41aa8ec2c8b0f9d99edd8
MD5 d498c7441add6316ac1ff4ea41ad2c0c
BLAKE2b-256 fdf0230fd6b7fca5f5566e265b2f0771df46bbc0606a6e771eda771eae31385b

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp38-cp38-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 cfd754484f911a07493601267e12e67cd0c44cd8f04c713b558b23a588bc4e34
MD5 094a9398662adbf379df4ba1ddb46655
BLAKE2b-256 1250bc882c052794d519783479c2fe30082bacd3ad856a7710e509c4e1cfb657

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp37-none-win_amd64.whl.

File metadata

  • Download URL: qoqo_qasm-0.7.0-cp37-none-win_amd64.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.7, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for qoqo_qasm-0.7.0-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 b1b0139a1849eee726b40997bf3ecf31d66c2aa47c29f0b15290e75106455f16
MD5 266bdec2476485d707175c36724dc42a
BLAKE2b-256 b0e79e58feeb1fcc3e5b042b20a487736aa7f33ffb68674ebf0f05ecca85694f

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d0b532e2bb6b53066502c5b39384250ae3f7c6bce08e61bfca8d139b37809936
MD5 7be5a7cd493111ee6605ed128232ee82
BLAKE2b-256 fc80ceb60d3ac4c264d44b89682a5bafd482bfe5ea17ff39b3982647c2d38ae5

See more details on using hashes here.

File details

Details for the file qoqo_qasm-0.7.0-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qasm-0.7.0-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 6f63b8c9eacbfab07d9704cf5b6e6b4cf7e37fbccabc9e5f5e46cbf19a540f97
MD5 4bb3c0c24572266613b4799a00a09d41
BLAKE2b-256 846a9772e7b4a13ae8840521df8ba8f7d83f769bcb47dbe3789f9f103d7e8d0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page