Comments (2)
Hi Yangxing
currently, pybinding has no support for constructing non-hermitian matrices/hamiltonians.
The eigenvalues will be complex, and this will break a lot of things in the background.
Also, when you add a hopping, lets say from site numbered (10) to a site numbered (12), the other hopping (12) -> (10) is added automatically. Setting (12) -> (10) by hand afterwards will result in an error.
However, when you have a Hamiltonian for a large system (lets say, some buckled graphene), you can add some non-hermitian element by hand by obtaining the hamiltonian with model.hamiltonian
. This will be at the k-point you set with model.set_wave_vector([kx,ky,kz])
.
Be carefull, the hamitlonian is the transpose of the normal convention; in the basis <from|H|to> instead of the <to|H|from> basis. As this only would change some factors in the normal calculations, this is normally not a problem but it worth the attention if you want to investigate non-hermitian systems.
Feel free to ask more questions if you need more help.
Best
Bert
from pybinding.
Thank you very much!
from pybinding.
Related Issues (20)
- (removed)
- The calc_conductivity in KPM takes in temperature as a number in the input variables
- Obtaining Atomic Basis Sets for Materials in Source Code HOT 2
- Small question about heatmap-plot of the eigenvalue. HOT 2
- can not install on windows HOT 5
- Addition of Hermitian conjugate HOT 1
- how to use Polygon.contains ? HOT 4
- installation with pip fails HOT 4
- pybinding returns an error for a 1D lattice defined by the book (literally) HOT 1
- Pip installation fails on windows HOT 3
- ERROR: Failed building wheel for pybinding HOT 2
- pybinding can not run on MAC with M3 chip. HOT 4
- Modifying specific hoppings HOT 4
- calculation of band structure in the presence of magnetic field HOT 2
- Translational symmetry with generator defined hoppings HOT 1
- Is it possible to write the Hamiltonian into wannier90 format? HOT 3
- Difficulty installing locally (windows 11 & wsl) HOT 3
- What does `translational_symmetry` actually perform? HOT 4
- Problem while installing pybinding HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybinding.