Krylov methods ============== Implemented in YASTN -------------------- We provide a high-level, backend-agnostic implementation of some Krylov-based algorithms used in :class:`yastn.tn.mps`. They assume a linear operation acting on a generalized vector, where the vector is an instance of a class that provides methods such as ``norm``, ``vdot``, ``add``, and ``expand_krylov_space``. Examples of such a vector include :class:`yastn.Tensor` (see :ref:`methods`). .. autofunction:: yastn.expmv .. autofunction:: yastn.eigs .. autofunction:: yastn.svds .. autofunction:: yastn.lin_solver Other libraries --------------- With *NumPy* backend, it is possible to link to algorithms in `sparse.sparse.linalg `_, employing :meth:`yastn.Tensor.to_dict` and :meth:`yastn.Tensor.from_dict`, combined with :meth:`yastn.split_data_and_meta` and :meth:`yastn.combine_data_and_meta`. See an :ref:`example`.