Skip to main content
IBM Quantum Platform
번역 정보

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

GroupMode

class samplomatic.annotations.GroupMode(value)

GitHub

Bases: str, Enum

Which set of gates and distribution to sample with.

Attributes Summary

칼럼 1
칼럼 2
BALANCEDSample the Pauli group, balancing the proportions of I, X, Y, and Z.
LOCAL_C1Sample C1 gates that stay C1 under conjugation by an entangler uniformly and iid.
LOCAL_PAULISample from Pauli gates that stay Pauli under conjugation by an entangler uniformly and iid.
PAULISample the Pauli group uniformly and iid.
PHASESample the phase group I, Z uniformly and iid.

Attributes Documentation

BALANCED

Default value: 'balanced_pauli'

Sample the Pauli group, balancing the proportions of I, X, Y, and Z.

LOCAL_C1

Default value: 'local_c1'

Sample C1 gates that stay C1 under conjugation by an entangler uniformly and iid.

Sample the Pauli group if no entangler is present.

LOCAL_PAULI

Default value: 'local_pauli'

Sample from Pauli gates that stay Pauli under conjugation by an entangler uniformly and iid.

For non-Clifford or parametric entanglers, this mode currently uses the subgroup of the Paulis that commute with the generators. For Clifford gates, this mode falls back to the Pauli group.

PAULI

Default value: 'pauli'

Sample the Pauli group uniformly and iid.

PHASE

Default value: 'phase'

Sample the phase group I, Z uniformly and iid.

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