PreInjectNoise¶
- class samplomatic.pre_samplex.PreInjectNoise(subsystems: Partition[int], direction: Direction, register_type: VirtualType, ref: str, modifier_ref: str, sign_idx: str)[source]¶
Bases:
PreEmitThe inject noise emit node type used during samplex building.
Attributes Summary
The direction of virtual gates that cat interact with this node.
Unique identifier for modifiers to apply to the Pauli Lindblad map on this node.
Unique identifier of the Pauli Lindblad map to use for noise injection.
The type of virtual gates to emit.
The index of the output array to write the sign to.
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.
- modifier_ref: str = <dataclasses._MISSING_TYPE object>¶
Unique identifier for modifiers to apply to the Pauli Lindblad map on this node.
- ref: str = <dataclasses._MISSING_TYPE object>¶
Unique identifier of the Pauli Lindblad map to use for noise injection.
- register_type: VirtualType = <dataclasses._MISSING_TYPE object>¶
The type of virtual gates to emit.
- sign_idx: str = <dataclasses._MISSING_TYPE object>¶
The index of the output array to write the sign to.
- 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().