Skip to content
Discussion options

You must be logged in to vote

Hi Feng,

I finally got to looking at your code in a bit more detail, thanks for your patience!

Let me start with the long story short: the low core usage is not necessarily something you configured wrong, it is mostly a property of the IDMRG algorithm itself.
However, before getting into that, on a separate note there is some code in model_setup.jl that probably is not what you meant.

Hopping operator

In hopping_SU2 you build the creation operator as

hop_l = ones(elt, pspace  pspace  aspace)    # c†
hop_r = ones(elt, aspace  pspace  pspace)    # c

ones sets every reduced matrix element to 1.
With SU(2) spin symmetry those reduced matrix elements are not all 1: the Wigner–Eckart theore…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@cfengno1
Comment options

@cfengno1
Comment options

@lkdvos
Comment options

@cfengno1
Comment options

@cfengno1
Comment options

Comment options

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

Answer selected by cfengno1
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