hugr

hugr#

hugr is a Python package for the Quantinuum HUGR common representation.

build

Classes for building HUGRs.

exceptions

HUGR builder exceptions.

ext

HUGR extensions.

hugr

The main HUGR structure.

ops

Definitions of HUGR operations.

package

HUGR package and pointed package interfaces.

std

Types and operations from the standard extension set.

tys

HUGR edge kinds, types, type parameters and type arguments.

utils

Shared utility classes and functions.

val

HUGR values, used for static constants in HUGR programs.