Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jerrychen97/skewsymmetricdecomposition

Using schur in scipy to decompose the skew symmetric real matrices
https://github.com/jerrychen97/skewsymmetricdecomposition

Last synced: 24 days ago
JSON representation

Using schur in scipy to decompose the skew symmetric real matrices

Awesome Lists containing this project

README

        

# SkewSymmetricDecomposition
Using schur in scipy to decompose the skew symmetric real matrices (majorana modes)

`scipy.linalg.schur` can help us decompose a skew-symmetric real matrices, M = QAQ^T, where A is a block-diagonalized matrix as a direct sum of iσy, which is quite helpful in solving some (simple enough) fermionic systems.
However, zero modes are very common in these cases, which correspond to the null space of the matrix of interest; they could perturb the block-diagonalized form of the decomposition in basically random ways.
To avoid such annoying problems, I drafted a script picking out those non-zero modes, separating zero modes, and eventually rearranging the decomposition results in the expected way.