lanczos

tenpy.linalg.lanczos.lanczos(H, psi, lanczos_params={}, orthogonal_to=[])[source]

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

Parameters

psi, lanczos_params, orthogonal_to (H,) – See LanczosGroundState.

Returns

See LanczosGroundState.run().

Return type

E0, psi0, N