Skip to main content

Quantinuum's common representation for quantum programs

Project description

hugr

build_status codecov

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

The HUGR specification is here.

Installation

The package name is hugr. It can be installed from PyPI:

pip install hugr

The current releases are in alpha stage, and the API is subject to change.

Usage

TODO

Recent Changes

TODO

Development

TODO

License

This project is licensed under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

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.15.4.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.15.4-cp313-cp313t-musllinux_1_2_x86_64.whl (4.2 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ x86-64

hugr-0.15.4-cp313-cp313t-musllinux_1_2_i686.whl (4.0 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ i686

hugr-0.15.4-cp313-cp313t-musllinux_1_2_armv7l.whl (3.9 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ ARMv7l

hugr-0.15.4-cp313-cp313t-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ ARM64

hugr-0.15.4-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

hugr-0.15.4-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl (4.2 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ s390x

hugr-0.15.4-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (4.1 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ppc64le

hugr-0.15.4-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl (3.9 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ i686

hugr-0.15.4-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (3.6 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARMv7l

hugr-0.15.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.6 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ ARM64

hugr-0.15.4-cp313-cp313t-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

hugr-0.15.4-cp313-cp313t-macosx_10_12_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.13tmacOS 10.12+ x86-64

hugr-0.15.4-cp310-abi3-win_amd64.whl (3.6 MB view details)

Uploaded CPython 3.10+Windows x86-64

hugr-0.15.4-cp310-abi3-win32.whl (3.3 MB view details)

Uploaded CPython 3.10+Windows x86

hugr-0.15.4-cp310-abi3-musllinux_1_2_x86_64.whl (4.2 MB view details)

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

hugr-0.15.4-cp310-abi3-musllinux_1_2_i686.whl (4.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

hugr-0.15.4-cp310-abi3-musllinux_1_2_armv7l.whl (3.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

hugr-0.15.4-cp310-abi3-musllinux_1_2_aarch64.whl (3.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

hugr-0.15.4-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.0 MB view details)

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

hugr-0.15.4-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (4.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ s390x

hugr-0.15.4-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (4.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ppc64le

hugr-0.15.4-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl (3.9 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ i686

hugr-0.15.4-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (3.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARMv7l

hugr-0.15.4-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

hugr-0.15.4-cp310-abi3-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

hugr-0.15.4-cp310-abi3-macosx_10_12_x86_64.whl (3.7 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for hugr-0.15.4.tar.gz
Algorithm Hash digest
SHA256 0a0d72daa37854dd933fcea7c4ee0c715c21efdf2365700762f9c6f57afc0c50
MD5 ee7a7444c9e584e9c520a0684d673ebe
BLAKE2b-256 f2fe676058e746b7509d2c80123c22444d81e5f470b7bdcd2c1159185b9a4749

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a81eda22b9315906ef90fa73a9c4193fb5fd3485ea7a879f3c61a77e33c85450
MD5 9b396cccae076b4fc1fde8f7f8231297
BLAKE2b-256 10fe83616826ab058c80d02c9e69b9330156713f4642403d83123d237e90d464

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 7f52df31ecab7e8aaaa28be47671e2fb9ebeaf2ea978665fb851e64e4460a1b7
MD5 5ad43ccab4864df8642b9406eb4382ae
BLAKE2b-256 1f2379429d327aca17b1074c394c082e18d0860e633d7d360a64e6a02f179273

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-musllinux_1_2_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 fde6826753c7b3e9581b92231890706a084f9be1d063620aa68a4869408b0df8
MD5 5bb70bf3274308b75bdd4e6ff3af0c49
BLAKE2b-256 87a3f6799c8380c495af3ebd1341becf53feb11721807fafa602ec4d848d24e4

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e695834e99ddcf98465a5d5907c5877edd9bcd1c68f60372b770a75b838022bd
MD5 cacf335617f9e5b10ebf32ef4c3024d8
BLAKE2b-256 5be2c790d50e5bc909444ae372c80a788df817a91aa783851b7b95d475ebcc04

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6547b072bfb3fdc892992969669b9a1af7526365f9ba067d085a17bca4b9056b
MD5 f9e9756f0f7647af7cce0e330b0807bc
BLAKE2b-256 a0ca5888c6a6a3b1a67343bb863741e8f9f7faf82bc5b04a8e54afc8a99366c4

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 f60bccf1d8a240d4e47337495e1c3796f7b4427598f327e9ebba823864933cb4
MD5 e456eb8aa0f855beb8100780f9279d38
BLAKE2b-256 c2de96a83a31973027e1bf5f4ae51a9d20d0ec18644285375a1fc8160430bb2e

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 d8056372332789d1328c25ba493b756dc6918c7ff93677637c1be0affb8c4675
MD5 f411844456c6dc8adafba26f2db6c0a6
BLAKE2b-256 a338cb749ba447e790b5e2afb96e6a66689c8a427c95f5cb9dcbf5ca056f99b2

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 731e4405832aa4f5be8dd5e30a853ebbd88d9ac9e50f6ca9e2a40690d771ed7a
MD5 60dbe53311dd50d87cac4b6f0dbdb1b1
BLAKE2b-256 92713ded41c860f90b00353894330e196c1b9fc4a89a5625cc538ae0ed5bcb7e

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 b9e57da8071a987be37fbe294a8049b8ce7d61494c4e1b7ec8cfafd5f6894896
MD5 b950ba521694a2fa024468a833d52e19
BLAKE2b-256 8bc7db23b9364c84f72d9d950afaaabe319b5eb5ed3fe36ca6b66b7a7531c0cd

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 685c2ca64b2a1dad94dc025501bb93a9742cc4dc97d1886fa65e0eed33c8c607
MD5 8f511ef9cf80c1d8f90d674a546f73d3
BLAKE2b-256 a31a72050d4744ba97ddeaa5b073eb9489d680b9838667696f7f83e4c11196fe

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 00c79ba03ebd93cd2930452adfe096396849f54ecb7f249dd3da6e75bf5593b6
MD5 5eb1096de02cf9d5680db0cceadb0034
BLAKE2b-256 566cf7d6be5911299f20c26a3bab5489fdf60cd2249e754a8b18e3d8955d0a83

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp313-cp313t-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp313-cp313t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 efdc2521d62854cb1b410fc58fd0cdcdb4b7a0fc0ad6541402aee129792eea37
MD5 0383436ec301d64918e527842163a72b
BLAKE2b-256 b5913f24f7d9af4ac945ba96ec4fa0174891d220a14de0f01dec25b52617ee0f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hugr-0.15.4-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ec416a0bf673a67efe52d2b8e7912921839cffb797f11ac79ab360cac4bee2ce
MD5 24415619b587076d56028d21a53d7814
BLAKE2b-256 f746f67200d556b36f321e240cd82cf79ac27e8208698d2aef192dbc376c08b5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hugr-0.15.4-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 98a633f30cb3334786ad847465670df44c27bd5c8b16d81f45d7ba7e9925ea59
MD5 5197a56bfe0e409e6352aba4b74c358a
BLAKE2b-256 e33aabaca253c27a7fda9078002917649a2b431114b83d7a07c37b3bd737e12e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8c4e6d9ef297849c46fd9827db48b3e768b041c96e4ccb4ed036cdfa3b69a055
MD5 a7b5ab4d25601e27e1e9a348d470a00d
BLAKE2b-256 f83a0cddb1f0d5ccefa2130f1aa03f592c4f65fd65d5bf0ae4268a007fbfeba9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 bccfd6293928924dbcd65793f72f958b1db73785924fdf921dcd48632efe4345
MD5 18be721b1365814979819267de98af10
BLAKE2b-256 c69f3c66b77328dc46cb4c3d3df0f4cbfb7733346774e7a125525f23d8fddfbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 392c7c316a521129ff38414ed779a9b129517b10c733e8936f167901fce43f0f
MD5 b1548f26cefed704a75fe5149df96cad
BLAKE2b-256 b00ed7b3954c306d38cc86ca9af8f0962c3fe63ed38cbf9e56ba7a5075ebbdc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 9cb1402a8d363c81f0f1d0831bb1951f534a666b79fa55b72be5416de9b34acc
MD5 d0ac6ced8a1309bde39322d2137c0611
BLAKE2b-256 e83a1e5af2a8a9521c3e5813f2269c088bbd0b2ca90b9db0ed8374f36c1dd0f4

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 39c025244e0e66ef7b18735ae31f2909d0553843375922ffe2afb4231f3271da
MD5 55c73bc812d84391e2eaa78b96fa8237
BLAKE2b-256 91a8b420dcbf6902637f68a5210635fc0cab3505605739c635ecf0cb60025098

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 6252da7f1dddc2d854420700fd1a5dd67f215c8c5182d469eedc023aa320484c
MD5 c4661c1620252b9177cd1b2bed88220d
BLAKE2b-256 dfe48f383056983052f0d729455bad4595c35014ce6903bfe9895693f0efc4ac

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 7614c5a66969ebea0c2eb5098f8dc985fbe7b9edc81e70cce98326bf0bf18c67
MD5 d2b53f4e43b85d7d529d41714123fe6c
BLAKE2b-256 356deaef430e984f0ef715b5857e85ec1a347f837850a03a9c34f5ff08740cd3

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 85d489ada2727c2cfcfccfd03d6b2dc007c76b2655425d30d6004d26abf2223c
MD5 f89de2b02eb07071048cf95c59ef5a17
BLAKE2b-256 81b94d1bce1a9525428b51a4f41cb48d257bfff811488756a90026e0a4e18f73

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 e8d962f2bdad0fd265ae21470b28f595e652dafde60fb50af0d0c565cf5b3b3b
MD5 f3e3c2f0eb3edd64eaccb1b4d4b8be16
BLAKE2b-256 ff118f52c403f85e13330d6adec274b1b3ad0f41a91542cf1d8364029997643e

See more details on using hashes here.

File details

Details for the file hugr-0.15.4-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5bf973c130aff874008b912e17683e5cbfffdc9db2793515945c43aedbee41b1
MD5 e674e0099340085a9382cc56556d6d30
BLAKE2b-256 49f84efcca2432ce8dbb00471790967ae17aaad9af438bd162750edaca909a44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 203f733efe157c9c43d0314e5e7afe723416a1ac9088b53ac4b907785219fc5a
MD5 3c36a2331493dae819f981e1594adb8d
BLAKE2b-256 e8f2a368acdebfec252c1301327fa50faf7306110437a5f8c5a73332141b83d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.4-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9002ce346931e20240c14d2dccde3e6f7e51ec77834b444a9b1d8c70fd954415
MD5 f30563a0c98f02d00d01d4ba2070d2a9
BLAKE2b-256 cef1fb73bdf8d8da5c01338785163b3de5331c8bc31f5f4a4410eabd1d1ea7c9

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