Export eigenvectors with corresponding eigenvalue from diagHermitian function

+1 vote
asked Sep 12 by Victor Chang (230 points)

Hi,

I'm using diagHermitian(IQTensor H, IQTensor & U, IQTensor & D, Args args = Args::global()) -> Spectrum to calculate other expectation values with the eigenstates. Is there anyway more clever than looking up the U to sum over the all the states with the same Link index and get the corresponding eigenstates?
Thank you.

Best,
Victor

commented Sep 13 by miles (16,940 points)
Hi Victor, can you elaborate a bit more on your question? What do you mean other expectations values with the eigenstates. Which eigenstates? Thanks -
commented Sep 13 by Victor Chang (230 points)
Hi, Miles. Thanks for quick reply.
I have figured it out by using all ITensor-based eigenstates, operators. Sorry about my rush question.
Thank you.

1 Answer

0 votes
answered 4 days ago by miles (16,940 points)

(Replying just to mark this question as answered. See comments above.)

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.
...