Skip to main content
IBM Quantum Platform
翻訳情報

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

PreEdge

class samplomatic.pre_samplex.PreEdge(subsystems: Partition[int], direction: Direction, force_register_copy: bool = False)

GitHub

Bases: object

Edge data on a samplex builder’s graph.

Attributes Summary

コラム「 1 」
コラム「 2 」
directionWhether the edge is moving forwards or backwards in circuit-time.
force_register_copyWhether the edge should force the receiving node to get a copy of the register.
subsystemsThe subsystems that virtual gates act on.

Methods Summary

コラム「 1 」
コラム「 2 」
add_subsystems(new_subsystems)Add subsystems to an existing PreEdge
get_style()Summarizes the style of this node when plotted via plot_graph().

Attributes Documentation

direction

Type: Direction

Default value: <dataclasses._MISSING_TYPE object>

Whether the edge is moving forwards or backwards in circuit-time.

force_register_copy

Type: bool

Default value: False

Whether the edge should force the receiving node to get a copy of the register.

subsystems

Type: Partition[int]

Default value: <dataclasses._MISSING_TYPE object>

The subsystems that virtual gates act on.

Methods Documentation

add_subsystems

add_subsystems(new_subsystems: Partition[int])

GitHub

Add subsystems to an existing PreEdge

get_style

get_style() → EdgeStyle

GitHub

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

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