LocalEigSolver

class trainsum.localeigsolver.LocalEigSolver(*args, **kwargs)

Protocol for a local eigenvalue solver.

__call__(mat, guess, states=[], /)

Solve an eigenvalue problem for a linear map with an initial guess and optional states to orthogonalize against.

Parameters:
  • mat (Callable[[S], S])

  • guess (S)

  • states (Sequence)

Return type:

T