pygsti.tools.jamiolkowski.magnitudes_of_negative_choi_eigenvalues

pygsti.tools.jamiolkowski.magnitudes_of_negative_choi_eigenvalues#

magnitudes_of_negative_choi_eigenvalues(model)#

Compute the magnitudes of the negative eigenvalues of the Choi matrices for each gate in model.

Parameters:

model (Model) – The model to act on.

Returns:

list of the magnitudes 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