Skip to content

MPO tensors#144

Open
Jakob-Unfried wants to merge 1 commit into
mainfrom
mpo_tensors
Open

MPO tensors#144
Jakob-Unfried wants to merge 1 commit into
mainfrom
mpo_tensors

Conversation

@Jakob-Unfried
Copy link
Copy Markdown
Member

@Jakob-Unfried Jakob-Unfried commented Oct 9, 2025

Different strategy:

  • In sites, cache a basis for four-leg tensors, with labels
  • use this basis when decomposing couplings into mini MPOs
  • can use these labels in the MPO graph
  • Maybe keep the current idea anyway, for later. It basically encodes the IdL and IdR ideas.
  • Name?
    • mpo_building_block is bad
    • maybe CBD (coupling building block)

@LudwigZw
Copy link
Copy Markdown
Contributor

Changes for tenpy MPOs:

  • MPOGraph attribute _coupling_tensors with hash: tensor dict
  • change .graph to tuples containing hash

Changes for tenpy Couplingmodel:

  • change structure to add generic coupling (cyten class Coupling), use list of int for sites

For couplings:

  • Method to insert identity tensors on virtual legs (with fixed braiding convention)

@Jakob-Unfried
Copy link
Copy Markdown
Member Author

See tenpy/tenpy#590
and tenpy/tenpy#611

@jhauschild
Copy link
Copy Markdown
Member

Thanks for pointing that out, Jakob. I think we can first do the minimal set of changes to get things to work with the current model structure, and then consider tenpy/tenpy#590 and tenpy/tenpy#611 as separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants