lanczos

  • full name: tenpy.linalg.lanczos

  • parent module: tenpy.linalg

  • type: module

Classes

Inheritance diagram of tenpy.linalg.lanczos

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()

lanczos_arpack(H, psi[, lanczos_params, …])

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.