PreNode¶
- class samplomatic.pre_samplex.PreNode(subsystems: Partition[int], direction: Direction)[source]¶
Bases:
objectThe node type used during samplex building, different than the type in the final samplex.
Attributes Summary
The direction of virtual gates that cat interact with this node.
The subsystems that virtual gates act on.
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 cat interact with this node.
- subsystems: Partition[int] = <dataclasses._MISSING_TYPE object>¶
The subsystems that virtual gates act on.
Methods Documentation
- get_style() NodeStyle[source]¶
Summarizes the style of this node when plotted via
plot_graph().