bloqade.qasm2.groups.extended
← Module overview
function
source
functionextended¶source
bloqade.qasm2.groups.extended
def extended(py_func=None, *, fold: bool=True, typeinfer: bool=True)Decorator callable: use the bare decorator or call it with compilation options. The displayed signature exposes the returned pass options, not the internal factory’s self parameter.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
py_func | — | None | Python function to compile; omit when using the decorator with options. |
fold | bool | True | |
typeinfer | bool | True |