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.3.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.3-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.3-cp313-cp313t-musllinux_1_2_i686.whl (3.9 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ i686

hugr-0.15.3-cp313-cp313t-musllinux_1_2_armv7l.whl (3.8 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ ARMv7l

hugr-0.15.3-cp313-cp313t-musllinux_1_2_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.13tmusllinux: musl 1.2+ ARM64

hugr-0.15.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

hugr-0.15.3-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl (4.1 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ s390x

hugr-0.15.3-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.3-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl (3.8 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ i686

hugr-0.15.3-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.3-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.3-cp313-cp313t-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

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

Uploaded CPython 3.13tmacOS 10.12+ x86-64

hugr-0.15.3-cp310-abi3-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.10+Windows x86-64

hugr-0.15.3-cp310-abi3-win32.whl (3.2 MB view details)

Uploaded CPython 3.10+Windows x86

hugr-0.15.3-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.3-cp310-abi3-musllinux_1_2_i686.whl (3.9 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ i686

hugr-0.15.3-cp310-abi3-musllinux_1_2_armv7l.whl (3.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARMv7l

hugr-0.15.3-cp310-abi3-musllinux_1_2_aarch64.whl (3.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

hugr-0.15.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

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

hugr-0.15.3-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (4.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ s390x

hugr-0.15.3-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.3-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.3-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.3-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.3-cp310-abi3-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

hugr-0.15.3-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.3.tar.gz.

File metadata

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

File hashes

Hashes for hugr-0.15.3.tar.gz
Algorithm Hash digest
SHA256 bef849966ea4dadc36bcfbf6940947db5e0b579040a6da07a79eef1dfe02a50f
MD5 c96896c2fec32fae46b00d512b5cec97
BLAKE2b-256 208a1d772b69aa9ecff72260d4cb96f0de81917b9cec43af4103566edbc4ab88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 23c8e951ec5869705ebcf8995f7ebbb6c3da5b892dd00209580d036e0ae21c6c
MD5 e1263bf2924a4e078195c9288f8c5429
BLAKE2b-256 112f3143779ebf88279d6448db1274175b54291d632b196ebb2788f8b8a17b45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 21398a50d8052630cab0b4a83f0aef2d012841f11fb1954cd9566bfd301da375
MD5 09497310b3b305d56b3774f949bc8ed9
BLAKE2b-256 41b99ff1cb87796b602dbe9ae7e830097ab73a5eaf0d3ea2b4ea14a2c6d268ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 729e936faa3b138d5cc9bff620f9bc065483b7594d805458dfdbc61a40f10a91
MD5 3be177b1fa7a10ce5a36aa7f6f3de1ee
BLAKE2b-256 0586e928f2379c50eb90a9f325a4eb0f34f8214425ffb49e3754221319b1abf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 633c30fcc999a7ec2ef2c86d41dcf00bb7950cd5e90780389ecb699d0977572e
MD5 0c56e2bfcbee43f7e51d1d355feb3ed8
BLAKE2b-256 ba8706268d40a05919ce05f3a734972e3903f9645a86b3b4e4a0d408aab91fae

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 802e91559b2444bebf7d56e279de2136e503825536c0d9077bcf3fee13d23bcc
MD5 0c117a73a2fec1bb5fc1087c58985647
BLAKE2b-256 71afe972b0a5345c25b6f701a9dab2661388cc3d6ec3a7d4404199b774eb5f29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 26d86bf00190c76e174a98f16b94ebbe7d46ba39580095e7fb8a4d949f96da88
MD5 e637b1601a6bf7e217bcc86c3a6b0fca
BLAKE2b-256 54d722aa32f612ce64b0ee02af47a4f7634178d89ef0e576cea0c8e12345c962

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 a75486febe2ab62dec9bc6fb1e025dc77eae32e48b1341f159f14f06b1088f69
MD5 bb589283edc0c7948cd0b248eeebda1f
BLAKE2b-256 61b4733c9b044eae9d1b542bfb21a46d0a57776d4563d33748179ff96ef41c70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 abfca2050974b76101d8561d3911fd3acf6a3da8d5213dbe578890e255fb9be8
MD5 b6c3dfcbd82275d0975e0299d50e82da
BLAKE2b-256 ad3099103d976fb09654045013578185053ffca31c0ea873f1a90cb2b4d69e53

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 2b6660e4cdd7e284670e46abf70177c52c02798256c26213ae200732595025e3
MD5 decddaed90bd86656d2e45fa5523e3ad
BLAKE2b-256 cb7202dc7a3516d25e8521a5e229b870372d2d424e96b460bc219ddf760feb07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d091ec665602282900ade8eb94aa66c2463e7c89263437ae573dc762353369e8
MD5 522a5dbf2b7240064878d3e519447073
BLAKE2b-256 202e6b4865b147621ec4ae6628ca2967fc057b422befee8c53a1b66c1ae08a89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 17bc48bb23e2f106599bca0e529ada5bf1d3d1fda1c1e5416aac4bd16c4a78a4
MD5 4028cf20df8c76b7bb06ef16344a5afb
BLAKE2b-256 37398ab51f6ed896ee28cd122d11a7792d4efecc5a2eeb36687b729cba14138e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp313-cp313t-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d796da3a1cf683cf4e7739eba211bf38106d220db081555bb997f09cae5592db
MD5 e7b99ff051a6864e44debdef0e21fa57
BLAKE2b-256 c4a03d2afed7bb47df742b23e4cdaca928b4e65f6748ae7194fa21a4b5dfff59

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hugr-0.15.3-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dbd6f148186a3e5da3907a65ce8211001b24858b8aaed749f9b3020ba4d710b6
MD5 0f7d25d126c5b76899e9585f86029b46
BLAKE2b-256 e1da31bd06bdc1de73242545dcf323f6fa79d59fed2861ae5f7d88a26b75fe1d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hugr-0.15.3-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 3d8c3dd3a2930e54aa528d1a8fe360465e60b375d007010f1d6ddbfb80a8300a
MD5 9a224ae6a931754195f80b5f9870ab2a
BLAKE2b-256 1ebd55593ca63d87f91a28343a4be2d7ea8d008986fca726ef064051924bb667

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bdc8e8442ee7cbddfceda441d11382e2b905a01c2e9b60a4b5c3e996f1b4ae9e
MD5 0fe8d45b2945f9d7bd0ac38a1e1a3c28
BLAKE2b-256 bd3baf36aed8be7c422643f17478c999dfdbda0f78842e4ec52e2a7ae3014ba9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 1a838945d8749926a88413eada4f01c5021e4700f347c314ec3b884f74e99dd4
MD5 49171c512ba29c97480b0cb9a70f142f
BLAKE2b-256 736241908f2fcbc39858d30451e83e76aace63120c65fd83c360326a599600f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-musllinux_1_2_armv7l.whl
Algorithm Hash digest
SHA256 f50fa6ecebc904de28ceb47090fa5f73e8831f14df9da8b45b14054d0d8e488e
MD5 0ba18c80315f90134ddbee7337da0bc9
BLAKE2b-256 cdf2e197e931060779fb14f7164937f18a8887f33dec7708b1ccdc35d11f0282

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 2854dcae9f8a1f21f611359e804ca34cdeab8be10382a4bdbda79faf651c6674
MD5 3eaf125fc128e1cec6cce1fda1bcafad
BLAKE2b-256 76580a27bab6629d0b6e411fabc86a4d649ee274433254ac61ee63e16d8f3c79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 21820b45cc5046132c7077ad5ddeb0debb18bffe7a253aee82e66fdb97da1c58
MD5 4d9887b9fea7072ee173ccdb9ec6a2f2
BLAKE2b-256 06da2cc540e22d8da80599a5f87bc81c73a2cce63cec9ccef5b9185f9fe112f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 ecb487e71f17ee5a89a835ebf062a54f10e7b26f1c33ef65d331200f2e7a7a4f
MD5 c2d33d6fcd823f82c1b66c0bec8db76b
BLAKE2b-256 ee633f61f99e8464111af631053fab5f693c874e04c771159021ae984b13b6a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 0b38c24c32d6c82d01da355ee7fde7f51056e97a36213235e2a7f74d01331e55
MD5 e7f3952787219fb11bd66f4057cc5975
BLAKE2b-256 6e3cf88b1f32dbee57ff4add52fe7a024764f329ff6a17c6963111b378e7a8bb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 df21e90741b0f77105507e72cba567a00345cc9947e3fcb17680b91b2e27f45a
MD5 2e1699a475ff3b0c1b290a81999ae9b5
BLAKE2b-256 fc407530901c4158840299545316107333f42818ee04e2dfefa94f7025099a70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 480ff3a97ebda2f7945aacfc783f9acafa6bc0504d0b98316029243b30a7d0c6
MD5 5f2d37e9e83788f774dae42645b8963b
BLAKE2b-256 37698bd1bf53c661538a08ff1f09498936e488d44ab3c0958be86ac1dfe31d66

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 05affb6c8fb07fc15bcf2c8fb2a9cc1959994e05113983deff09541bb119c4d6
MD5 8c3b3807912284dcb4d0c8845cffca91
BLAKE2b-256 dd9954f140e56af986b2d1e2a75d564b6d743afeb889315c290db5995a7c04d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5d33fecb2006bb6741929cff0a73d4e79ca6644f0477340945343034795d3b16
MD5 0f8c7a8156a003307235c8e030e61c73
BLAKE2b-256 7b3389c09309f9fa1bd655c10f9aae32915beed4b55979d1802e3fdb5238a66d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hugr-0.15.3-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d19c932fffe3ea22ad009ab2563f83994620e199105815af828f9e74684f8e06
MD5 c0430f605350f5df9f9c09315e909acb
BLAKE2b-256 674d232c561461c1c04360c180ad7ac1daad8d0971a63c6057cdcb9661c2c3c0

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