PreEmit¶
- class samplomatic.pre_samplex.PreEmit(subsystems: Partition[int], direction: Direction, register_type: GroupMode, *, twirl_gate: str | None = None)[source]¶
Bases:
PreNodeThe emission node type used during samplex building.
Attributes Summary
The direction of virtual gates that can interact with this node.
The type and distribution of virtual gates to emit.
The subsystems that virtual gates act on.
The gate name used for
UniformLocalC1sampling, orNone.Methods Summary
Summarizes the style of this node when plotted via
plot_graph().Attributes Documentation
- direction: Direction = <dataclasses._MISSING_TYPE object>¶
The direction of virtual gates that can interact with this node.
- register_type: GroupMode = <dataclasses._MISSING_TYPE object>¶
The type and distribution of virtual gates to emit.
- subsystems: Partition[int] = <dataclasses._MISSING_TYPE object>¶
The subsystems that virtual gates act on.
Methods Documentation
- get_style()[source]¶
Summarizes the style of this node when plotted via
plot_graph().