pygsti.objects.EvalTree.initialize

EvalTree.initialize(gateLabels, gatestring_list)

Initialize an evaluation tree using a set of gate strings. This function must be called before using an EvalTree.

Parameters:
  • gateLabels (list of strings) – A list of all the single gate labels to be stored at the beginnign of the tree. This list must include all the gate labels contained in the elements of gatestring_list.
  • gatestring_list (list of (tuples or GateStrings)) – A list of tuples of gate labels or GateString objects, specifying the gate strings that should be present in the evaluation tree.
Returns:

Return type:

None