Electronegativity equalization charges
Module: sci_form::charges_eeq (core; promoted from the experimental tier) Feature flag: none (core)
Validation and limits
| Question | Answer |
|---|---|
| Compared with | multicharge 0.6.0 and an independent NumPy EEQ2019 oracle |
| Measured separation | charges 6.9e-12 e; coordination numbers 1.9e-11; EEQ2019 charge 6.1e-7 e |
| Confidence region | 23 molecules vs multicharge; 14 EEQ2019 cases |
| Main limitation | numerical gradients; no periodic boundary conditions; parameter coverage is not universal |
The raw rows and the exact tolerances are in the full validation matrix.
Overview
Implements geometry-dependent Electronegativity Equalization (EEQ) charges, capturing polarization effects that static charge models like Gasteiger-Marsili miss. Charges depend on the 3D molecular geometry through fractional coordination numbers, making them suitable for conformer-dependent property prediction and as input to dispersion and solvation models.
Theory
Electronegativity Equalization
At equilibrium, all atoms share a common electrochemical potential
This yields an
Fractional Coordination Number
Geometry dependence enters through the coordination number:
The Fermi-function damping provides smooth, differentiable CN values.
Damped Coulomb Interaction
The pairwise interaction kernel uses improved Gaussian damping with a
where
API
use sci_form::charges_eeq::*;
// Compute EEQ charges
let result = compute_eeq_charges(&elements, &positions, total_charge);
// result.charges: Vec<f64>
// result.coordination_numbers: Vec<f64>
// Fractional coordination numbers
let cn = fractional_coordination(&elements, &positions);
// EEQ electrostatic energy
let energy_result = compute_eeq_energy(&elements, &positions, total_charge);
// energy_result.energy_kcal_mol: f64
// energy_result.charges: Vec<f64>
// Numerical gradient
let gradient = compute_eeq_gradient(&elements, &positions, total_charge, 0.001);Supported Elements
Full coverage for Z=1–86: H through Rn, including all 3d/4d/5d transition metals (Ti–Au), lanthanides (La–Lu), and period-6 main-group elements.
Comparison with Gasteiger
| Property | Gasteiger | EEQ |
|---|---|---|
| Geometry-dependent | No | Yes |
| Coordination effects | No | Yes (CN) |
| Charge neutrality | Iterative | Exact (constraint) |
| Transition metals | No | Yes |
| Gradients | No | Yes (numerical) |
Tests
cargo test --features beta-cpm --test experimental_gates -- test_eeq8 integration tests (tests/experimental/test_eeq.rs) covering: charge neutrality, coordination numbers, energy computation, gradient accuracy, element coverage, and comparison with Gasteiger charges.
These tests live in the experimental_gates target — see Overview for the full command matrix.