PreInjectNoise

class samplomatic.pre_samplex.PreInjectNoise(subsystems: Partition[int], direction: Direction, register_type: VirtualType, ref: str, modifier_ref: str, sign_idx: str)[source]

Bases: PreEmit

The inject noise emit node type used during samplex building.

Attributes Summary

direction

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

modifier_ref

Unique identifier for modifiers to apply to the Pauli Lindblad map on this node.

ref

Unique identifier of the Pauli Lindblad map to use for noise injection.

register_type

The type of virtual gates to emit.

sign_idx

The index of the output array to write the sign to.

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.

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