pygsti.construction.create_gatestring_list¶
-
pygsti.construction.
create_gatestring_list
(*args, **kwargs)¶ Create a list of gate strings using a nested loop. Positional arguments specify evaluation strings, which are evaluated within the inner-loop for a nested loop over all list or tuple type keyword arguments.
Parameters: - args (list of strings) – Positional arguments are strings that python can evaluate into either a tuple of gate labels or a GateString instance. If evaluation raises an AssertionError (an assert statement fails) then that inner loop evaluation is skipped and list construction proceeds.
- kwargs (dict) – keys specify variable names that can be used in positional argument strings.
Returns: Return type: list of GateString objects