kaihsin / ED_TFIM

Exact diagonalization using cytnx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exact diagonalization using Laczos method

This is the simple example for using cytnx with ED to calculate 1D Transverse field ising model:

H = -[s]SzSz - (1-[s])Sx

Cytnx library:

Cytnx

Results:

The (2nd) energy gap with different system size L that shows the avoid level crossing:

alt text

Implementations:

* ed_ising.py 
    This one using the overload of matvec interface directly, memory efficient

* ed_ising_mve.py
    This one store all the elements when calling pre-construct, and use openmp to accelerate. performance efficient

Developer:

Kai-Hsin Wu

About

Exact diagonalization using cytnx


Languages

Language:Python 88.2%Language:Shell 11.8%