Package reference#
- dacp.solver.eigvalsh(A, window, bounds=None, random_vectors=2, filter_order=12, tol=0.0001)[source]#
Eigenvalue solver. Automatically resolves degeneracies and remove incorrect eigenvalues.
- Parameters:
A (ndarray | LinearOperator | sparray) – Hermitian operator.
window (tuple) – Eigenvalue window.
bounds (tuple | None) – Boundaries of the spectrum. If not provided the maximum and minimum eigenvalues are calculated.
random_vectors (int) – When return_eigenvectors=False, specifies the maximum expected degeneracy of the matrix.
filter_order (int) – The number of times a vector is filtered is given by filter_order*E_max/a.
tol (float) – Maximum relative error tolerance for eigenvalues.
- Returns:
Eigenvalues.
- Return type: