Skip to content

CQCL/hugr

Repository files navigation

quantinuum-hugr

build_status msrv codecov

The Hierarchical Unified Graph Representation (HUGR, pronounced hugger) is the common representation of quantum circuits and operations in the Quantinuum ecosystem.

It provides a high-fidelity representation of operations, that facilitates compilation and encodes runnable programs.

The HUGR specification is here.

Features

  • pyo3: Enable Python bindings via pyo3.

Usage

Add this to your Cargo.toml:

[dependencies]
quantinuum-hugr = "0.1"

The library crate is called hugr.

Development

See DEVELOPMENT.md for instructions on setting up the development environment.

License

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