<div dir="ltr">I doubt that you will be able to get anything meaningful with <psi_a|psi_b>, as difference in the random phases of the two wavefunctions is not possible to be eliminated. How about |<psi_a|psi_b>|^2?<div><br></div><div>Duy Le</div><div>(UCF)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 2, 2020 at 10:47 AM Thomas Brumme <<a href="mailto:thomas.brumme@tu-dresden.de">thomas.brumme@tu-dresden.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr" style="font-size:14pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:OpenSans">
<p>OK, at least the different sizes were probably a problem on my side - I was using the dev version of wfck2r with the rest in an older version. Using only the dev version I have the binary file being approximately 2.7 times bigger which can be explained - I
 guess - with the missing second component. But I'm still not sure whether I can simply integrate <psi_a|psi_b> and expect something useful if both wave functions are from different calculations...<br>
</p>
<p><br>
</p>
<div id="gmail-m_6076574416719391491Signature">
<div name="divtagdefaultwrapper">
<pre cols="72"><font size="3">--<br>Dr. rer. nat. Thomas Brumme<br>Theoretical chemistry<br>TU Dresden - BAR / II49<br>Helmholtzstr. 18<br>01069 Dresden<br><br>Tel:  +49 (0)351 463 40844<br><br><font color="000000">email: <a href="mailto:thomas.brumme@tu-dresden.de" target="_blank">thomas.brumme@tu-dresden.de</a></font></font><br></pre>
</div>
</div>
<div dir="ltr" style="font-size:14pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:OpenSans">
<hr style="display:inline-block;width:98%">
<div id="gmail-m_6076574416719391491divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> users <<a href="mailto:users-bounces@lists.quantum-espresso.org" target="_blank">users-bounces@lists.quantum-espresso.org</a>> im Auftrag von Thomas Brumme <<a href="mailto:thomas.brumme@tu-dresden.de" target="_blank">thomas.brumme@tu-dresden.de</a>><br>
<b>Gesendet:</b> Montag, 2. November 2020 15:21<br>
<b>An:</b> <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<b>Betreff:</b> [QE-users] wfck2r.x</font>
<div> </div>
</div>
<div>
<p>Dear all,<br>
</p>
<p><br>
</p>
<p>I want to calculate wave function overlaps in order to extract some parameters for a collaborator.<br>
</p>
<p>Since I want the overlap in a heterostructure of 2 monolayers for the wave functions of the single layers (i.e., I need 3 calculations), the easiest solution would be to look at the changes in the projection on the atomic states using projwfc. Yet, this
 local basis is not complete and I would like to know how "much" is missing.<br>
</p>
<p><br>
</p>
<p>I found the wfck2r.f90 code. Yet, I think there are several problems with using this and maybe someone can comment. I think I once read that one cannot easily compare the wave functions between different calculation because of an<span style="font-size:14pt"> arbitrary
 phase shift.</span><span style="font-size:14pt"> Is this correct</span><span style="font-size:14pt">? Because if I can't do this, then I don't even need
</span><span style="font-size:14pt">to consider using the code. If I can do it, then am I right,</span><span style="font-size:14pt"> that the wfck2r code does not include t</span><span style="font-size:14pt">he SOC case for output in octave format</span><span style="font-size:14pt">?
 Because in line 248, only pol=1 is used... Another problem I noticed is a huge difference in sizes of the octave output and the binary output. The octave output was in my test case about 68 MB while the binary file was 6 GB.</span></p>
<p><br>
</p>
<p>Kind regards<br>
</p>
<p><br>
</p>
<p>Thomas<br>
</p>
<div id="gmail-m_6076574416719391491Signature">
<div name="divtagdefaultwrapper">
<pre cols="72"><font size="3">--<br>Dr. rer. nat. Thomas Brumme<br>Theoretical chemistry<br>TU Dresden - BAR / II49<br>Helmholtzstr. 18<br>01069 Dresden<br><br>Tel:  +49 (0)351 463 40844<br><br><font color="000000">email: <a href="mailto:thomas.brumme@tu-dresden.de" target="_blank">thomas.brumme@tu-dresden.de</a></font></font><br></pre>
</div>
</div>
</div>
</div>
</div>

_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu" rel="noreferrer" target="_blank">www.max-centre.eu</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>