PreInjectNoise¶
- class samplomatic.pre_samplex.PreInjectNoise(subsystems: Partition[int], direction: Direction, register_type: VirtualType, ref: str, modifier_ref: str, sign_idx: str, *, twirl_gate: str | None = None)[source]¶
Bases:
PreEmitThe inject noise emit node type used during samplex building.
Attributes Summary
The direction of virtual gates that can 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 virtual register type of the noise injection.
The index of the output array to write the sign to.
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.
- 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 virtual register type of the noise injection.
- 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().