pygsti.objects.GateSet.set_gate

GateSet.set_gate(label, gate)

Set the Gate object associated with a given label.

Parameters:
  • label (string) – the gate label.
  • gate (Gate) – the gate object, which must have the dimension of the GateSet.