pygsti.objects.GateString.__init__¶
-
GateString.
__init__
(tupleOfGateLabels, stringRepresentation=None, bCheck=True)¶ Create a new GateString object
Parameters: - tupleOfGateLabels (tuple or GateString (or None)) – A tuple of gate labels specifying the gate sequence, or None if the sequence should be obtained by evaluating stringRepresentation as a standard-text-format gate string (e.g. “GxGy”, “Gx(Gy)^2, or “{}”).
- stringRepresentation (string, optional) – A string representation of this GateString.
- bCheck (bool, optional) – If true, raise ValueEror if stringRepresentation does not evaluate to tupleOfGateLabels.