pygsti.modelpacks.smq2Q_XYCNOT

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 CNOT.

Module Contents

Classes

_Module

ABC for modelpacks with GST information

class pygsti.modelpacks.smq2Q_XYCNOT._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 CNOT gates
gates = [['Gxpi2', 1], ['Gypi2', 1], ['Gxpi2', 0], ['Gypi2', 0], ['Gcnot', 0, 1]]
_sslbls = [0, 1]
_germs = [[['Gxpi2', 0]], [['Gypi2', 0]], [['Gxpi2', 1]], [['Gypi2', 1]], [['Gcnot', 0, 1]], [['Gxpi2',...
_germs_lite = [[['Gxpi2', 0]], [['Gypi2', 0]], [['Gxpi2', 1]], [['Gypi2', 1]], [['Gcnot', 0, 1]], [['Gxpi2',...
_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], [0, 5], [1, 3], [2, 4], [3, 8], [5, 5], [7, 0], [9, 3], [9, 9], [9, 10], [10, 8], [12,...
_pergerm_fidpairsdict
global_fidpairs_lite
_pergerm_fidpairsdict_lite
_target_model(self, sslbls, **kwargs)