GroupMode

class samplomatic.annotations.GroupMode(value)[source]

Bases: str, Enum

Which set of gates and distribution to sample with.

Attributes Summary

BALANCED

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

LOCAL_C1

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

PAULI

Sample the Pauli group uniformly and iid.

Attributes Documentation

BALANCED = 'balanced_pauli'

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

LOCAL_C1 = '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.

PAULI = 'pauli'

Sample the Pauli group uniformly and iid.