PreNode

class samplomatic.pre_samplex.PreNode(subsystems: Partition[int], direction: Direction)[source]

Bases: object

The node type used during samplex building, different than the type in the final samplex.

Attributes Summary

direction

The direction of virtual gates that cat interact with this node.

subsystems

The subsystems that virtual gates act on.

Methods Summary

get_style()

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().