pygsti.io.write_gateset

pygsti.io.write_gateset(gs, filename, title=None)

Write a text-formatted gate set file.

Parameters:
  • gs (GateSet) – The gate set to write to file.
  • filename (string) – The filename to write.
  • title (string, optional) – Header line (first line of file). Prepended with a pound sign (#), so no need to include one.