pygsti.objects.GateSet.kick¶
-
GateSet.
kick
(absmag=1.0, bias=0, seed=None)¶ Kick gateset by adding to each gate a random matrix with values uniformly distributed in the interval [bias-absmag,bias+absmag], and return the resulting “kicked” gate set.
Parameters: - absmag (float, optional) – The maximum magnitude of the entries in the “kick” matrix relative to bias.
- bias (float, optional) – The bias of the entries in the “kick” matrix.
- seed (int, optional) – if not None, seed numpy’s random number generator with this value before generating random depolarizations.
Returns: the kicked gate set.
Return type: