lanczos

  • full name: tenpy.linalg.lanczos

  • parent module: tenpy.linalg

  • type: module

Classes

LanczosEvolution(H, psi0, params)

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

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

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[, lanczos_params, orthogonal_to])

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

plot_stats(ax, Es)

Plot the convergence of the energies.

Module description

Lanczos algorithm for np_conserved arrays.