+1 vote
asked by (200 points)

Hello.

I'm trying to do HOTRG calculation for 2D Ising model.
As the system size (that I want to see) increases, computation time of SVD increases rapidly.
Actually, I don't need V^T in the process.
Is there any way to skip the calculation of V^T in SVD?

Best,
hexagon

1 Answer

0 votes
answered by (70.1k points)
selected by
 
Best answer

Good question: this is what the denmatDecomp function is for. There is more detailed info about it on this page:
http://itensor.org/docs.cgi?page=classes/decomp

Basically its interface works the same way as the svd function but you have to provide a "dir" argument (either Fromleft or Fromright) which in SVD language says whether you want U or V (the other tensor will be set equal to either SV or US where S is the singular value matrix).

Internally, denmatDecomp squares the tensor you are decomposing and then calls a Hermitian diagonalization routine on it to get just U or just V. So it is more efficient than doing a full SVD.

Miles

Welcome to ITensor Support Q&A, where you can ask questions and receive answers from other members of the community.

Formatting Tips:
  • To format code, indent by four spaces
  • To format inline LaTeX, surround it by @@ on both sides
  • To format LaTeX on its own line, surround it by $$ above and below
  • For LaTeX, it may be necessary to backslash-escape underscore characters to obtain proper formatting. So for example writing \sum\_i to represent a sum over i.
If you cannot register due to firewall issues (e.g. you cannot see the capcha box) please email Miles Stoudenmire to ask for an account.

To report ITensor bugs, please use the issue tracker.

Categories

...