pygsti.objects.GateSet.diff_jtracedist¶
-
GateSet.
diff_jtracedist
(otherGateSet, transformMx=None)¶ Compute the Jamiolkowski trace distance between this gateset and otherGateSet.
Parameters: - otherGateSet (GateSet) – the other gate set to difference against.
- transformMx (numpy array, optional) – if not None, transform this gateset by G => inv(transformMx) * G * transformMx, for each gate matrix G (and similar for rho and E vectors) before taking the difference. This transformation is applied only for the difference and does not alter the values stored in this gateset.
Returns: Return type: float