expm

tenpy.linalg.np_conserved.expm(a)[source]

Use scipy.linalg.expm to calculate the matrix exponential of a square matrix.

Parameters:

a (Array) – A square matrix to be exponentiated.

Returns:

exp_a – The matrix exponential expm(a), calculated using scipy.linalg.expm. Same legs/labels as a.

Return type:

Array