Skip to content
Discussion options

You must be logged in to vote

Dear @Tarcomn,

thank you very much for your interest in XDiag. Your application sounds interesting and it would indeed be very nice to have a new spinless fermion class in XDiag. Overall, I do not think this requires entirely new implementations, but one needs to understand how the code is structured. I will explain this a bit more in detail now.

Two key concepts in XDiag are blocks and bases. A block is a subspace of a full Hilbert space with certain quantum numbers (e.g. particle number of momentum). Blocks are represented by Block objects, like Spinhalf of Electron. To have a new kind of Hilbert space one would have to add a new type called maybe Fermion.

Blocks are lightweigt objects …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tarcomn
Comment options

Answer selected by Tarcomn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants