pygsti.objects.StaticGate.transform

StaticGate.transform(S, Si)

Update gate matrix G with inv(S) * G * S,

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