pygsti.tools.mags_of_negative_choi_evals

pygsti.tools.mags_of_negative_choi_evals(gateset)

Compute the magnitudes of the negative eigenvalues of the Choi matricies for each gate in gateset.

Parameters:gateset (GateSet) – The gate set to act on.
Returns:list of the magnitues of all negative Choi eigenvalues. The length of this list will vary based on how many negative eigenvalues are found, as positive eigenvalues contribute nothing to this list.
Return type:list of floats