lanczos

  • full name: tenpy.linalg.lanczos

  • parent module: tenpy.linalg

  • type: module

Classes

Inheritance diagram of tenpy.linalg.lanczos

Arnoldi(H, psi0, options)

Arnoldi method for diagonalizing square, non-hermitian/symmetric matrices.

KrylovBased(H, psi0, options[, orthogonal_to])

Base class for iterativ algorithms building a Krylov basis with np_conserved arrays.

LanczosEvolution(H, psi0, options)

Calculate \(exp(delta H) |psi0>\) using Lanczos.

LanczosGroundState(H, psi0, options[, ...])

Lanczos algorithm to find the ground state.

Functions

gram_schmidt(vecs[, rcond, verbose])

In place Gram-Schmidt Orthogonalization and normalization for npc Arrays.

lanczos(H, psi[, options, orthogonal_to])

Simple wrapper calling LanczosGroundState(H, psi, options, orthogonal_to).run()

lanczos_arpack(H, psi[, options, orthogonal_to])

Use scipy.sparse.linalg.eigsh() to find the ground state of H.

plot_stats(ax, Es)

Plot the convergence of the energies.

Module description

Lanczos algorithm for np_conserved arrays.