pygsti.modelpacks.smq2Q_XYICPHASE

A standard multi-qubit gate set module.

Variables for working with the 2-qubit model containing the gates I*X(pi/2), I*Y(pi/2), X(pi/2)*I, Y(pi/2)*I, and CPHASE.

Module Contents

Classes

_Module

ABC for modelpacks with GST information

class pygsti.modelpacks.smq2Q_XYICPHASE._Module

Bases: pygsti.modelpacks._modelpack.GSTModelPack

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 = I*X(pi/2), I*Y(pi/2), X(pi/2)*I, Y(pi/2)*I, and CPHASE gates
gates = [['Gxpi2', 1], ['Gypi2', 1], ['Gxpi2', 0], ['Gypi2', 0], ['Gcphase', 0, 1]]
_sslbls = [0, 1]
_germs = [[[]], [['Gxpi2', 0]], [['Gypi2', 0]], [['Gxpi2', 1]], [['Gypi2', 1]], [['Gcphase', 0, 1]],...
_germs_lite = [[[]], [['Gxpi2', 0]], [['Gypi2', 0]], [['Gxpi2', 1]], [['Gypi2', 1]], [['Gcphase', 0, 1]],...
_fiducials = [[], [['Gxpi2', 1]], [['Gypi2', 1]], [['Gxpi2', 1], ['Gxpi2', 1]], [['Gxpi2', 0]], [['Gxpi2',...
_prepfiducials = [[], [['Gxpi2', 1]], [['Gypi2', 1]], [['Gxpi2', 1], ['Gxpi2', 1]], [['Gxpi2', 0]], [['Gxpi2',...
_measfiducials = [[], [['Gxpi2', 1]], [['Gypi2', 1]], [['Gxpi2', 1], ['Gxpi2', 1]], [['Gxpi2', 0]], [['Gypi2',...
global_fidpairs = [[0, 1], [1, 2], [2, 7], [2, 10], [4, 0], [5, 4], [5, 8], [6, 5], [6, 8], [7, 10], [8, 5], [9,...
_pergerm_fidpairsdict
global_fidpairs_lite
_pergerm_fidpairsdict_lite
_target_model(self, sslbls, **kwargs)