pygsti.tools.matrixtools.compute_kite

Contents

pygsti.tools.matrixtools.compute_kite#

compute_kite(eigenvalues)#

Computes the “kite” corresponding to a list of eigenvalues.

The kite is defined as a list of integers, each indicating that there is a degnenerate block of that many eigenvalues within eigenvalues. Thus the sum of the list values equals len(eigenvalues).

Parameters:

eigenvalues (numpy.ndarray) – A sorted array of eigenvalues.

Returns:

A list giving the multiplicity structure of evals.

Return type:

list