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

Uploaded CPython 3.14tmusllinux: musl 1.2+ i686

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.14tmusllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ppc64le

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ i686

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARMv7l

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

Uploaded CPython 3.14tmanylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.14tmacOS 11.0+ ARM64

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

Uploaded CPython 3.14tmacOS 10.12+ x86-64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

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

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

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

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ s390x

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ppc64le

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ i686

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARMv7l

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

Uploaded CPython 3.10+manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

hugr-0.17.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.17.0.tar.gz.

File metadata

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

File hashes

Hashes for hugr-0.17.0.tar.gz
Algorithm Hash digest
SHA256 5468ae00c922fc34a1c4132e511b942bea4c19bc8fc23c03f21eaa56eb8d12aa
MD5 08f0863c33be8ee568036ff0530800ee
BLAKE2b-256 84936aa0c7c50fdb59435c4c27954fbac2a7b7cec40ae2668e6b50b183483f1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b9804338edc46df5714e4b2936d9995880a9ff1106d7ebeb9a4b82e0ccf8a729
MD5 4e831c2f8309539e23ebf25435dadc3e
BLAKE2b-256 a5812ad1d6a8fa336b13bc0682071ccca043ee79552f7f68c5c18c8473e005cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 bb509fc5bc101661848960ba4d21858d2c949f8dd47a63d5daeec52060bbd944
MD5 35efa643b2a32c008b8ea6f6996d0b1e
BLAKE2b-256 9c0c05ca76ceae818b219e71d7af4da5abe08dbcff11dbe16670bdc7d462b0f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 750ce8f4a062059d29eee0b073b338160fcb955bfeb7c7a513c7d9f2ffb7f92f
MD5 c74fdb262f1ee20fafb8b8505d22c3f7
BLAKE2b-256 cc6be4738d964ffabd07e0e6778aec849626bd6deb7eed44e9d9e500896fb230

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b204540bcb00678c2d542d4c393108e75a3bdc6923c30fc7b50888035eb8e248
MD5 74826a8f8cd452a167d7d1b2f72c2d40
BLAKE2b-256 75f80680c4bb4e053c148c3edfad7feaea544c8d0d92976f840795ca1cfe6e2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98a936242a3eac4b38d817a802efb3bec3a7bdb20219f706fb1df92e9c302a95
MD5 2fc71891f6b67b6348fcede934f03517
BLAKE2b-256 0e5ca69341ba0bd2eb9c0a30ffc538792943852d2c251a0990a47258d016a770

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 7d75407c929d711b35b6ed91037256bf6ebe7d0ed71851d91d216ee7b22adf25
MD5 fb193fa89219ff847ed11b435b39c865
BLAKE2b-256 71fd4f67409a29467c14459aa1b671de12c9a424ac15013de3ea10a79184c8da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 b495194f0b990afe58e13b1299786b301e947c8c006b11754252521f482682fc
MD5 010a8ebfcdd06073029a585f30557149
BLAKE2b-256 f75156bf12421ebb5485641c77cc5e36b056cce43dd0a52706f3ad15c0f3a7e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 d08c378b7eadefe55a7455ec9c6ab6ef5765616d2005e9b6f5b514c8ce9a425d
MD5 7269f343c91531eb1f3fb2d46541133a
BLAKE2b-256 b9c5fcfa1bd8f2a4b572286a2f09e2f7282ec783042302d96abaa6ad95d46358

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 568e80b80ed1623840eaa2a72f0a6849679530fa15bb46f45359bf1092cb1eac
MD5 a364a5ad83bfd8102dd743e97c4f35e4
BLAKE2b-256 19bcfd52341e5a50030613ff6a37c0e307a510815a5f0b0afa10b743f6dc4a78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cb3122deead0c937274109a8cccb975440d4347010c7431bfd3970260717eadb
MD5 4e77368151c89ee32f8dc356eb6725ab
BLAKE2b-256 e873846e2b21c772ba2a796d96989f2eb3d32af685406f8ca604e48d0d3cb316

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f4d075c31e45dd10ad34e9257c4b8becd93d9a8e879afeb158a2abec0bbc1e79
MD5 bc58c4c4e8364c1cc636e16ef2a60cef
BLAKE2b-256 b2f17bf8b11e126d4bcd7e3e03826b13377fd9cec7732959455d56e0ea1d1fe5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp314-cp314t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 80f0376dfe17aa017b532c3f308ae40736a70b2ae6b3e93107b9ec125aa38245
MD5 6bda5d3cc06addbe885a1ba24e157734
BLAKE2b-256 3448a236349e6d3e26325ac0287bee1556146b518842aa36bee181ccfa48e491

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.17.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.13.3

File hashes

Hashes for hugr-0.17.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5fcbfbf436f1bbdfe6da91dfb776d79959fdcd4d954983a92cc875eba89760b0
MD5 89d5f047b92efe1197f26f0fe98b7d7b
BLAKE2b-256 4a83cc3bde7a74add6f66cb0aadd10037dcd94161fa5dada2dca376de6e6af22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.17.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.13.3

File hashes

Hashes for hugr-0.17.0-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 0447bb86059a9a12fd5d4b8c06d9420e01cfa794dc348b8800ec584e276ece5f
MD5 471c152b62ec347d33bd41be0660aea6
BLAKE2b-256 92a33de32ba48df6517e7eafda4b09fb23ed6b56fc111023a50b276ea4fca23b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ece50b7c037f237e994bacebe7b832489e78a9e3b904a6def4af19de610827cc
MD5 31eb794f3069704cde85ead5a9dbfecc
BLAKE2b-256 a0967b0501f5e70ee3d70fe04ffa733b63ccd1621541e8f467dc0b1f556d0b44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 22503da8800acedda9cc89643af8c39ca83587e9bebf07c7f53aec1f2da997e7
MD5 900c2cd817eaa53fa9b058eb792d1cd4
BLAKE2b-256 8cd30db77f899884981f7fcb46df36ca2698f4cc02550864c06644afd77d6968

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 6e5c1931856ad545c5f80bccfca73e4c4c6efa2eeedfb00e5787cb9782e51c4e
MD5 02a65fb5c83e40ddafbbfafe48c74e8c
BLAKE2b-256 7d638c5c3cca666df8075412e091d88be87900327b440a8bbee4195fb1a0035a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 de387c64b5715c4cde6aa0ad15e8bf0fbe1aef6c218e6cfe78391640c217cb5f
MD5 8f54469f1629cff42611f9baa3f84163
BLAKE2b-256 c51e30d9dc815e99da60cc06d41f736763249858b12970c230143d9e2ffe186d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c46d384a297baca07e0c2e4dbe12a82c348533bbb6a2f72013686b4c86ecb5a2
MD5 79a3dd057f9f11cfdf5968694952253e
BLAKE2b-256 ba575ba0b5b79a1072da9f507c18c97b9bc729c4faa609d9340cadb74f8b5bf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-manylinux_2_28_s390x.whl
Algorithm Hash digest
SHA256 fb2761bbd3f63055b1a75971984ecb0fd92f6ee912b312b40651bdc27cc8db5b
MD5 8f8de182ac09ebc8aa19b4d77f907107
BLAKE2b-256 b1bded4cea5528e7e86d0f17bc03a1acad76eb1985540456aecae7af0036e024

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 0154302f99bb455932062b4b535d18b423eafaa63f79b266c7325cb62bfa2698
MD5 28ffcc50cdd540090b1b8ec4c23ab50e
BLAKE2b-256 ba5e28480c69ceb3df6dac1218125841e159534effbc92e9e10980d733285379

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-manylinux_2_28_i686.whl
Algorithm Hash digest
SHA256 e712d93d7995a047a73fd37649b300607befbd20fc37290a6183f7bbaebe407e
MD5 805006a38f738c9c0f25a9829e5725f8
BLAKE2b-256 4bd8ba7ce859b83cd7857728fafb9f539f94aa107595bcc8000d1493764f44af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-manylinux_2_28_armv7l.whl
Algorithm Hash digest
SHA256 a59ab48ce3fe1262ad0aecc13abccfd509852e2fc2ff2d002e564a1613b533fb
MD5 914b54ff35195f4ade70b317e21313ee
BLAKE2b-256 ff041a4b7c6d669a3261d10ef953f0e703834eec016b3f2b669073b9c2e795fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 db6655ffc6d6d1f79e9f8d6c13fff533bf1f5b24e3f358fb365587891fe04493
MD5 8e1de61b777202567cced8085d0a468c
BLAKE2b-256 98721d65839040d95b08469bfd02cc3c6bd595a1cd3379b1347604894f812b07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7c3073fed17250f26378648581975f1dbd536dc2be376a36bbb937028aab537f
MD5 18f13aad520443edef703fed80a7e510
BLAKE2b-256 60a97902c41a41a80aa901a14f0881f7ad887a3020aa82cf41e312ecd098120d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.17.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f4d6f653c4203f59c3b5fbc7a3d0960381247dba20568cd49616a559db74916c
MD5 390b9275546d21ab8c54fa48c3144dda
BLAKE2b-256 55dad73dc20de80c3408ea6cf95fcf0448c008d367482155d517ffade937b734

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