Skip to main content

No project description provided

Project description

qoqo-qir

Documentation Status GitHub Workflow Status PyPI PyPI - Format Crates.io

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

qoqo-qir provides the QirBackend class that allows users translate a qoqo circuit into a QIR file. Not all qoqo operations have a corresponding QIR expression.
Circuits containing operations without a corresponding expression cannot be translated.

The API documentation is available here.

If you intend to use the produced QIR expression with the QIR alliance's QIR-runner you should use the measure_all argument.

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.

General Notes

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

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

qoqo_qir-0.3.0-cp313-cp313-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.13Windows x86-64

qoqo_qir-0.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

qoqo_qir-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

qoqo_qir-0.3.0-cp313-cp313-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

qoqo_qir-0.3.0-cp312-cp312-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.12Windows x86-64

qoqo_qir-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

qoqo_qir-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

qoqo_qir-0.3.0-cp312-cp312-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

qoqo_qir-0.3.0-cp312-cp312-macosx_10_12_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

qoqo_qir-0.3.0-cp311-cp311-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.11Windows x86-64

qoqo_qir-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

qoqo_qir-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

qoqo_qir-0.3.0-cp311-cp311-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

qoqo_qir-0.3.0-cp311-cp311-macosx_10_12_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

qoqo_qir-0.3.0-cp310-cp310-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.10Windows x86-64

qoqo_qir-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

qoqo_qir-0.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

qoqo_qir-0.3.0-cp310-cp310-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

qoqo_qir-0.3.0-cp310-cp310-macosx_10_12_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

qoqo_qir-0.3.0-cp39-cp39-win_amd64.whl (3.9 MB view details)

Uploaded CPython 3.9Windows x86-64

qoqo_qir-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

qoqo_qir-0.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

qoqo_qir-0.3.0-cp39-cp39-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

qoqo_qir-0.3.0-cp39-cp39-macosx_10_12_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.9macOS 10.12+ x86-64

File details

Details for the file qoqo_qir-0.3.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: qoqo_qir-0.3.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for qoqo_qir-0.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8c01fea9bd31836e718f14532735cd9c9aec405897c945c6f5465571e54442f6
MD5 98e2d639b521deb2f50a256a5ce0907b
BLAKE2b-256 230dd3d971171a66bc59371cde05546a22bdf948c1547fd374f9803ac9c446b6

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 00c8f1331f6dc917964bbcff4149804fe600b7b98ce04d62574edf46dfcb861f
MD5 cc367b4580da6ec1a3ab1577fd019b6a
BLAKE2b-256 4549e6ab9214387d2b7d8225c61d60633c1549f0a722a4950ef5e57b77127b36

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e81897512f3dda427459462225ccc04ef49ec30a390e3d75e0f363ffcc7a8ca6
MD5 e81c7413024728a8f5f5676d8e661618
BLAKE2b-256 6a69ca5c1eb72c8b6bfcb1a6835f163eae3e6637bcb3533b74dfc8a57a2a983d

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9e689e824b929a563ada58aad3aa5aa2eddb863f25e5950d06dcafa3cfb3b560
MD5 2ff70f16103a8fe77c79c3fda643ca2f
BLAKE2b-256 6f696521f4bdcc3adf50393143414331127c16bb17d3822f3461692d5c1bc1bc

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: qoqo_qir-0.3.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for qoqo_qir-0.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7437a2b0101636d54ef900a6fe6b01cce03fe9ab810f0e973bff9211578f7567
MD5 ca81b49b557ab9c109c95faff450bfd0
BLAKE2b-256 bba9c977871614574de8f8a91ced03b1391c804f64c7d2ef4172b62531352791

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd16ca5aee4fb253a5eb0f857a85fc32134fbda4323c28923f5db8461687ae2e
MD5 56c76dfc38a6dc1c20a4d14360279419
BLAKE2b-256 8fd419a82058e6dbfd08fd05803eced2775ee681fa3fe07770c611376286be46

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4da5e5c8c416d1517dcbf3bb7132943fd62acd48b50c1eb459170249340f2876
MD5 8704745d099fd184e70f780737d94560
BLAKE2b-256 12596b151ecff1549d4b79986580b0434b388fa424e97a54a3f0b38c6fade525

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fed6dc81e92f9a98433cd51cf105384771d0fe41eae01b94400e2e389ae3b3ed
MD5 391aeb96bf2a3f4eae0a7971254a4295
BLAKE2b-256 4ef9922aa2d51dfd47e6bf896bc143eed4606ece7d9ec8762bd8776438f1dd22

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 82ba2762654e581dcfb3bf9ddb6fd5c7da478f7eac6adc3c5cd9ec4b4a58e48f
MD5 6f11a060314063f2e235ad11736ba3b9
BLAKE2b-256 5c91f8520a24abfb364657b295b15c8b1102ae67d568526846db31e21e2e5d23

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: qoqo_qir-0.3.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for qoqo_qir-0.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 69a53067ebe04fd1b135653f2ed9811d801c76e4ca74427bc36a5a1d172c1418
MD5 60f78c089b8479c8ee877d68e197785a
BLAKE2b-256 81e8393e67ad18068d316f2c819d04824c2fc211b3a7df5908dba2f5a86bec06

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4335a8952cd9d90d1a313b9e29a90ea2d5cd5fe5540a3345492e8a099da156c0
MD5 63a892c61e266df11ae1e4132a3abe45
BLAKE2b-256 3a2b2f68347ef4c3b5af694fc3d0e56766a8cdeb15746b2e038a9a179707fd64

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 9d8637f0011fa2e77562e2e11a329ee220a481b3df3797891d842709f1714419
MD5 8ad8655d4f867239c6909297501e29ea
BLAKE2b-256 2176a5528ad9e5f1931f79e58e73ee327adb6ddf714ad77672e981485f6166d9

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8caed10b6f1362ce4e884d2f834df4ceb7eb415df186d1cc0573ba2a2943c0a6
MD5 6f4dbaca06e7117b1b1b9eb21a67bd11
BLAKE2b-256 eedbbec6af9923146050c012a754bef52f8fbcdc0bd98cf3a50f676b7de78b9e

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d0d22ea8a7b1f2c603ec5c7c30e68341304b4434558ac67bfd16b3cce52d84a0
MD5 8719360c88329946d4add7ace197afb3
BLAKE2b-256 2682efad5c700484d70d77948630586f931428994aa33b2d396c86b20a984808

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: qoqo_qir-0.3.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for qoqo_qir-0.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e87e661d871fd848c75a87afbcc0a9b74bdf4f39421090621be3cfbdae077c9d
MD5 f4473c5342955482ca265cacd4680eae
BLAKE2b-256 cb8ab058dd6576df70e17379bc06fa4c4c393736b846734a59bd025d575322aa

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 71a59a55ea8a0ab3b7784c3a5959e8300c39b21493d64ef13ed0e1f13f910247
MD5 43244844fbf530206faa0f800d22eeca
BLAKE2b-256 bd26df822fe99414b2b2ed6705cb33063e9cf334994f2478b8a79609acb57372

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1b16a7556165516c53aca4f5343fb8176c9ffbc012bcebcb9aabd21c36846f53
MD5 25b64bc5baed10bf170c1061a7a9917d
BLAKE2b-256 01f8076a21e7a34790491d511ca2e1eb86364ac8f6a3c6760aee6a601cc29abb

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9cb9c5833be5f138a4d1c7696cb1bbc394415dc09093c3be8545d764ba6710d2
MD5 33d1e3b60f89e09b25bf4c1c29c69b12
BLAKE2b-256 d291df35cae5aeb4113ffdd4b57b097374f12bf8054213d31e937fe6c85f8a9e

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 124b631f2491e987feee6f5f289a78642458487208f3ec2b3ab90154faf3fb51
MD5 7d747991ff0508bffe4ea6994a825c3c
BLAKE2b-256 25697a99d78227f49418caf6cc2aecf8f77d5dd09a84f7c80a3f2a1e34d34126

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: qoqo_qir-0.3.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.9 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for qoqo_qir-0.3.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c65ce5d0799034bd011c19df24319ef3d12f0e5af0eb28a39928fde47df78b2f
MD5 36192e261187d4afd6113a3366c74c31
BLAKE2b-256 c71f2b703b15095c442416fb02784ecb12f2b0be5dbee1355ebd07dec9463ebb

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 391c351592d66b503d17f9cf38cfae0461cf0ad3c3d24c92e146f9b45d0c1fa8
MD5 0f0b2a801958383b60cd428126a822eb
BLAKE2b-256 37f6a10c35aef341ad5847ed6fd2a7bb6fdd65ebfa266bc6120ac0c4a019443a

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 977779e1db34f09452e5c9b76f2f08cdb0c4a5a670d39cb073627fb64915e404
MD5 0b0ca224dcf30d78260a90288df6758c
BLAKE2b-256 dec75017c4e0b75f842b2fefb8a860411cc52cceb1a3e9f2573f4ef0210c179e

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cc6c313238e1d229c593791ac2daf6bf96fbf0bf37326e84cadffd306b59e564
MD5 748e8dfc81083544ae056e87f9eb3f4e
BLAKE2b-256 c2b1fae48990ef10b156ed9418bef42a7898902236637b2c33b563f19ba8cdc3

See more details on using hashes here.

File details

Details for the file qoqo_qir-0.3.0-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for qoqo_qir-0.3.0-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 05893de7c94083e5aae2eb7872794e20ddabe032a20561e11debd5b221b1c46d
MD5 494bd0b373ede220d012b550663e18e4
BLAKE2b-256 7282ad83605d850b6a4bf4091d6a1cd18d83458b0ec60563278f70454c94b410

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