iqm.cpc.compiler.compiler.PassFunction

Contents

iqm.cpc.compiler.compiler.PassFunction#

iqm.cpc.compiler.compiler.PassFunction#

A function that takes the data and context as arguments and returns the modified data and context. The context is a dictionary that can contain any information that needs to be passed between the passes.

alias of Callable[[Any, dict[str, Any]], tuple[Any, dict[str, Any]]]