Skip to main content
IBM Quantum Platform
번역 정보

이 페이지의 추가 언어 번역이 곧 제공될 예정입니다.

PreEmit

class samplomatic.pre_samplex.PreEmit(subsystems: Partition[int], direction: Direction, register_type: GroupMode, *, trace_info: TraceInfo | None = None, twirl_gate: str | None = None)

GitHub

Bases: PreNode

The emission node type used during samplex building.

Attributes Summary

칼럼 1
칼럼 2
directionThe direction of virtual gates that can interact with this node.
register_typeThe type and distribution of virtual gates to emit.
subsystemsThe subsystems that virtual gates act on.
trace_infoDebug trace information, populated when building with debug=True.
twirl_gateThe gate name used for gate-dependent sampling, or None.

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.

register_type

Type: GroupMode

Default value: <dataclasses._MISSING_TYPE object>

The type and distribution of virtual gates to emit.

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.

twirl_gate

Type: str | None

Default value: None

The gate name used for gate-dependent sampling, or None.

Methods Documentation

get_style

get_style()

GitHub

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

이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.