pygsti.construction.list_partial_strings

pygsti.construction.list_partial_strings(gateString)
List the parial strings of gateString, that is,
the strings that are the slices gateString[0:n] for 0 <= l <= len(gateString).
Parameters:gateString (tuple of gate labels or GateString) – The gate string to act upon.
Returns:The parial gate strings.
Return type:list of GateString objects.