-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom kets for KPM solvers #304
Comments
Option 1Define a new type of SelfEnergy of type
Then, the KPM Option 2Put the ket into the KPM solver, and if a ket was specified, access it with a special indexing. Something like
The problem is how to index it. We currently index greenfunctions etc with either an integer (contact index) or a selector. To address a EDIT: although, actually, |
Option 3Create a Here One can then also add new custom indexing methods for the With this design, building |
With the current design, one can only run the KPM GreenSolver on kets that form a local basis of contacts in an OpenHamiltonian
This means, in particular, that we cannot use a random ket to perform stochastic traces, where the ket has a random amplitude on part or all sites. It also means that we lose the possibility of efficiently computing other things, such as$\langle \psi | G|\psi\rangle$ where $\psi$ is a linear combination of many sites.
We therefore need to design an API to encode a custom ket for use in KPM solvers.
The text was updated successfully, but these errors were encountered: