Skip to content

tensor_builder does not support 3-body+ terms; is there any workaround? #161

Answered by jcmgray
lolazon22 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @lolazon22. There are few options for you, in order of implementation effort:

  1. Build each product as an MPO, then simply add and compress them.
  2. Work out how to manually construct the W-matrices in order to build the MPO directly - the discussion here might also be of use
  3. Wait a little bit for me to add the arbitrary hamiltonian MPO builder to quimb.experimental.operatorbuilder.py. I currently have a basic method that should be much better than adding and compressing, but is not optimal in all cases. It would take a little bit of time to polish into shape even for the 'experimental' module, and I am a bit short of time, so wouldn't want to give any guarantees here...

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jcmgray
Comment options

@lolazon22
Comment options

@jcmgray
Comment options

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