bloqade.stim.groups.main
← Module overview
function
source
functionmain¶source
bloqade.stim.groups.main
def main(py_func=None, *, typeinfer: bool=False, fold: 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. |
typeinfer | bool | False | |
fold | bool | True |