pygsti.io.write_gatestring_list

pygsti.io.write_gatestring_list(filename, gatestring_list, header=None)

Write a text-formatted gate string list file.

Parameters:
  • filename (string) – The filename to write.
  • gatestring_list (list of GateStrings) – The list of gate strings to include in the written dataset.
  • header (string, optional) – Header line (first line of file). Prepended with a pound sign (#), so no need to include one.