pygsti.objects.GateSet.__init__

GateSet.__init__(default_param='full', prep_prefix='rho', effect_prefix='E', gate_prefix='G', remainder_label='remainder', identity_label='identity')

Initialize a gate set.

Parameters:
  • default_param ({“full”, “TP”, “static”}, optional) – Specifies the default gate and SPAM vector parameterization type. “full” : by default gates and vectors are fully parameterized. “TP” : by default the first row of gates and the first element of vectors is not parameterized and fixed so gate set is trace- preserving. “static” : by default gates and vectors are not parameterized.
  • effect_prefix, gate_prefix (prep_prefix,) – Key prefixes designating state preparations, POVM effects, and gates, respectively. These prefixes allow the GateSet to determine what type of object a each key corresponds to.
  • remainder_label (string, optional) – The special string used within SPAM label values to indicate special behavior, either the use of a “complement” POVM vector or a SPAM label which generates probabilities such that the sum of all SPAM label probabilities equals one.
  • identity_label (string, optional) – The special string which acts as the key to get and set the identity vector.