Enhancement: Add dependency LAPACK #4
Description
LAPACK — Linear Algebra PACKage:
LAPACK is written in Fortran 90 and provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems ...
LAPACK is widely used by other packages like NumPy. For example, the later uses it to calculate the eigenvalues and eigenvectors of a Hermitian or symmetric matrix:
numpy.linalg.eigh: The eigenvalues/eigenvectors are computed using LAPACK routines _syevd, _heevd.
In turn, this method is used by qiskit-sdk-py to plot qspheres.
In order to be able to do the same in this repo, I suggest to take advantage of this package.
On macOS/iOS, this package is already included in Accelerate framework, so there is nothing else to do, just import the framework and start using it. But, in the case of Linux, it has to be added as a new dependency. This means we would have to create a Swift package. I already created one here and a small app to show to how to compute the eigenvalues & eigenvectors in all platforms here.