Skip to main content

Quantinuum's common representation for quantum programs

Project description

hugr

build_status codecov

The Hierarchical Unified Graph Representation (HUGR, pronounced hugger) is the common representation of quantum circuits and operations in the Quantinuum ecosystem.

This library provides a pure-python implementation of the HUGR data model, and a low-level API for constructing HUGR objects.

The API documentation for this package is here.

This library is intended to be used as a dependency for other high-level tools. See guppylang and tket2 for examples of such tools.

The HUGR specification is here.

Installation

The package name is hugr. It can be installed from PyPI:

pip install hugr

The current releases are in alpha stage, and the API is subject to change.

Usage

TODO

Recent Changes

TODO

Development

TODO

License

This project is licensed under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

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

hugr-0.11.5.tar.gz (279.7 kB view details)

Uploaded Source

Built Distributions

hugr-0.11.5-cp313-cp313t-musllinux_1_2_x86_64.whl (767.3 kB view details)

Uploaded CPython 3.13t musllinux: musl 1.2+ x86-64

hugr-0.11.5-cp313-cp313t-musllinux_1_2_i686.whl (790.6 kB view details)

Uploaded CPython 3.13t musllinux: musl 1.2+ i686

hugr-0.11.5-cp313-cp313t-musllinux_1_2_armv7l.whl (857.8 kB view details)

Uploaded CPython 3.13t musllinux: musl 1.2+ ARMv7l

hugr-0.11.5-cp313-cp313t-musllinux_1_2_aarch64.whl (761.7 kB view details)

Uploaded CPython 3.13t musllinux: musl 1.2+ ARM64

hugr-0.11.5-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (596.1 kB view details)

Uploaded CPython 3.13t manylinux: glibc 2.17+ x86-64

hugr-0.11.5-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl (708.5 kB view details)

Uploaded CPython 3.13t manylinux: glibc 2.17+ s390x

hugr-0.11.5-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (643.0 kB view details)

Uploaded CPython 3.13t manylinux: glibc 2.17+ ppc64le

hugr-0.11.5-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (596.2 kB view details)

Uploaded CPython 3.13t manylinux: glibc 2.17+ ARMv7l

hugr-0.11.5-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (582.5 kB view details)

Uploaded CPython 3.13t manylinux: glibc 2.17+ ARM64

hugr-0.11.5-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.whl (622.0 kB view details)

Uploaded CPython 3.13t manylinux: glibc 2.5+ i686

hugr-0.11.5-cp313-cp313t-macosx_11_0_arm64.whl (547.3 kB view details)

Uploaded CPython 3.13t macOS 11.0+ ARM64

hugr-0.11.5-cp313-cp313t-macosx_10_12_x86_64.whl (563.7 kB view details)

Uploaded CPython 3.13t macOS 10.12+ x86-64

hugr-0.11.5-cp310-abi3-win_amd64.whl (469.8 kB view details)

Uploaded CPython 3.10+ Windows x86-64

hugr-0.11.5-cp310-abi3-win32.whl (446.7 kB view details)

Uploaded CPython 3.10+ Windows x86

hugr-0.11.5-cp310-abi3-musllinux_1_2_x86_64.whl (769.5 kB view details)

Uploaded CPython 3.10+ musllinux: musl 1.2+ x86-64

hugr-0.11.5-cp310-abi3-musllinux_1_2_i686.whl (791.8 kB view details)

Uploaded CPython 3.10+ musllinux: musl 1.2+ i686

hugr-0.11.5-cp310-abi3-musllinux_1_2_armv7l.whl (856.3 kB view details)

Uploaded CPython 3.10+ musllinux: musl 1.2+ ARMv7l

hugr-0.11.5-cp310-abi3-musllinux_1_2_aarch64.whl (763.7 kB view details)

Uploaded CPython 3.10+ musllinux: musl 1.2+ ARM64

hugr-0.11.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (598.6 kB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ x86-64

hugr-0.11.5-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (704.9 kB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ s390x

hugr-0.11.5-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (645.8 kB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ppc64le

hugr-0.11.5-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (595.2 kB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ARMv7l

hugr-0.11.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (584.3 kB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.17+ ARM64

hugr-0.11.5-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl (623.9 kB view details)

Uploaded CPython 3.10+ manylinux: glibc 2.5+ i686

hugr-0.11.5-cp310-abi3-macosx_11_0_arm64.whl (550.1 kB view details)

Uploaded CPython 3.10+ macOS 11.0+ ARM64

hugr-0.11.5-cp310-abi3-macosx_10_12_x86_64.whl (578.0 kB view details)

Uploaded CPython 3.10+ macOS 10.12+ x86-64

File details

Details for the file hugr-0.11.5.tar.gz.

File metadata

  • Download URL: hugr-0.11.5.tar.gz
  • Upload date:
  • Size: 279.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.3

File hashes

Hashes for hugr-0.11.5.tar.gz
Algorithm Hash digest
SHA256 e05aaa0ec65da32ade4669d3e195461a67b7f157d467deac879fb3e110eb55b0
MD5 0b850fb0b3c846380068fc1348018cd6
BLAKE2b-256 28b7154e50a68ff7a5f8dc9f18b662c04da8b81368a6b301f9c071f035551df7

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7e9978534a67ad3c4461a9a9c86dc5866a7e336129c63a82378a293cb9316cdf
MD5 4b1f25e213a662449bd5b4a3f3fecd8f
BLAKE2b-256 9a81ebabf4db710ce81df7dd353e4db5b6a3b92b7d68eaf795b071fff6a4898b

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 5a144bbb7203e4f579b23cd20b54a73f8819fb3cff0d32f756e935bf19b5934a
MD5 eee2f99f301194a5c26c641069dc032a
BLAKE2b-256 0e059012b9258fc2bd62077f8289babb02b264c86d32842612d1bdf66d0c4e78

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 6ea097f2663470b5dd7d6247c4277963e9059e365b975048cef8e0f06afed0ea
MD5 177ad2b0fe4f24ca551382471fa3b0ae
BLAKE2b-256 a5207b2cc493c1fbf4895e4d48c4d5e29f772970d134d1a7cd5d71a688de3a42

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 34590c06c642d66da2c49b927f8d268d60365770bc09ad3da0c509e269598225
MD5 186d9cf6a3be92c6f3786f2011ec8231
BLAKE2b-256 eaec998c220a70ebb8ee8de3b3c041397562cbf0211b1ca6ca0476ea07c509d8

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c87c1f63230c8efe4c6d52f818116eeb68dc484294beee06afdf9b660808f8a1
MD5 60ed4d89745852baad1fa736a8578dec
BLAKE2b-256 2dd7feb6f619f1a5e7a24090c53c3a240f71a751f768cae2a6a05eeb0ded0fef

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 567c3603d8cc02f35a3a0768353b46d79b47ed3fe90002ae33635f4181bc2e72
MD5 3cee1c9f955b5637937418e3e3fb1e6a
BLAKE2b-256 d4446f428c0a56c9a6a3d60ed30468c611d94fddc0f536ce22842089fe994660

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 4208c70bd5c97771258d576ab372b3c0bccc80e329c54b7acf1b69f26c3492bb
MD5 8719294fbeb9c4a03d6170a9f96f1536
BLAKE2b-256 6456b3e698db7c7514d020d8d0f30754da67eb5126553429f93988eea81b562d

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 a811eddba246351d7257d221611fe4e44137e6f6f669439f2b51fcf08d05aadf
MD5 b9e8e3efedefab665d2a97a389d748fc
BLAKE2b-256 07d804237985205fe55e2548c9707a4a095e32d3b269b4ad6a9013e5f5ebd935

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e94fe91b55f759ed678afe2a3dd14704e4c74b9552894806ce7cf4d5a82d99ab
MD5 6416c29bb38f5d434134a9e56f833f16
BLAKE2b-256 69f456f110a7aaf3f0bcceafc7fea52119a3bb5cbc283917209a41e0e85a3146

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 24cd2079b8651b53bcb8361aadfae37ada84cdaa87d291119d5141fbaba94eba
MD5 498412644dcf5a8247244eb533aeac52
BLAKE2b-256 0930d45914e5ae2f2cb0411e9a37f32b27fb84e5f565ccc0acd4f39889bf9af4

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 841ec051d36c7b21077c06543dd3401230be855ca5ab3dc068baedacec1a8415
MD5 8f9b49afdf3b7f1597c70f554a649582
BLAKE2b-256 46f0afb8909c5a156516afb4462bc73ed3d1b228b7abf8a9cfbeb9bd277ebcf9

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp313-cp313t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp313-cp313t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9d518a5b491ae9cde53133b0ba8540a68f88be5fae6a59f285e48e8417e1eb9c
MD5 6fb59936fbf74a2c18cf80ecd85f27c5
BLAKE2b-256 93e40b206770a1cea919cc353219faec5831ec3884eb26397206d343c02ddc98

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: hugr-0.11.5-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 469.8 kB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.3

File hashes

Hashes for hugr-0.11.5-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5bedcb7ec307cae84a555d2896d4bb95346fc8542170fa083afcfaacb17d34f1
MD5 4d2268745291072cf5bdf04559d0347d
BLAKE2b-256 20b92954e2b1d3fa62968a5a507809286c817b1478f6bd59c82d9b2c40fd3d47

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-win32.whl.

File metadata

  • Download URL: hugr-0.11.5-cp310-abi3-win32.whl
  • Upload date:
  • Size: 446.7 kB
  • Tags: CPython 3.10+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.3

File hashes

Hashes for hugr-0.11.5-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 77180084496f4d2219b6726c004c9f2ac2c8cecd089c20a2fecbc5ce92b176db
MD5 d727a1bc0c3cf8a74a05c75dd7351cea
BLAKE2b-256 4531b5cf0741fbc06eb32e37329c627e7faa9e9c63ff37b3900da6cff540bb46

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6772587804c6c6ad05ada682391e24f4fa092c2ebbf072548873fbc94ff6944d
MD5 60754600f957c6c51e86fee98157f94d
BLAKE2b-256 10ae50a40512bd3b80118c1d8624b2fd1a8657637460067221fe8daf7704e008

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 40eab739ced00c9f5ce65a138e94eba41c417548220155e4c9c3dff5e1f62b2e
MD5 4ef4f1274142a1e700574c2992ceb844
BLAKE2b-256 5acffef656cdf3b956db834dc7cbe6b7923609f2571c9158aed9459132b67f68

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 0cc9d250bb0212af74599e9e6d64877253ef321a60990edafbab5c33a050e98f
MD5 1e2cd678829392e9e03779fd128db687
BLAKE2b-256 c4625712d51bbc1a2ab6ae868af186ff201f8524995795a215a3111cb3877a48

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d84fb767195f213538caa4943cb951131eb72adaa0952d9c7362d559abc21e56
MD5 2a67d04f491629c863365df3813d305a
BLAKE2b-256 315750959efddb85f7ef11a1db649e7ef09a553032fad6b2b5aa136769146421

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eaf3409a1f8d9d12d92f63fc27006f8551310ea5378127614b4d6b0a3b09ebc9
MD5 b43b9443455f56b3fa26cb4c9508ced4
BLAKE2b-256 b8469720329fa7ba97e4eff9c39b1957c7d5056103d494b778ae76dea40e39bc

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 7652cc413ff3961dae1d9d336d9697ff459c31e61e9eed3dc2cea55004524386
MD5 345309c70c368922b6bb815dce24b63d
BLAKE2b-256 5dcdacde4862e0b890337d9cd91173100960b562cbbe70e06bacc5627f627414

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 d12a33c1edc8283cb4f7cfbdaafb7fa6ad6d75940b75f2ca3ebfe04661595270
MD5 a746353d5ff1120cec7bf362c04ae59d
BLAKE2b-256 2247d7c8e3d613335e1810b7e373d1ad528116d810dd0c046e736c0d78afe572

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 899c9c4aab192964767b767632e8218c7131667a896d93a456bc661839ed95c4
MD5 78a2ce8453c07f4c65c3773e91b81ce0
BLAKE2b-256 39e590543c60b800436f7bd4ed64cb4cc9a96d9c889f00a24a46987c2754dac4

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5034b7205fad40af5ea25f0323199fa8b036598466a1064e3ba55a02d4132de2
MD5 35fa587a7fb0cb77b82d943d473e860e
BLAKE2b-256 3f9886665f324a458a66630fd4582ea108c38793baab561691293a5788fa31de

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 d9f8a5713be93e8b2082460f095d1801a357cb51ca2c1b6b0915a95c3dffbe9e
MD5 7e607d5e76fcda50969895e12b43698a
BLAKE2b-256 fca40e91b35be02580698c76800fa21bcda8cead10714ba1eea7f07fd84cfc4f

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c9b7c9adf0b28ec84196668f603f4b768543a936c4674ae834726cba9172f70
MD5 2e91738a1c231758e43ea934326231f0
BLAKE2b-256 a2c87d1a01ba9cfe73a5a30b985e63df53e3f4c0cf336c99905f74a742034c81

See more details on using hashes here.

File details

Details for the file hugr-0.11.5-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.11.5-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 5eb5a06a00961317c9c9752745a4b1871967bcc9fdbc69a34701d3f5d2d164ee
MD5 4db7d45aec075e6fed608ce0a5a2550d
BLAKE2b-256 f48552b1f80aac56d1ce6b7b0df37e3868595379a01a13cf5b518dc34c25ca23

See more details on using hashes here.

Supported by

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