Skip to content

Core-level XPS binding energies ​

The first v2.x core-spectroscopy prototype estimates core-level binding energies from the UHF/STO-3G orbital energies. It is a Koopmans screening model: it does not perform a ΔSCF core-hole calculation and does not implement XANES.

Status. Implemented and exposed on the Rust, Python, WASM and CLI surfaces. ΔSCF, XANES and the reference-edge benchmark are pending. See the v2.x roadmap.

Feature. alpha-core-spectroscopy (included in alpha-v2).

Koopmans estimate ​

For a core-like orbital c,

Eb≈−ϵc,

where ε_c is the orbital energy in Hartree and E_b is reported in eV. The implementation picks, for each atom, the occupied s orbital with the largest weight on that atom's s basis functions. That is the most atom-localized core- like state in the minimal basis.

This is the simplest useful XPS estimate. It omits core-hole relaxation, final- state screening and relativistic corrections, so absolute values are screening numbers.

API ​

rust
use sci_form::xps::XpsConfig;
use sci_form::compute_xps_binding_energies;

let result = compute_xps_binding_energies(
    &[6, 1, 1, 1, 1],
    &methane,
    &XpsConfig {
        elements: Some(vec![6]),
        ..XpsConfig::default()
    },
)?;

for binding in result.bindings {
    println!(
        "atom {} Z={} E_b={:.1} eV (localization {:.2})",
        binding.atom_index, binding.element, binding.binding_energy_ev, binding.localization
    );
}

Output ​

FieldMeaning
atom_indexAtom index
elementAtomic number
orbital_energy_hartreeOrbital energy used
binding_energy_evKoopmans binding energy
localizationWeight on the atom's s functions

Validation ​

GateObservableResult
Methane C 1sBinding energy200–400 eV
Invalid geometryLength mismatchrejected

The methane test checks the core-level scale, not chemical accuracy. A ΔSCF reference and an experimental C/N/O 1s set are still required.

Bindings ​

SurfaceEntry point
CLIsci-form xps '<elements>' '<coords>' --elements-filter '[6]'
WASMcompute_xps_binding_energies(elements, coords, filter_json, charge, multiplicity)
Pythoncompute_xps_binding_energies(elements, coords, elements_filter=None, charge=0, multiplicity=1)

The CLI prints the full JSON result. --elements-filter takes a JSON array of atomic numbers; an empty filter, or one that selects no atom with a core-like s orbital, is an error. --multiplicity must be ≥ 1 and compatible with the electron count. Python reports empty filters, empty/non-finite geometries, incompatible charge/multiplicity and empty selections as ValueError; non-convergence remains NotConvergedError (RuntimeError). WASM returns {"error": "..."}

Limitations ​

  • Koopmans approximation, no core-hole relaxation or final-state screening.
  • UHF/STO-3G only; absolute values are not benchmarked.
  • The selected orbital is the most atom-localized s orbital, not a symmetry- labelled core state.
  • No XANES, transition potential or core excitation.
  • No relativistic corrections for heavy elements.
  • No spectrum broadening or peak assignment.

Next steps ​

  1. Add ΔSCF core-hole energies.
  2. Add a transition-potential or restricted-excitation XANES path.
  3. Add relativistic corrections and ECPs for heavy elements.
  4. Add C/N/O 1s experimental benchmarks.
  5. Add spectrum broadening.

Released under the MIT License.