FromParamsBound

Contents

FromParamsBound#

class hugr.ext.FromParamsBound(indices: list[int])[source]#

Bases: object

Calculate the type bound of an OpDef from the join of its parameters at the given indices.

Examples

>>> FromParamsBound(indices=[0, 1])
FromParamsBound(indices=[0, 1])

Methods

Attributes

indices