composableΒΆ

A Protocol for a composable pass.

Functions

implement_pass_run

Helper function to implement a ComposablePass.run method, given an inplace or copy-returning pass method.

Classes

ComposablePass

A Protocol which represents a composable Hugr transformation.

ComposedPass

A sequence of composable passes.

PassResult

The result of a series of composed passes applied to a HUGR.