lanczos

  • full name: tenpy.linalg.lanczos

  • parent module: tenpy.linalg

  • type: module

Classes

Inheritance diagram of tenpy.linalg.lanczos

LanczosEvolution(H, psi0, options)

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

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

Lanczos algorithm working on npc arrays.

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.