Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jerrychen97/skewsymmetricdecomposition
- Owner: JerryChen97
- Created: 2021-04-23T01:50:03.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-23T02:31:35.000Z (almost 4 years ago)
- Last Synced: 2024-11-11T14:58:49.133Z (3 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.