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.8.1.tar.gz (124.7 kB view details)

Uploaded Source

Built Distribution

hugr-0.8.1-py3-none-any.whl (78.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hugr-0.8.1.tar.gz
  • Upload date:
  • Size: 124.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for hugr-0.8.1.tar.gz
Algorithm Hash digest
SHA256 d36b49b413422466f2bd65ce86b81fc5fc2b1e08ab2cabc01d51b67a458903cd
MD5 68fb2b133abc1e7e8e866ee81027c845
BLAKE2b-256 6bd1737a7a26413d8df56d99a6c445635d8fa22df739b4a6b030bf8cdb44fe4f

See more details on using hashes here.

File details

Details for the file hugr-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: hugr-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 78.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for hugr-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b4d7a43c54532069ee8c5ac03afd511854eea725b6207fc178d3a8e7b2c911e2
MD5 57e7bfcbbc0203406cf7c5301798dfa7
BLAKE2b-256 44e3878d1a3c730b152fbd8bb9d49aa32ad102152952205634f332e752910b97

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page