vibeqc.run_uhf

vibeqc.run_uhf(molecule, basis, options=None, *, dft_plus_u=None)[source]

Unrestricted Hartree-Fock SCF on an open-shell molecule.

Open-shell counterpart of run_rhf(). The Dudarev +U formula applies natively per-spin — the SCF Fock builder calls the kernel once per spin with that spin’s density matrix and adds the per-spin V_U to the per-spin Fock; result.e_dft_plus_u is the sum of the two per-spin contributions (no factor of 2 needed — the per-spin formula already gives one term per spin).