<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-size: 12pt;"><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);">Dear Krystian,</span></div>
<div class="elementToProof" style="font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
<br>
</div>
<div class="elementToProof" style="font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
My colleague Eric Macke (University of Bremen) has been working extensively on PBAs using the HP code. I asked him to get in touch with you and address your questions. </div>
<div class="elementToProof" style="font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
<br>
</div>
<ul data-editing-info="{"applyListStyleFromLevel":false,"unorderedStyleType":4}" style="margin-top: 0px; margin-bottom: 0px;">
<li style="font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black; margin-top: 0px; margin-bottom: 0px; list-style-type: "➢ ";">
<div class="elementToProof" role="presentation">There are also some more theoretical questions relating to the HP code. For example, while I appreciate that the entire DFPT reformulation in terms of monochromatic perturbations allows us to avoid the need for
 supercells of sizes matching the perturbation wavelengths, I do not quite understand why the aforementioned paper uses a supercell composed of 8 formula units for LiMn2O4?</div>
<div role="presentation"><br>
</div>
</li></ul>
<div class="elementToProof" style="margin-top: 0px; margin-bottom: 0px; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
The reason is that we wanted to impose a certain magnetic ordering that required that supercell. </div>
<div style="margin-top: 0px; margin-bottom: 0px; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
<br>
</div>
<ul data-editing-info="{"applyListStyleFromLevel":false,"unorderedStyleType":4}" style="margin-top: 0px; margin-bottom: 0px;">
<li style="font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black; margin-top: 0px; margin-bottom: 0px; list-style-type: "➢ ";">
<div role="presentation">Is it generally desirable to use cells with orthogonal lattice vectors with HP?</div>
</li></ul>
<div style="margin-top: 0px; margin-bottom: 0px; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
<br>
</div>
<div class="elementToProof" style="margin-top: 0px; margin-bottom: 0px; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
No. The code is general and does not have any restrictions in this sense. </div>
<div class="elementToProof" style="margin-top: 0px; margin-bottom: 0px; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
<br>
</div>
<div class="elementToProof" style="margin-top: 0px; margin-bottom: 0px; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
HTH</div>
<div class="elementToProof" style="margin-top: 0px; margin-bottom: 0px; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
<br>
</div>
<div class="elementToProof" style="margin-top: 0px; margin-bottom: 0px; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
Greetings,</div>
<div class="elementToProof" style="margin-top: 0px; margin-bottom: 0px; font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12pt; color: black;">
Iurii</div>
<div id="Signature" class="elementToProof">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(102, 102, 102);">
----------------------------------------------------------</div>
<div class="elementToProof" style="font-family: Cambria, Georgia, serif; font-size: 12pt; color: rgb(102, 102, 102);">
Dr. Iurii TIMROV</div>
<div class="elementToProof" style="font-family: Cambria, Georgia, serif; font-size: 12pt; color: rgb(102, 102, 102);">
Tenure-track scientist</div>
<div class="elementToProof" style="font-family: Cambria, Georgia, serif; font-size: 12pt; color: rgb(102, 102, 102);">
Laboratory for Materials Simulations (LMS)</div>
<div class="elementToProof" style="font-family: Cambria, Georgia, serif; font-size: 12pt; color: rgb(102, 102, 102);">
Paul Scherrer Institute (PSI)</div>
<div class="elementToProof" style="font-family: Cambria, Georgia, serif; font-size: 12pt; color: rgb(102, 102, 102);">
CH-5232 Villigen, Switzerland</div>
<div class="elementToProof" style="font-size: 12pt;"><span style="font-family: Cambria, Georgia, serif; color: rgb(102, 102, 102);">Profile:
</span><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);"><a href="https://www.psi.ch/en/lms/people/iurii-timrov" target="_blank" rel="noopener noreferrer">www.psi.ch/en/lms/people/iurii-timrov</a></span></div>
<div class="elementToProof" style="font-size: 12pt;"><span style="font-family: Cambria, Georgia, serif; color: rgb(102, 102, 102);">Group website:
</span><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);"><a href="https://www.timrovresearch.com/">www.timrovresearch.com/</a></span></div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> users <users-bounces@lists.quantum-espresso.org> on behalf of Krystian Gierczak <krystian.gierczak@chem.ox.ac.uk><br>
<b>Sent:</b> Friday, May 22, 2026 14:36<br>
<b>To:</b> users@lists.quantum-espresso.org <users@lists.quantum-espresso.org><br>
<b>Subject:</b> [QE-users] Advice on HP for a PBA material</font>
<div> </div>
</div>
<div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Dear QE users, </div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I hope this email finds you well. </div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am currently trying to compute the Hubbard U parameters for the Mn[Fe(CN)<sub>6</sub>] material with the HP code. </div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am following the standard workflow from the HP examples as well as the procedure from the Phys. Chem. Chem. Phys., 2023,  25, 9061-9072 article by Dr Timrov.</div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
My procedure is as follows:</div>
<ol start="1" data-editing-info="{"applyListStyleFromLevel":false,"orderedStyleType":1}" style="margin-top:0px; margin-bottom:0px; list-style-type:decimal">
<li style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); margin-top:0px; margin-bottom:0px">
<div role="presentation">vc-relax,</div>
</li><li style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); margin-top:0px; margin-bottom:0px">
<div role="presentation">fake-metal SCF,</div>
</li><li style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); margin-top:0px; margin-bottom:0px">
<div role="presentation">insulator SCF,</div>
</li><li style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); margin-top:0px; margin-bottom:0px">
<div role="presentation">hp.x</div>
</li></ol>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
But then, I get a pair of U values that seem chemically counterintuitive, i.e., chemically I would expect my high-spin Mn(III) to have a larger U value than my low-spin Fe(III). Interestingly, this is not at all what I get from hp.x.</div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Please find the inputs and outputs attached. I have omitted the vc-relax output as it is quite a heavy file.</div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Please, would you be able to advise on whether I am doing something wrong? </div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
There are also some more theoretical questions relating to the HP code. For example, while I appreciate that the entire DFPT reformulation in terms of monochromatic perturbations allows us to avoid the need for supercells of sizes matching the perturbation
 wavelengths, I do not quite understand why the aforementioned paper uses a supercell composed of 8 formula units for LiMn<sub>2</sub>O<sub>4</sub>? Is it generally desirable to use cells with orthogonal lattice vectors with HP?</div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Many thanks in advance for your help.</div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Best wishes, </div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Krystian</div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Krystian A. Gierczak</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:10pt; color:rgb(0,0,0)">
PhD Student in the VLD Group,</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:10pt; color:rgb(0,0,0)">
Department of Chemistry, University of Oxford</div>
<div style="font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:10pt; color:rgb(0,0,0)">
Web: https://deringer.chem.ox.ac.uk</div>
<div style="direction:ltr; font-family:"Helvetica Neue",Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</div>
</body>
</html>