pygsti.io.StdInputParser.parse_dictline¶
-
StdInputParser.
parse_dictline
(s)¶ Parse a gatestring dictionary line (dictline in grammar)
Parameters: s (string) – The string to parse. Returns: - gateStringLabel (string) – The user-defined label to represent this gate string.
- gateStringTuple (tuple) – The gate string as a tuple of gate labels.
- gateStringStr (string) – The gate string as represented as a string in the dictline.