pygsti.construction.list_random_gatestrings_onelen

pygsti.construction.list_random_gatestrings_onelen(gateLabels, length, count, seed=None)

Create a list of random gate strings of a given length.

Parameters:
  • gateLabels (tuple) – tuple of gate labels to include in gate strings.
  • length (int) – the gate string length.
  • count (int) – the number of random strings to create.
  • seed (int, optional) – If not None, a seed for numpy’s random number generator.
Returns:

A list of random gate strings as GateString objects.

Return type:

list of GateStrings