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.2.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.2-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.2-cp314-cp314t-musllinux_1_2_i686.whl (3.8 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

hugr-0.18.2-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.2-cp314-cp314t-manylinux_2_28_s390x.whl (3.8 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ppc64le

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ i686

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARMv7l

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 11.0+ ARM64

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

Uploaded CPython 3.14tmacOS 10.12+ x86-64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ppc64le

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ i686

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARMv7l

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

hugr-0.18.2-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.2.tar.gz.

File metadata

  • Download URL: hugr-0.18.2.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.2.tar.gz
Algorithm Hash digest
SHA256 1c5da4c8a2381e4e5a482485096df42cd0e6c37b8fc2040f02a13d32090fcb2f
MD5 c476392783bce33e778266ddd77bf715
BLAKE2b-256 bbdf3abe3c8861ebe967efb05721fef077ed18e5d3a94e2c8d0ad7a1cce3f350

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 60ef4fc4fdf79c85713936125a31953504dfb1ecf2f62bf5a79e78a938f8bd76
MD5 c03a8b76152e1bc7cbd146a3f86c8e0b
BLAKE2b-256 9d930b6522153f2cbe9b6f2cd0c2d30fb59f37e86a409b42fffeb7fe5e497cb9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 f293daae4ed830cea187604dc16a6f2bd275beeee6797c68f9caf9c5d1aced12
MD5 3dda02ff3af3a212697fcf08a229bbbf
BLAKE2b-256 acc630dd263e8537dda80d8aa409daa89e8dd8cc1fa8929d994523d6fdd75d88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 f94e13178508ed5df358a2347ed82ec7348d5b0153f3e70ea3e9967b9770ab3d
MD5 645d61cdea51dabfe448a2f321e7749b
BLAKE2b-256 da4794971ab3db66edf97678d947066072af7f4771de56c0df9220ed9fc7613e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2365434bbebef33da2f0150eb69cbb883495b930245b25bd6f31d8c56fa49fd3
MD5 b4e1c410e4cc079f74c49c7c7c16ecd9
BLAKE2b-256 61ec6e27760b59015b61558c1a5cdca9e162a88e9549a4bdccd378dd16f3cdab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c07f77d786565f2e6d9372564b30c063873a420bced2ab40e2b4a0c115124064
MD5 04b79af70d6d3f39f4759ad51d2d30c5
BLAKE2b-256 a71046531d69c70f760e249b432d27325916e9e774acd37f46d15434a655db23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 018e00db2d5528023b61e4049247fce48d4be6f272d5f0ecde8fd4e74c55d4c8
MD5 f1d319a52d5d64bd3f431d857322aa79
BLAKE2b-256 5da2a5b7214c436ece009782c39e7e197bb3205f2a6f1e48478ae51333335b94

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 d6a18c82c941250551fdb5604e050982b87f89ab0b5912d5a9e42d9356d21822
MD5 ee8ad27c3845f07a5a996ef716a1255a
BLAKE2b-256 2047062d5afd5f9f2672f69198c0c0702e72bc3956e30da1e721ceab8ca73cc3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 db56b4b6c8fdaf47cb7e249547c6355ca5cc5110c3b0d23ce68ca5219c796412
MD5 5f9d1289cda5cbbf4754daf367865654
BLAKE2b-256 52a246e3d9eea52c59df44ea834da771b168df3edf09c7bd1418898d63529f08

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 b85ec0b56358b771c54f4ec2aeab3b1528a6d782d8f36292abe2a1811706105c
MD5 a69bc9baf22b816fcc6bc0374ee95e4f
BLAKE2b-256 0f1e57e4daa3f5d8a4f1062220d20d85a8dba14bf8e02a4543198026e1add8bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6d992e82277d6891b1877c68eb273c7e766cab9beac5b82649297d5c04360ac2
MD5 5b13ed2a716db1e8dcf51c75d6454524
BLAKE2b-256 f1bc722d2c03c98ec8bd948822998d17177630fb84fe07a831c6f420cd0c32a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a0af8ad7d5e87395d82f96b73c425424faad0e4afb14f60cd3cb8a17560889b7
MD5 ab2038bd33f9f3951525576f36d6e12a
BLAKE2b-256 b9e4e5bfa58b05703ae5c8c2a5f1d3435d03df3570ba078884e8f32e3ee34a44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 344e69bb0fb1fb5aa5268f162b4cf6259eb2627c2ff4b70509543c9bc716204b
MD5 00209c3b2997fc67882b62a09163f305
BLAKE2b-256 8acc26e27cbbb672014b70b9e3a75a3fa2afb274a491d62f259b48b1e78476b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.18.2-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.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8144ec59c3a1b184ce669c7e2222cb96efc7dc37c009244ef812ca1681bf9a56
MD5 dfc0e7a505bc0e1f25b64ee34702fb16
BLAKE2b-256 dcfdb8450ea0e61291e67e4bf0dfc0f0ce7264a1339a7ca0e2b292bfd5c79d17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.18.2-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.2-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 b4367b0d1b38b8065b624324714b31c7d28245f4191827ff9e1ff95c218d73f9
MD5 5c66c4cf9c26b5e911e659133988d2e9
BLAKE2b-256 9a7d5b8392a2167f9fc65702bfc1659d0609ad38f9c2f61e32c642557812126e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d9634115826f0e5851539d8dbabe5f2a1af7ebc66eadc2a13d2b978d09a8f094
MD5 d3bc162f05c26a36f81d9e06e81df8c6
BLAKE2b-256 c90020fabe79e19d0277ed67612bd5dcf63d843dac3baa7ced725ae371e2574b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 9d56a9bdfe37954da746b86c2c401c015a42162b5051de5e70e4144cfe2b112e
MD5 45cc52d01d000a7985a719bfbce43c10
BLAKE2b-256 dd98fde0e103a7dd0a7b9aee83dcc310e8d6ab8e1193b99edaf24e36932e02e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 52fb0377c87a35b3412c0cb8926a7dbbd94848cad62102519258bd98682848e0
MD5 a2b6ac2b67d4ecb711276f29ef92a7f5
BLAKE2b-256 22431a762b8d71f414d1a9dff290221e9c197be98226a8857b945c6ab8afdad1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8ae891195de4921fb52c706ccc880eb23ac2196cc237db5c4d12022775b194b8
MD5 7c845805ebbbebd6c0364ab1153aee75
BLAKE2b-256 db3d5c2dc419cad735b21a0d138c323904d6002364bff2826cd7174d89d370d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 32eb2894966236203c98402c496606b06f8b6b077aca7fb593b0c278cb423950
MD5 c49b8bcd9044b2113404a4803dbf4f7c
BLAKE2b-256 85b1365a32f651048fa9b33eb9b4892021e34fd7e9cc4df208fe4d5812c61b29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 d64e48b6c7e96370dc1bb36ec71817978cb36cd7dcf7c515f357904323e5479f
MD5 8d493751cf3bf718321101106b6b36b9
BLAKE2b-256 f264beffb3316d2a57403f2ac912d5ae7766c4cc3a9730aa0ebc4ae6a3e45a2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 9a68fa9c3c6ce85e5aaa8f53698d0a285f8ddf9df55bed9ff39e0bf380b4b253
MD5 03bf5633ccf88a3f67dc0c009997d48d
BLAKE2b-256 e932feb33e2e95ab5094908f294841572fa18691ad6fb0768fdfcc1e0490fe7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 ae028b755ef0f909b2b9794a91c950e223dfa63ad35455c033d24df922bd3015
MD5 6b34ae85df84aaf27a0b526a4fc7d9ce
BLAKE2b-256 dd5f3481149cbaf779a4bb0dfba5c02c3194d656569a8c174b0e10bf2407ee8f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 d8a60c2502a82452c011ff38457705c27a2dd0b9b8a4bc6b6c32726b30f4731b
MD5 999ba91e0ada8241a509363a7d10dc5e
BLAKE2b-256 c724e443d7b3d882c66a6f126976c52f47a7fb3f632683763fa567a10c8c3434

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f94a7e55fc814f006ee30d752471b7d43e1934408632749c9fe040b31e1f31bc
MD5 ac89cd1897f07d4126bd48b656782679
BLAKE2b-256 d573db2a17bcbdfdf6ab4170559e2d7a4dad5183c5f7d80281863cfba50a246a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e2cbb36cf4bbe05feac64e996b6a1125d850beba978db52dbfc3f0408ed6044d
MD5 ddace6cf557f93ba12a1d37876290835
BLAKE2b-256 96199168150b0c72021d392402bb163edddd26511f83b69e0f1f4c97996bd203

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.18.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 264f60a8701ecda4948fc7015fbf7bc37eb7f382427a157566ca5dd03d8425b2
MD5 785dd26dad9d5e06b87daf43a745c704
BLAKE2b-256 a60e0b8fb969dca3939cb0e5c1978fe8c665e7dad24d7cda910b736610f6f6ab

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