pygsti.modelpacks.smq1Q_XYI

A standard multi-qubit gate set module.

Variables for working with the a model containing Idle, X(pi/2) and Y(pi/2) gates.

Module Contents

Classes

_Module

ABC for modelpacks with GST information

class pygsti.modelpacks.smq1Q_XYI._Module

Bases: pygsti.modelpacks._modelpack.GSTModelPack, pygsti.modelpacks._modelpack.RBModelPack

ABC for modelpacks with GST information

_germs

a list of “full” germ circuits, found by randomizing around the target model.

Type

list

_germs_lite

a list of “lite” germ circuits, found without randomizing around the target model.

Type

list

_fiducials

a list of the fiducial circuits in cases when the preparation and measurement fiducials are the same.

Type

list

_prepfiducials

the preparation fiducials.

Type

list

_measfiducials

the measurement fiducials.

Type

list

global_fidpairs

a list of 2-tuples of integers indexing _prepfiducials and _measfiducials respectively, giving a list of global fiducial-pair-reduction results for _germs.

Type

list

global_fidpairs_lite

a list of 2-tuples of integers indexing _prepfiducials and _measfiducials respectively, giving a list of global fiducial-pair-reduction results for _germs_lite.

Type

list

_pergerm_fidpairsdict

a dictionary with germ circuits (as tuples of labels) as keys and lists of 2-tuples as values. The 2-tuples contain integers indexing _prepfiducials and _measfiducials respectively, and together this dictionary gives per-germ FPR results for _germs.

Type

dict

_pergerm_fidpairsdict_lite

a dictionary with germ circuits (as tuples of labels) as keys and lists of 2-tuples as values. The 2-tuples contain integers indexing _prepfiducials and _measfiducials respectively, and together this dictionary gives per-germ FPR results for _germs_lite.

Type

dict

description = Idle, X(pi/2), and Y(pi/2) gates
gates = [[], ['Gxpi2', 0], ['Gypi2', 0]]
_sslbls = [0]
_germs = [[[]], [['Gxpi2', 0]], [['Gypi2', 0]], [['Gxpi2', 0], ['Gypi2', 0]], [['Gxpi2', 0], ['Gxpi2',...
_germs_lite = [[[]], [['Gxpi2', 0]], [['Gypi2', 0]], [['Gxpi2', 0], ['Gypi2', 0]], [['Gxpi2', 0], ['Gxpi2',...
_fiducials = [[], [['Gxpi2', 0]], [['Gypi2', 0]], [['Gxpi2', 0], ['Gxpi2', 0]], [['Gxpi2', 0], ['Gxpi2', 0],...
_prepfiducials = [[], [['Gxpi2', 0]], [['Gypi2', 0]], [['Gxpi2', 0], ['Gxpi2', 0]], [['Gxpi2', 0], ['Gxpi2', 0],...
_measfiducials = [[], [['Gxpi2', 0]], [['Gypi2', 0]], [['Gxpi2', 0], ['Gxpi2', 0]], [['Gxpi2', 0], ['Gxpi2', 0],...
_clifford_compilation
global_fidpairs = [[0, 3], [3, 2], [4, 0], [5, 3]]
_pergerm_fidpairsdict
global_fidpairs_lite = [[0, 4], [0, 5], [1, 0], [2, 0], [2, 4], [2, 5], [3, 0], [4, 2], [4, 4], [5, 1], [5, 2], [5, 3]]
_pergerm_fidpairsdict_lite
_target_model(self, sslbls, **kwargs)