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.18.0.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.0-cp314-cp314t-musllinux_1_2_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ppc64le

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ i686

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARMv7l

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 11.0+ ARM64

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

Uploaded CPython 3.14tmacOS 10.12+ x86-64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

hugr-0.18.0-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.18.0-cp310-abi3-musllinux_1_2_i686.whl (3.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

hugr-0.18.0-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.18.0-cp310-abi3-manylinux_2_28_s390x.whl (3.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ppc64le

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ i686

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARMv7l

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

hugr-0.18.0-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.0.tar.gz.

File metadata

  • Download URL: hugr-0.18.0.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.0.tar.gz
Algorithm Hash digest
SHA256 0dd2c2dc1ad15cd52fa4a29d73f90e1b104c154a87449625bf2a24a0371cf557
MD5 78da3470f43565b9df132c3c75721390
BLAKE2b-256 ccbd74987e0971907327fe6b9f9417c900a4eaeaafa4be873ccd5a32e0a25743

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 15b33641c8af296136d0d2993462d3e8ce20f1e07396a928ca85a7676d1ccc19
MD5 679de10f9555d14df35a388a6d788c9c
BLAKE2b-256 2c25ba440fccd2b2e90cf634fc548a1c035ee005679850136d5d9ad510a9ed5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 427e19546ea715b2cbb70c8407362964bb2895f71e1e5b8efc3ffe163cffcdb3
MD5 7f565122ea6cbea6663b0fa5c8c196c2
BLAKE2b-256 86d962730c69d674aaa3001a239585b95c6de7211f549b087789962b533dd95a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 a97ced97f31681bb6e3113c5d32ea85df8eb0e3e0c7e7cf730be143f749e85e7
MD5 208f6113aa95d78dd0fc0bbda8fd187d
BLAKE2b-256 aff217bf4bc81e2337843c1ac1601c92da9304191d1edea965a44e9598e67fae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 a40d8fc4b0143215574b3f20c3eab0550bdbdd4e04a10e54c5bfe08330efc0c3
MD5 1f6e1ab9615ad0961a32eb1540d646e8
BLAKE2b-256 228e1089fb9e27c73295380ac9712f7712c72217c468b193dfb2850089239c39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fe2103ed55d7f39994060c0891e8c2fd4f4830b1fa7c12c4fa1ae31dafac80ca
MD5 8382042d86a19517486dd5b1807ddd94
BLAKE2b-256 df9efbb2ddc356f1d5d1779b90da93b6a60713aec883e06bd91bc9755e641847

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 96bb09a6229ba440345ee26d880c4f9adc0394142aad21d2970ea6df4844eef7
MD5 8d2055bb56dbe722ba041c4cae62a90f
BLAKE2b-256 336d3dca9bb6f5c4219a7c9a29528d5b4c8e555e5dd3f3684ad2253421b6bb4e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 601328c55baa47ff13b07303b38cc43159ef3bc969681e30e9a02a7ce0a2e7f5
MD5 20bc45d9545e92fa72cdf494563160b3
BLAKE2b-256 cea25d4fabf8f936663de68023fe8ed9bd2b6cd78826776477d46e42d70e1abd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 988cc50fef9b60b8a3fb9e59f386a99c92a6088888dc4c9f4f076efcea50ec41
MD5 6a78e73e2fad75a957a9b03584d7965a
BLAKE2b-256 444f48789b5f83d30cf40597a93c392dbff079c8fb977bbab5c804e1b4c249fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 be259fe5a78c6d44448de617fff7308bfe39b27665e53be7e6381cba040f9328
MD5 b7a9659e93ad380fc4c1cbdb51d8eafa
BLAKE2b-256 cd9fbdd58ab9c30f3bc594cb9c7b291bf55ec45b2478b4527df968765644064d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 556d06eaf68f0f4a1c468f8fc4212496cd490d2ae65298c28b3796a05e5fd7a3
MD5 c9319737695daa280a383e97d63041c6
BLAKE2b-256 3d9bf67ea2001ae9b48ddc3cf11fb011c66d3fc01d4eb86d63584444084c5f1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a43163fd6f31ba2c1c80d05ad0eb523ebdc25261ccc72c29361d23947b911d7d
MD5 df5884e7eba85a0b6cb388b934ce667a
BLAKE2b-256 ba36ebe240af15283b065cfb75b08548bac63da342720b01fadd2e03c4935bfd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f1bcf72ab92bc17a8cd0cd5538a355bfa21c4d6cb709aabb656e479d61ace906
MD5 ab25f7d6feadd50a6e0b0c0f7fb9c2ff
BLAKE2b-256 337ed79f4731585de54e28955527ab9fdfcd4589abd5457d4653867492078351

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.18.0-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.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 29501465a0424ba7afac7c489209ec7fe121c00f3463ec510eb204edd0e6a7c9
MD5 43bb1c0d923344d1077d2d9eb9f66dcb
BLAKE2b-256 6a878c2e473ac576974519278f151e2a9e2befb60d65c1b509d4a1e74754be08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.18.0-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.0-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 c454d780bca04b2ec3c9e2a55972f703f22deb1822ac2626285ec83c64c01e40
MD5 c8d0d1451d12b52d3aa4ede60d3a73a7
BLAKE2b-256 0a2446b8163f7230fdc5f3f6ef17c1abe69f9244ea4a75b67ceefb9bedba1177

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eba50c18d947b5e0c9a18f6e0e91bcf07d2854483e6450fd11f34740157ca756
MD5 da6081b63f0a50fa2c31e47514236fcb
BLAKE2b-256 b8720caee298c12cbe698c783f4e43289ef8c8e2a135c7d61ab7803a5aaa2425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 12f872599aa40cc5630d1cfe11c367c6a1797363eeb94075d9ed0cef5b2e8910
MD5 4dfbc940114cc9f3998a355e3b8a4689
BLAKE2b-256 220642a35e54591823bdecc0321a67582bc921ceccbd70d0d96e38538aa3ca5b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 cd4dff5c68357dd3f9b10512bed583989ce57e40fc010922b01ecd71713b1256
MD5 941409ed3b2f171956d013fb330a6536
BLAKE2b-256 e07dd525bf600e553c6b025ba12fb72f136483746f15826e300b00add9421a66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2903e96b56964f75a40a3705cc6883862d6cfc01c6287a6f50d62c38ea2052e1
MD5 68bd69fb9071f8392afce9686e9796c1
BLAKE2b-256 695cc7f0e1fb6a2e5993d6dcef1c88c719e972289995dc1b04660d1d3b7b9af6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5126c254a6e104066f5f85b8dd4df0ae910f1a1f9f30667f3c2fe45e3e7b3330
MD5 b8d0c48b48bccf1f2c2dea3bd58ec24b
BLAKE2b-256 01c38854bb645235e0e1d8967cbef4f98ca60c594c3696d6208972bca802d5e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 36626fabeb999851ed929905c4923706311817b9ffe91a4b9fe400a717835670
MD5 5c2bdff24ed2f18102ff43463c80177a
BLAKE2b-256 2c470846168d87c07dc4786b57d18c6b322487baea493a6e8fd6869bf9aba5a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 2b2286a388abca3050b5a35a733161449c59cf35ea5ebabb7da1f7f27da6d099
MD5 3837ba0afd8c2594f885bf8fa893a05f
BLAKE2b-256 893a2093cd044b93aeb9c70649cf1fe11ca3899f43444ef3df4681291026ddfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 8e458c9007c455128d513a0f52bd73cbdd23208f807be107c8a1bc978b8fd5ee
MD5 c753f55d511def7ecdf3c4b5dcb2a4e7
BLAKE2b-256 78bab799aedcdece1df71d27da474d09d437ab052cb6df3259a670efe287f9d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 c26f401378aa46a61fc1a724713a0310527bf50e5815cb4084104f44c2f112e5
MD5 5f87164069b008abef0a94d6a56b7a53
BLAKE2b-256 72f85ff0aff09c2fb70e9f65736813bf2e9fb590a0b717be79d478bd008d3d50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1d2027780b732a85aa1757b3ff9256650d9b1c612b72c98bda2bdd5d62da3642
MD5 ab3f3cd3fd3be5d035ef084af6ca8403
BLAKE2b-256 1711f360a09483c1880019f5176cb84b854842ee70548c15bdcf496f104659be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bfb9f736159f60048cd036723a7f472e52b96b17ccd6c07f93ed2652c0c54dd5
MD5 f83d0f1ded5bc129a5e941e562b8610d
BLAKE2b-256 7257785bea7d09d1ad657436240b8fd06ec30fa65e28f9098522240f2417afa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bbedf6546777d39240ceb9b1fef0fc3c480ee1d5668cfa9890461f83aeab8ac9
MD5 7c54a80db10602216ee2adb1595bafea
BLAKE2b-256 ea50209b065205bef4506e0e48843cd5b484aae29f5dc30ce81611de21ce32b3

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