51 releases (17 breaking)
Uses new Rust 2024
| 0.26.2 | Apr 2, 2026 |
|---|---|
| 0.26.1 | Mar 19, 2026 |
| 0.25.7 | Mar 6, 2026 |
| 0.25.2 | Dec 30, 2025 |
| 0.6.2 | Jul 29, 2024 |
#84 in Programming languages
2,398 downloads per month
605KB
12K
SLoC
hugr-passes
Warning
This crate is deprecated. Use tket::passes instead.
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.
This crate provides compilation passes that act on HUGR programs.
Usage
Add the dependency to your project:
cargo add hugr-passes
Please read the API documentation here.
Recent Changes
See CHANGELOG for a list of changes. The minimum supported rust version will only change on major releases.
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).
Dependencies
~28MB
~434K SLoC