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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file hugr-0.2.0a1.tar.gz.

File metadata

  • Download URL: hugr-0.2.0a1.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-1018-azure

File hashes

Hashes for hugr-0.2.0a1.tar.gz
Algorithm Hash digest
SHA256 82d708f39615a345f1e10ea9560883734b93d91bda9ec878aeb8c33db0bbd712
MD5 371643827493be1d082ac2946aa8d564
BLAKE2b-256 3d6daf987f3879c60122c1ec883fc2710e12f328485c22276b27796e9f66db98

See more details on using hashes here.

File details

Details for the file hugr-0.2.0a1-py3-none-any.whl.

File metadata

  • Download URL: hugr-0.2.0a1-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-1018-azure

File hashes

Hashes for hugr-0.2.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cb599e33aa12d3bee475bdf2304b38fcbdf05059bc32fc7cdcfaa596a6dde7f
MD5 70e516cca2ab918b5bffccb08b151967
BLAKE2b-256 288e20f24896677558952660006d0d612d7ac2a74e19f905b1c4e3da017a5a9d

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