lanczos

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

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

Deprecated since version 0.6.0: Going to remove the orthogonal_to argument. Instead, replace H with OrthogonalNpcLinearOperator(H, orthogonal_to) using the OrthogonalNpcLinearOperator.

Parameters

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

Returns

See LanczosGroundState.run().

Return type

E0, psi0, N