Skip to main content
IBM Quantum Platform
翻訳情報

このページの追加言語翻訳は近日公開予定です。

PreNode

class samplomatic.pre_samplex.PreNode(subsystems: Partition[int], direction: Direction, *, trace_info: TraceInfo | None = None)

GitHub

Bases: object

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

Attributes Summary

コラム「 1 」
コラム「 2 」
directionThe direction of virtual gates that can interact with this node.
subsystemsThe subsystems that virtual gates act on.
trace_infoDebug trace information, populated when building with debug=True.

Methods Summary

コラム「 1 」
コラム「 2 」
get_style()Summarizes the style of this node when plotted via plot_graph().

Attributes Documentation

direction

Type: Direction

Default value: <dataclasses._MISSING_TYPE object>

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

subsystems

Type: Partition[int]

Default value: <dataclasses._MISSING_TYPE object>

The subsystems that virtual gates act on.

trace_info

Type: TraceInfo | None

Default value: None

Debug trace information, populated when building with debug=True.

Methods Documentation

get_style

get_style() → NodeStyle

GitHub

Summarizes the style of this node when plotted via plot_graph().

このページは役に立ちましたか?
バグや誤字の報告、またはコンテンツの要求はGitHubで行ってください。