Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

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