Skip to main content

Quantinuum's common representation for quantum programs

Reason this release was yanked:

Includes a breaking API change to `hugr.val.Value`

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.18.1.tar.gz (1.0 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.18.1-cp314-cp314t-musllinux_1_2_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

hugr-0.18.1-cp314-cp314t-manylinux_2_28_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ppc64le

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ i686

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARMv7l

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 11.0+ ARM64

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

Uploaded CPython 3.14tmacOS 10.12+ x86-64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

hugr-0.18.1-cp310-abi3-musllinux_1_2_x86_64.whl (3.8 MB view details)

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

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

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

hugr-0.18.1-cp310-abi3-manylinux_2_28_x86_64.whl (3.6 MB view details)

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

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ppc64le

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ i686

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARMv7l

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

hugr-0.18.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.18.1.tar.gz.

File metadata

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

File hashes

Hashes for hugr-0.18.1.tar.gz
Algorithm Hash digest
SHA256 05cf0bfda76f23113e7e074d37ec0f88333dc83466fce95c0dd7ebda7e7c7514
MD5 e2c29312d6ebd321eef67f8b24cf9b39
BLAKE2b-256 6b76f1a94c818dbc6811cfe2dbe22c4a9829c725d42cf9afc811e8e86f29a771

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 354bde46ef55a307a0d431e9975cc4f5666262c2c7797cf4abf010914720e05e
MD5 622d570b930e10b6d1e6ebd3e124060c
BLAKE2b-256 1617c4569f17eee37a2005da921251ffa1624bf5ef033c0b056b7a40d5da05b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 1df6d3c69e0609de991cbbfb1ba2c893b68b61f3cb2e72ecd536381a0640448a
MD5 c8af4b94a6ede91230ea486b21c31371
BLAKE2b-256 65ebdfb1fa2d25adaef8dcad6b9f14828dfb15a0facb934ff1a30e12bd78e486

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 260686851557269c99e78a85e923987739abc52ad7c539e552868bb69970d7ba
MD5 535fcc38405768ba07226794fce0677b
BLAKE2b-256 18adba61eb63281e77dd431786dcadeb8e98d41189f9ed7b7aa1ffec46e448e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 fe5ac05db03c8b2b8ca008f0b600c0416e70c9b3844630489508276d2a3012e3
MD5 262a454de1c6dff63d03cb89b9614eae
BLAKE2b-256 f959ef466f5646baab036fafb0d12e73851a222c779972a9a2c97e4c9c88bdd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2dc17d45f6f03d195dde453ebf062efe5a70c34c37b5a81640609cc84e3f437
MD5 8467b8dbc054b553794e1f42228c80bd
BLAKE2b-256 bc2aa487aebd5c9ddc34cdc3a56795b575582b9a1f2dff1048ac6176d6eb88ab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 46530b910a5bb5088e2cf62390d87a453f83ee7515143f6a6e7731d341247cae
MD5 8c9cf3e002e582c89118c3f869d40653
BLAKE2b-256 a693124e888ce03716cfbb92bc1f64ea5544e4f8e8b78672e4a7f84cc1933e17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 6bf5fd8f5fb194e8e76565fe9f52a32211acfc43897a2a9bf9feb9661bf20fd7
MD5 153b01ee6314b7697b9cb143ebdcb035
BLAKE2b-256 2b3dbfada0db9ed5e9a971ce413f154807f8c67a83c59865cc2ce6ade4c32d50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 3768e9bb51890090e9a3bc0060383a624ad07bfcbf6c34fce44fd2c6420c523e
MD5 1a14b17da4680ae775fd1c8122436334
BLAKE2b-256 7acb6f8d92b8f22dc31f435fcb50790fca5dbe7f6a144e88acd1c65b76e370f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 4c5821b3315d31078114e8fd4d68344e4300bd13d40da97444e38a61c58dc9a3
MD5 23783b225081cbe3869a117866edbc28
BLAKE2b-256 37ed09fa784ab803351f8565d93ad7ceaabf6b74dd1e00aedc274ced3d131652

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 659b7b49c6e161f64b4fff1dcabe9648675ae8b829301a2daa5e4097812c2472
MD5 5ada52f16da1a94dc9458b4a3cb8f38f
BLAKE2b-256 fd8ab2e27c59f266439a46eab9cfe023c7d360a76bfb7ae29bd907fbe35b4fd1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 730e2eb8726607ca866cb6db4227e39d138bf994ca38f51976159399cee843d0
MD5 ac665c1aea58627b6db7144b3fb537d3
BLAKE2b-256 8579db4ce88118438a58da0975c81c68288fdfd07797e0259013b87b99f3aa2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 62665cc2dcae1ef5eefa519b077778c783e063c6e2c7d3869d822af202e4376f
MD5 4194d44250a22d0db3d98e9ff0e01d1a
BLAKE2b-256 1f958e169e30db29e306b7cdbf98e27051c07285116426ee14b1ea0e3ce3c307

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.18.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.14.1

File hashes

Hashes for hugr-0.18.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d870e82ee3eccbeaba8f0e067ea8d81444cd9508f74023e15fd5dc0da604ea58
MD5 5d2a78e71229abc63b16097594277662
BLAKE2b-256 271343571b6dcd2f909aae00dec2fcda4ac9866112f4773e1c0349601f3537b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.18.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.14.1

File hashes

Hashes for hugr-0.18.1-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 49e215964e9d205c00697f7a2e6b835ad0e9a1348bcafd49f2e02b6e18352811
MD5 dbdb8e7f0d9cc542386fe19ffca9b278
BLAKE2b-256 42fd4a8c7c81aef08cd7984ebf24e646dad823aebbd06be840d17c5e861c78ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4859c7284d32288d790dd3df4975d389b31e99a7b2f46ecc67154526bec5fce7
MD5 8b0607e67a76d47fc30afcfd58b4e20a
BLAKE2b-256 094f5396b854b7a1230a9db20e2948e4ed9b78047534bded797bfad6ea8c149b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 661e10453b85974ddcdb2749273dec962d2156d20ab40738512478889a72fbbe
MD5 dd3629026b9b18bbb0ec234d02e89668
BLAKE2b-256 89644fa61c5cfe54f269e9301e623a5f312d9a371777e2dfa8b2b4028b8a6939

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 f4cfef5d1ac8e7988c39a3ee87e0eb56d117e13d2ec08929d3d4b8d181ba8806
MD5 5a8b6bed712b2599604a248008ed42fb
BLAKE2b-256 b6a224764aa28eafa8a712f0625af4fc234ba5ddfa1091c48a55468977e7c3c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 0c4b616f022bcfa26bec1d589413bd9fd46a6d6007e193ed9601e2a9a3c3656a
MD5 956473a4556968c8b4e6da8d505f9744
BLAKE2b-256 1dd09c48f8ec09e9cbaf23f566e0b39184a443b3974e38af771d954ccc9459cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2a624525e19cd7cd1aae412af08b27ff1b02533cd2a63687a3b5d63387f9bd47
MD5 4851cecdbda14b23f31f531619ec5d12
BLAKE2b-256 d0666be25d8eb6c3c456979f453612a23696aade86c56f9f18e6d6b010672ef6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 a4a2e1c810ef36a7588a30f054399a479414e2c43a7e97369b0b92cb9665da3e
MD5 2e347ea48a7d79a416ad6d5d82c42d62
BLAKE2b-256 45b1c6470a22f4e1149958240d2a978e61b7ad45e0158a40e2984687f01f6ca0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 edec5ee688da2686d1749474857ae4390bb749f953061a6e25acb5ea2d731363
MD5 32b4894532c9446311145133f2e8c113
BLAKE2b-256 63d6d5a21ba45f3d12204eeb876913ffcc6df1845b15ed1d17153197543ab1d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 17636fb4265585d3ec4887dd9e8ea528fab19a7d7f092cef38739a10df4d74e9
MD5 6432fd285401f88347b7623a776c4873
BLAKE2b-256 6b51344dc6ae9b4bfd32907bc636f67cf9bb21ed30b3a2f242eaf8407e9fbf51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 99f5091abfdf9e40e46c8c65c52af134f46c51dae79c50cb73c5081d1b21fcaf
MD5 ec0050fbf2c8c6845ade3414565dc803
BLAKE2b-256 5533c63a6c88f7803997dd5e3f332594d7ae80de71915d0d16f32e411cae94df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ea92b29b30b00da4de5556af16d421936d4e1d33189e7b9ea64a327d9e06e5a3
MD5 ef1ecbeafc6f29cb2c648b64d95a5829
BLAKE2b-256 2db082003e59a0417440683f08b231a2fafe675bb948cf809e3ae69f5f268f48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83cd7263b45aa38cbab2228f0c60e63f8d5abc2a3e4df5d3e0a66e4bb39cf679
MD5 64171f6a115f9c4c915a90c00e1ef2c0
BLAKE2b-256 d4dfe1a7ea60a2e77b24205fb63283d050734e1797306cfbbcc53649be0974f7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f79a4432a55296c94961e9ffb9a95b48cfa3062ac887a1a8fada8ec373257569
MD5 86b89483bfab0fd6f1918cb0c45d39ef
BLAKE2b-256 fcb79849c890715df7c32a4efb42541ec97f2ceba8f90001489f69e10467147a

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