<html class="apple-mail-supports-explicit-dark-mode">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div><br>
</div>
Dear Alain,
<div><br>
</div>
<div>a summary is here:</div>
<div><br>
</div>
<div>
<div style="display: block;" class="">
<div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://theos-wiki.epfl.ch/Main/OxidationStates.md">
<a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://theos-wiki.epfl.ch/Main/OxidationStates.md" dir="ltr" role="button" draggable="false" width="300">
<table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E6E6E6;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="300">
<tbody>
<tr>
<td vertical-align="center">
<table bgcolor="#E6E6E6" cellpadding="0" cellspacing="0" width="300" style="table-layout:fixed;font-family:-apple-system, Helvetica, Arial, sans-serif;background-color:rgba(230, 230, 230, 1);-apple-color-filter:initial;" class="lp-rich-link-captionBar">
<tbody>
<tr>
<td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem">
<div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack">
<div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading">
<a rel="nofollow" href="https://theos-wiki.epfl.ch/Main/OxidationStates.md" style="text-decoration: none" draggable="false"><font color="#000000" style="color: rgba(0, 0, 0, 1);">Oxidation States</font></a></div>
<div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading">
<a rel="nofollow" href="https://theos-wiki.epfl.ch/Main/OxidationStates.md" style="text-decoration: none" draggable="false"><font color="#A2A2A9" style="color: rgba(60, 60, 67, 0.6);">theos-wiki.epfl.ch</font></a></div>
</div>
</td>
<td style="padding:6px 12px 6px 0px;" class="lp-rich-link-captionBar-rightIconItem" width="30">
<a rel="nofollow" href="https://theos-wiki.epfl.ch/Main/OxidationStates.md" draggable="false"><img style="pointer-events:none !important;display:inline-block;width:30px;height:30px;border-radius:3px;" width="30" height="30" draggable="false" class="lp-rich-link-captionBar-rightIcon" alt="apple-touch-icon.png" src="cid:5A74DB4C-93E8-4276-8750-91AB675EED8F"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</a></div>
</div>
<div><br>
</div>
but nothing is available out of the box.</div>
<div><br>
</div>
<div>Probably easiest (but come coding) would be a U on a projector that is an appropriate linear combination of atomic projectors that approximate the homo or lumo of the adsorbate (poor-man-Wannier). We did some molecular U with Ismaila Dabo a long time
ago: <a href="https://pubs.acs.org/doi/10.1021/ja067944u">https://pubs.acs.org/doi/10.1021/ja067944u</a></div>
<div><br>
</div>
<div>Then you adapt os-cdft.</div>
<div><br>
</div>
<div>Other options would be U on the actual eigenstate or Wannier function - this latter I believe is work in progress.</div>
<div><br>
</div>
<div>Nicola</div>
<div><br>
</div>
<div>Sent from a tiny keyboard... Contact info:</div>
<div>
<div dir="ltr">
<div>
<div>http://theos-wiki.epfl.ch/Main/Contact</div>
</div>
</div>
<div dir="ltr"><br>
<blockquote type="cite">On 17 Feb 2026, at 19:06, Alain Delgado Gran via users <users@lists.quantum-espresso.org> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">Hello QE users/developers,
<div><br>
</div>
<div>Context:</div>
<div>I want to build diabatic potential energy surfaces for a molecule close to a metal surface for different charges (+1, 0) of the adsorbate.</div>
<div><br>
</div>
<div>Question:</div>
<div><span id="gmail-docs-internal-guid-ee23ce55-7fff-dbbe-15e9-136e126ebffd"><span style="font-family:Inter,sans-serif;color:rgb(31,31,31);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;vertical-align:baseline">Is
constrained DFT (cDFT) implemented in QE in a way that allows it to be used for constructing diabatic states? I am aware of the</span><a href="https://www.quantum-espresso.org/Doc/INPUT_OSCDFT.html" style="text-decoration-line:none"><span style="font-family:Inter,sans-serif;color:rgb(31,31,31);font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;vertical-align:baseline">
</span><span style="font-family:Arial,sans-serif;background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;text-decoration-line:underline;vertical-align:baseline">OS-CDFT module</span></a><span style="font-family:Arial,sans-serif;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;vertical-align:baseline">,
which controls the oxidation state of a transition-metal element, but it appears not to be generalizable for constraining charge within an arbitrary molecular region. Is this interpretation correct? If not, where can I find a good example or tutorial on how
to perform this type of calculation?</span></span></div>
<div><span><span style="font-family:Arial,sans-serif;color:rgb(0,0,0);background-color:transparent;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;vertical-align:baseline"><br>
</span></span></div>
<div><font color="#000000" face="Arial, sans-serif"><span style="white-space-collapse: preserve;">Thank you for your time and attention.</span></font></div>
<div><font color="#000000" face="Arial, sans-serif"><span style="white-space-collapse: preserve;"><br>
</span></font></div>
<div><font color="#000000" face="Arial, sans-serif"><span style="white-space-collapse: preserve;">Best regards,</span></font></div>
<div><font color="#000000" face="Arial, sans-serif"><span style="white-space-collapse: preserve;"><br>
</span></font></div>
<div><font color="#000000" face="Arial, sans-serif"><span style="white-space-collapse: preserve;">Alain.</span></font></div>
</div>
<br>
<div dir="ltr" align="left" style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:small;margin-left:0pt">
<span style="border:medium;border-collapse:collapse"><span style="height:26.7284pt"><span style="margin:0px;overflow:hidden">
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="background-color:transparent;font-family:Arial,sans-serif;font-size:10pt">Our mission is to build quantum computers </span><span style="background-color:transparent;font-family:Arial,sans-serif;font-size:10pt">that
are useful and available to people everywhere.</span></p>
</span></span></span></div>
<p dir="ltr" style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:small;line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style="font-size:10pt;font-family:Arial,sans-serif;background-color:transparent;vertical-align:baseline"><br>
</span></p>
<p dir="ltr" style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:small;line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style="font-size:10pt;font-family:Arial,sans-serif;background-color:transparent;font-style:italic;vertical-align:baseline">---</span></p>
<p dir="ltr" style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:small;line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style="font-size:10pt;font-family:Arial,sans-serif;background-color:transparent;font-style:italic;vertical-align:baseline"><br>
</span></p>
<p dir="ltr" style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:small;line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style="font-size:8pt;font-family:Arial,sans-serif;background-color:transparent;vertical-align:baseline">This e-mail message is privileged, confidential and subject to </span><span style="background-color:transparent;font-family:Arial,sans-serif;font-size:8pt">copyright.
Any unauthorized use or disclosure is prohibited.</span></p>
<p dir="ltr" style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:small;line-height:1.38;margin-top:0pt;margin-bottom:0pt">
<span style="font-size:8pt;font-family:Arial,sans-serif;background-color:transparent;vertical-align:baseline">Le contenu du présent courriel est privilégié, confidentiel et </span><span style="background-color:transparent;font-family:Arial,sans-serif;font-size:8pt">soumis
à des droits d'auteur. Il est interdit de l'utiliser ou </span><span style="background-color:transparent;font-family:Arial,sans-serif;font-size:8pt">de le divulguer sans autorisation.</span></p>
<span>_______________________________________________________________________________</span><br>
<span>The Quantum ESPRESSO Foundation stands in solidarity with all civilians worldwide who are victims of terrorism, military aggression, and indiscriminate warfare.</span><br>
<span>--------------------------------------------------------------------------------</span><br>
<span>Quantum ESPRESSO is supported by MaX (www.max-centre.eu)</span><br>
<span>users mailing list users@lists.quantum-espresso.org</span><br>
<span>https://lists.quantum-espresso.org/mailman/listinfo/users</span></div>
</blockquote>
</div>
</body>
</html>