hugr-qir

hugr-qir converts HUGR packages into QIR, with both a Python interface and a CLI.

The primary goal of hugr-qir is to let users write programs in Guppy, compile them through HUGR, and target backends that accept QIR as input.

In particular, this package is useful for targeting Quantinuum’s H-Series systems from Guppy code.

hugr-qir does not yet support all Guppy features, so some programs will need to stay within the currently supported subset.

Use hugr-qir if you want to write guppy programs for H-series systems.

Start with Getting Started if you are new to the project.