pygsti.construction.gatestring_list

pygsti.construction.gatestring_list(listOfGateLabelTuplesOrStrings)
Converts a list of gate label tuples or strings to
a list of GateString objects.
Parameters:listOfGateLabelTuplesOrStrings (list) – List which may contain a mix of GateString objects, tuples of gate labels, and strings in standard-text-format.
Returns:Each item of listOfGateLabelTuplesOrStrings converted to a GateString.
Return type:list of GateString objects