pygsti.objects.GateSet.transform

GateSet.transform(S, Si=None)

Update each of the gate matrices G in this gateset with inv(S) * G * S, each rhoVec with inv(S) * rhoVec, and each EVec with EVec * S

Parameters:
  • S (numpy array) – Matrix to perform similarity transform. Should be shape (dim, dim).
  • Si (numpy array, optional) – Inverse of S. If None, inverse of S is computed. Should be shape (dim, dim).