<div><em><font style="font-size:14.5px"><font style="font-family:Nylas-Pro, Helvetica, "Lucidia Grande", sans-serif">But in fact the eigenstates I calculated are the same in repeated calculations, so maybe QE has some way to artificially select a special orthonormal linear combinations inside the degenerate subspace?</font></font></em></div><br><div><font style="font-size:14.5px"><font style="font-family:Nylas-Pro, Helvetica, "Lucidia Grande", sans-serif">It does not, but the number are pseudo-random, and initialized with the same seed on different executions. Chaning the configuration, just a tiny bit, or even changing compilation options or mathematical libraries can give different eigenvectors.</font></font></div><br><div><signature id="local-80497166-1ed1">--<br><span style="font-size:0.9em;color:gray;">Lorenzo Paulatto - Paris<span></span></span></signature></div><div class="gmail_quote_attribution">On Dec 10 2021, at 9:41 pm, 曾梓萌 <zengzm20@mails.tsinghua.edu.cn> wrote:</div><blockquote><div>I'm very sorry that I still don't understand this question. This is my understanding: when I try to calculate the eigenstates of the system, QE will randomly select a set of orthonormal linear combinations inside the degenerate subspace, so the QE selection method is also different during repeated calculations(Because even if the input parameters are exactly the same, the choice of the orthonormal linear combinations  is still random).</div><div>But in fact the eigenstates I calculated are the same in repeated calculations, so maybe QE has some way to artificially select a special orthonormal linear combinations inside the degenerate subspace?</div><div>Is my understanding correct? If so, what is this special way of selection?</div><br><div>ZengZimeng</div><div>在2021-12-10 16:01:13,Paolo Giannozzi<a href="https://link.getmailspring.com/link/08DBA20A-86C1-4C2D-8253-6113D8B5F4DB@getmailspring.com/0?redirect=mailto%3Ap.giannozzi%40gmail.com&recipient=ZGV2ZWxvcGVyc0BsaXN0cy5xdWFudHVtLWVzcHJlc3NvLm9yZw%3D%3D" title="mailto:p.giannozzi@gmail.com">p.giannozzi@gmail.com</a>写道:</div><br><blockquote><div><div><div>If you repeat the same calculation, you get the same eigenvectors. Slightly different calculations may actually give very similar eigenvectors, but there is no guarantee.</div><div><br></div><div>Paolo</div></div><br><img class="mailspring-open" alt="Sent from Mailspring" width="0" height="0" style="border:0; width:0; height:0;" src="https://link.getmailspring.com/open/08DBA20A-86C1-4C2D-8253-6113D8B5F4DB@getmailspring.com?me=ca1a67e4&recipient=ZGV2ZWxvcGVyc0BsaXN0cy5xdWFudHVtLWVzcHJlc3NvLm9yZw%3D%3D"><div class="gmail_quote"><div class="gmail_attr"><div>On Thu, Dec 9, 2021 at 8:55 PM 曾梓萌 <<a href="mailto:zengzm20@mails.tsinghua.edu.cn" title="mailto:zengzm20@mails.tsinghua.edu.cn">zengzm20@mails.tsinghua.edu.cn</a>> wrote:</div></div><blockquote><div>dear Paolo</div><br><div>Thank you very much for your reply. I have done some tests on this issue and got some incomprehensible results. For a system with Kramer degeneracy, perform multiple calculations and draw the spatial distribution of an eigenstate. In repeated calculations, the spatial distribution of the states is almost the same. If in multiple calculations, the eigenstates calculated by QE are random (but orthonormal) linear combinations inside the degenerate subspace, then it seems that a consistent spatial distribution should not be obtained?</div><br><div>Zeng Zimeng</div><div>在2021-12-09 18:14:45,Paolo Giannozzi<a href="mailto:p.giannozzi@gmail.com" title="mailto:p.giannozzi@gmail.com">p.giannozzi@gmail.com</a>写道:</div><br><blockquote><div><div><div>Hi</div><div><br></div><div>if I understand correctly your question: yes, ALL degenerate eigenstates are random (but orthonormal) linear combinations inside the degenerate subspace. And no, typically they do not resemble  the eigenstates one would find in textbooks.</div><div><br></div><div>Paolo</div></div><br><div class="gmail_quote"><div class="gmail_attr"><div>On Thu, Dec 9, 2021 at 10:59 AM 曾梓萌 <<a href="mailto:zengzm20@mails.tsinghua.edu.cn" title="mailto:zengzm20@mails.tsinghua.edu.cn">zengzm20@mails.tsinghua.edu.cn</a>> wrote:</div></div><blockquote><div><code><pre style="background-color:rgba(0,0,0,0.05);padding:0.2em 1em"><font style="font-family:courier, "courier new", monospace">dear develpoers</font></pre></code></div><div>For Kramer's degenerate system, there are two energy degenerate eigenstates on each k and E, and any linear combination of these two degenerate states is still the eigenstate of the system. Is the eigenstate calculated by QE this random linear combination eigenstate?</div><div><br></div><div><code><pre style="background-color:rgba(0,0,0,0.05);padding:0.2em 1em"><font style="font-family:courier, courier new, monospace">I will appreciate any helps in this subject.<br>Truly yours,<br>Zeng Zimeng<br>Tsinghua university</font></pre></code></div><div>_______________________________________________</div><div>developers mailing list</div><div><a href="mailto:developers@lists.quantum-espresso.org" title="mailto:developers@lists.quantum-espresso.org">developers@lists.quantum-espresso.org</a></div><div><a href="https://lists.quantum-espresso.org/mailman/listinfo/developers" title="https://lists.quantum-espresso.org/mailman/listinfo/developers">https://lists.quantum-espresso.org/mailman/listinfo/developers</a></div></blockquote></div><br><div><br></div><div>--</div><div><div><div><div><div><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,</div><div>Univ. Udine, via delle Scienze 206, 33100 Udine, Italy</div><div>Phone +39-0432-558216, fax +39-0432-558222</div><br></div></div></div></div></div></div></blockquote></blockquote></div><br><div><br></div><div>--</div><div class="gmail_signature"><div><div><div><div><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,</div><div>Univ. Udine, via delle Scienze 206, 33100 Udine, Italy</div><div>Phone +39-0432-558216, fax +39-0432-558222</div><br></div></div></div></div></div></div></blockquote><div>_______________________________________________</div><div>developers mailing list</div><div>developers@lists.quantum-espresso.org</div><div>https://lists.quantum-espresso.org/mailman/listinfo/developers</div></blockquote>