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.

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

Uploaded Source

Built Distribution

hugr-0.2.1-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hugr-0.2.1.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1021-azure

File hashes

Hashes for hugr-0.2.1.tar.gz
Algorithm Hash digest
SHA256 899203ee02000a0ed3fe36ae1bf3f3ec5e06bddfa4d53bea15ab06aa8b452de5
MD5 f8ad911936e000b90c4ffe4df6904a21
BLAKE2b-256 f61f7045872ee5ca3c1225f2277db441be7d6ee44c5df98718ffd2396d2d4119

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hugr-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1021-azure

File hashes

Hashes for hugr-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9bed349f342740d1f7e92859f8c12553d494f39ff26216eadbbdfd92513f64e6
MD5 a320ac2a6c90b1fdd2723331ec9b18cd
BLAKE2b-256 81687032c8d7cffb88478fba8110b2b5d0be40423b6fbdb6e290ae474c31cc4a

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