Skip to content

Added BLAS/LAPACK support for matrix inverse inv()#2

Open
maerzh wants to merge 6 commits intopygamma-mrs:mainfrom
maerzh:main
Open

Added BLAS/LAPACK support for matrix inverse inv()#2
maerzh wants to merge 6 commits intopygamma-mrs:mainfrom
maerzh:main

Conversation

@maerzh
Copy link

@maerzh maerzh commented Mar 1, 2023

These are the changes to support BLAS/LAPACK for matrix inversion. This only changes n_matrix.cc and h_matrix.cc and is fully compatible with the BLAS/LAPACK support as it was done for diagonalization.

Also fixed a parsing error in MultiSys where Exch() produced in error for more than 10 components.

Matthias Ernst and others added 4 commits March 1, 2023 15:35
only implemented if a BLAS library isused since a solver for linear
equations is needed. The Pade method is used if you use expm() instead
of the standard exp() for matrices or the super operator.

It is not obvious when the exp() function which uses blocking of the
matrix and diagonalization or the expm() function using the Pade method
is faster. This seems to vary strongly.

prop() for operators is still implemented using diagonalization.
…floq2_op.

No standard functionality has been changed. These are just additional functions
that can be used as drop-in replacements for the exp function if desired. They
are only different from exp if a BLAS library is used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant