svd_gesvd

tenpy.linalg.svd_robust.svd_gesvd(a, full_matrices=True, compute_uv=True, check_finite=True)[source]

svd with LAPACK’s ‘#gesvd’ (with # = d/z for float/complex).

Similar as numpy.linalg.svd(), but use LAPACK ‘gesvd’ driver. Works only with 2D arrays. Outer part is based on the code of numpy.linalg.svd.

Parameters:
Returns:

U, S, Vh – See numpy.linalg.svd() for details.

Return type:

ndarray