Skip to main content

Quantinuum's common representation for quantum programs

Project description

hugr

The Hierarchical Unified Graph Representation (HUGR, pronounced hugger) is the common representation of quantum programs 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 tket for examples of such tools.

The HUGR specification is here.

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.17.1.tar.gz (1.1 MB view details)

Uploaded Source

Built Distributions

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

hugr-0.17.1-cp314-cp314t-musllinux_1_2_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

hugr-0.17.1-cp314-cp314t-musllinux_1_2_i686.whl (3.8 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

hugr-0.17.1-cp314-cp314t-musllinux_1_2_armv7l.whl (3.7 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARMv7l

hugr-0.17.1-cp314-cp314t-musllinux_1_2_aarch64.whl (3.6 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

hugr-0.17.1-cp314-cp314t-manylinux_2_28_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

hugr-0.17.1-cp314-cp314t-manylinux_2_28_s390x.whl (3.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ s390x

hugr-0.17.1-cp314-cp314t-manylinux_2_28_ppc64le.whl (3.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ppc64le

hugr-0.17.1-cp314-cp314t-manylinux_2_28_i686.whl (3.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ i686

hugr-0.17.1-cp314-cp314t-manylinux_2_28_armv7l.whl (3.4 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARMv7l

hugr-0.17.1-cp314-cp314t-manylinux_2_28_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

hugr-0.17.1-cp314-cp314t-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

hugr-0.17.1-cp314-cp314t-macosx_10_12_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.14tmacOS 10.12+ x86-64

hugr-0.17.1-cp310-abi3-win_amd64.whl (3.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

hugr-0.17.1-cp310-abi3-win32.whl (3.1 MB view details)

Uploaded CPython 3.10+Windows x86

hugr-0.17.1-cp310-abi3-musllinux_1_2_x86_64.whl (3.9 MB view details)

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

hugr-0.17.1-cp310-abi3-musllinux_1_2_i686.whl (3.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

hugr-0.17.1-cp310-abi3-musllinux_1_2_armv7l.whl (3.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

hugr-0.17.1-cp310-abi3-musllinux_1_2_aarch64.whl (3.6 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

hugr-0.17.1-cp310-abi3-manylinux_2_28_x86_64.whl (3.7 MB view details)

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

hugr-0.17.1-cp310-abi3-manylinux_2_28_s390x.whl (3.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ s390x

hugr-0.17.1-cp310-abi3-manylinux_2_28_ppc64le.whl (3.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ppc64le

hugr-0.17.1-cp310-abi3-manylinux_2_28_i686.whl (3.7 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ i686

hugr-0.17.1-cp310-abi3-manylinux_2_28_armv7l.whl (3.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARMv7l

hugr-0.17.1-cp310-abi3-manylinux_2_28_aarch64.whl (3.4 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

hugr-0.17.1-cp310-abi3-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

hugr-0.17.1-cp310-abi3-macosx_10_12_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: hugr-0.17.1.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for hugr-0.17.1.tar.gz
Algorithm Hash digest
SHA256 e5d779aca4cd41a9020668e1291151568b4a654c62dc58ad04ba2e87b621be52
MD5 0891a505c9e37c455eb584abf30cef31
BLAKE2b-256 2d9b8259806baa41ba6faa0d3ab822288579fd3cb2c9320f92eaf435c418fe6a

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c0e7df3a0bc3a3e6cbe81021a60f45107d7f8d03356daaded31e4c01f43202e0
MD5 b8bf3969c056f83eafd9524cd27d9e61
BLAKE2b-256 42e94002b7b28c88b339097a4565c51209d76f48baf4d6408d5e34d066033d7b

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 016961f9e516de67be6a750d894fc36ff29b77747fb3bf4172e7d6ed977c5bad
MD5 1847c71e6a8c55192f3b2b4e3a85841a
BLAKE2b-256 84f0bbbc9ed0f38b24c170ece4fad358258154989306ba4e62eac168d531ec19

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 5638a8072a9e6f09a03a3f721b4119e49c87c6f5f2df6a22c9c1dc8d75b7a33b
MD5 0e6764c69cde3c9c38fe76c6dbb790cd
BLAKE2b-256 b79f73cbca2aa536f1d6c2b23f051a7d61a28a9e714f76e90bfbbd2032b7ed9f

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 d962d68cd90de0a6278f3c0d5a8fd518af6233a8310a87524f73786cb1211f64
MD5 750ca2024be38e60ef1feb955b10a417
BLAKE2b-256 f4bba8c6628585c94ddc798c32d28576579407560cdf30883dcc5ec19db5c265

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 659333e1fd17dfcaf3c0944c0be9266a26121c7cc8c4855e62ec617d0f6e9dd0
MD5 963e3cc7a4e67bc84ac10bfa964e91f0
BLAKE2b-256 c4629d19da58528e9bf6cb69650f2cb259f2e334d296248fddbf37fa1f0aca87

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-manylinux_2_28_s390x.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 d0d43604171d2b7c17259ff522a4580b5779752b9e40c46221c35fc5a35af669
MD5 28a058b30f25a0a8de51b128da7aaf87
BLAKE2b-256 752e341b2b16a0c8d08afbe59201b7d9110cd79074012efc067e69b3e6c8cf15

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 b71fd44699db0767efa4e4079f8d0f3b86d6d5b697277bd274ba7bc9cc2860e8
MD5 70d44f93f95af20eba0c95ca7d866f54
BLAKE2b-256 7cc0504e2921780d675c152f9100b5885ed2d3add70ce38c5e9153eb8f76a39e

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-manylinux_2_28_i686.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 4658f55b73d8f2ddfecec013fb80b5d72539d71b396fe4c6ced23777b4872cb0
MD5 9ee2aa11ce812bd54a6fa884ae4ac486
BLAKE2b-256 b46497fa352c28850f4ece0f0bce15fb7c78a842613fc0c8e52d1e571a3d4d0e

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-manylinux_2_28_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 abac467b73ad5bd5b143b17ff15028edd82b604bd0007ab75463c4e62c15b257
MD5 482bb2cd071c005bd32e60b67dd315d7
BLAKE2b-256 46f865dc9413625c6d3267d91a4ec471c2ac7216cc6542189452c0375df933dc

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3d439fb3d42d1f5d34494f5606362c59af041bfce36cdfa509122198832a7a75
MD5 b85b6a21bd0ccbd0d9eb0329ffe37b10
BLAKE2b-256 1100b992996f6a3d3be36f8f7a8d4836619a9fdac73a0abc44d5be645b242af7

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 35d6e5e4a881248cebfb23ff032c5ee4652b3705f1b118c6d0e2f1c5be3020b5
MD5 c4b45fa0cff02e4950b30530ccd19fb5
BLAKE2b-256 debf48c99cd9299d9aad75da8ddb1f3682df29559feda57a96da896def93b163

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp314-cp314t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bbb208dcdb972f4947e4fda8825e9756615636d3d9cdebda111bac9019b858fb
MD5 ba99cf993289929ae951d4907e0e619d
BLAKE2b-256 774c41d75f547f7c4dade59cafc842a0adfdc3ac07ec97c7258b759ed71e5a90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.17.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for hugr-0.17.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fbb2dc987ea5aed171b78da001f906b2659abc3ca802369a22fe73a7cc455459
MD5 d084f23bf4f47d57a198853c137e88db
BLAKE2b-256 1e03b68fdec2d02cfa7e088ea0cfb8ee6cacff4ac028f7ee9bd3609b41c072a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.17.1-cp310-abi3-win32.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: CPython 3.10+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.13.3

File hashes

Hashes for hugr-0.17.1-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 658805cc8cbf468ac321696903079a2e143d0cf7e5a3969ed2740d3b76a72ed0
MD5 b43321d89aace5f9739ca8efdaac72c4
BLAKE2b-256 12b4df392373f2f86682773ea46e203e22df440a2215ec074fa4d56d106473eb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 0cf70914ae9d733fa50ca51481503b16e1bcec40ee99d7076e678ccf9da8bd70
MD5 aea45662a86cefe7d3e255403f909273
BLAKE2b-256 9d5f773c166c026aea5253c490b9dd7d2f08e5cf2f8293e79f0c13ac7917bd85

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 90b9ed0ac02820a43fd8de1be0c669e8e10e5d9b738f4835c0c9eb4d175ad167
MD5 0de3c0b2bd6a1ac6bdb621eca1c62a7a
BLAKE2b-256 94f247f1cb2eae5fac0a1e8a5342f10ad9bfc74c63626f588ae8ff35989a6db8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 a617126d8f959fa5b524dd6198c2f79e0d8919a5b700f9e9481e84acd6a9c1fc
MD5 18b046d1452a37a701353e745a8a6b51
BLAKE2b-256 e824a93748069fe37ebf9a4bba892a6ecf93dae9a0ac0291cdd69a0711579211

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 3e39d6fb0596c436009c31857da34d3f294498f2bcc7c182bb815384118f0a1e
MD5 829804b08af11eab0005d25021fcba63
BLAKE2b-256 d961753f734a36056be3033e9865af51075d39d604eda17e686effec8bee2c65

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b97fef66ac422b44eebb465827f8ded307593141a6b9fe874bd436efba94810e
MD5 55e41d81b421dce3b934aa17ed04a888
BLAKE2b-256 70779c84fa949d833e7cbaab694351dc52ce7adab135e4c7575f423d6847ce12

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp310-abi3-manylinux_2_28_s390x.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 20f5f18c0a71eacbd851b620552b7cfb4e48226fcf251074a545388ede11a4e2
MD5 c8151f99cfab97efb6de253b5180d4aa
BLAKE2b-256 cb3fb87cbe60acd1f81e32a4eb2f5d90f653d1673060ae5b51a0f6e8a00d1683

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp310-abi3-manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 1fd78dfecf57b11077c5575bd310374bfa769e6534f8bf4eb7236c2df1fab279
MD5 65f7f736f1460c77281db401b109ee9e
BLAKE2b-256 37cf01e17f5bb0cf32f7caee3c2a21ea3f7d4b9da0a6d7ee1267d97a788b2385

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp310-abi3-manylinux_2_28_i686.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 1959e930cced649c5a69778f5fd918228cd34ed124ddbbb1cf7618e1b4a2461f
MD5 6f4a2dfb10dadcd92aa10d992a8ef295
BLAKE2b-256 525b539eb797bd1bc23b813f55f6145f461974b7601aedc879a6fd6c4ac41e8f

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp310-abi3-manylinux_2_28_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 c038b4fbecfb2b2f41caee757c8060bac07b08542ece926ef36693fe6d95af6c
MD5 83d654d62901f09f01a1123053b8677f
BLAKE2b-256 4ac5f0fb727e06356cb91dedae18aa28a152abbb00be5552baf676bb58b49957

See more details on using hashes here.

File details

Details for the file hugr-0.17.1-cp310-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8fbf4a7d61e2960f8137f8cd26d96d0c68f7cf35c0a68ff6618193f0adcbaed0
MD5 f983409ed8f9290b5e2f49a6f72547d9
BLAKE2b-256 6504c467d906428adf115962712cfa6c83b47932bf3c28ba9ac4fe2ddb82cd35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5e76bb0ea768dd488ddf2d6a2efe33b033c90457173ecfe0418acbd63a3af76d
MD5 04158dbd510837957e4d521e08eb3195
BLAKE2b-256 4f24496c3840bb50a583f80150e90f916b045d397294806f46dba6ade6450cfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cf59376b5280bdfb230fcfaa4d65cffc6cc4b496e55fe03d399ac683cb15fc80
MD5 c4e98be67a01ef36ac9e55577d48d3ff
BLAKE2b-256 61ade1e5794ea1d90eb9a10006e6e3c463b66978a5b637cc1e672022885df896

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