+1 vote
asked by (270 points)

Hello! I have some question about CPS collapse in the Minimally entangled typical thermal state algorithms.
Assume we have know the projection operator Pi(m), which project the ith site state to |m>. When we collapse from the first site of a METTS, the probability is p1(m) = (psi|P1(m)|psi).
after a collapse, the wave function should be updated as follow:(NJP, 12 (2010) 055026, Annals of Physics 326(2011) 96-192 sec. 8.3)

         A_{1N}^{s_1} = <s_1|m>
         A_{2N}^{s_2}= <m|s1> A_{1O}^{s1} A_{2O}^{s2}/sqrt(p1(m))
         Latex:
         A_{1N}^{s_{1}}=\left\langle s_{1}|m\right\rangle 
         A_{2N}^{s_{2}}=p_{1m}^{-\frac{1}{2}}\left\langle m|s_{1}\right\rangle A_{1O}^{s_{1}}A_{2O}^{s_{1}}

lower index N and O represent new and old respectively, and summation is assumed.
In the finite-T tutorial of ITensor 3.1.3 , the related code is:

ITensor jstate = (st==1) ? upState : downState;
if(j < N)
  {
      auto newA = psi(j+1)*(dag(jstate)*psi(j));
      newA /= norm(newA);
      psi.set(j+1,newA);
  }
    //Set site j tensor 
    psi.set(j,jstate);

here newA is not divided by the square root of the probability, newA /= norm(newA) normalize the projected state. But I noticed that the square root of the probability occurs here. For newA = psi(j+1)(dag(jstate)psi(j)), should it be like this newA = psi(j+1)(dag(jstate))psi(j) ?

For the absence of the square root of the probability here, can I understand like this:
when we divide the newA by the square root of the probability, we just multiply the wave function by a real number. It will not affect the collapse probability for the next step(if we do a normalization). And for the measurements, because of the normalization there is also no affect?

1 Answer

0 votes
answered by (70.1k points)

Hi, thanks for the question. The answer is that the normalization is equal to the square root of the probability. So if you compute the norm from the formula (square root of probability) or just by computing the norm of the new “A” tensor of the MPS, you will get the same number. The real purpose of dividing by the square root of the probability is to normalize the state, so writing the code in a more general way that also normalizes the state is also ok to give the right answer.

Please let me know if that answers your question -

Best,
Miles

commented by (270 points)
edited by
Hi Miles
    Thanks very much for your fast reply, your answer is helpful and solves my doubts.

Best regards!
ZHOU zongsheng
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

...