Saturday, November 28, 2026
Science
No Result
View All Result
  • Login
  • HOME
  • SCIENCE NEWS
  • CONTACT US
  • HOME
  • SCIENCE NEWS
  • CONTACT US
No Result
View All Result
Scienmag
No Result
View All Result
Home Science News Technology and Engineering

Open Source Python Tool Accurately Computes Relativistic Electron Bound States

November 28, 2026
in Technology and Engineering
Denise Maddox
By Denise Maddox Scienmag Editorial Profile - Mechanical Engineering
Reading Time: 6 mins read
0
Open Source Python Tool Accurately Computes Relativistic Electron Bound States

Open Source Python Tool Accurately Computes Relativistic Electron Bound States

65
SHARES
587
VIEWS
Share on FacebookShare on Twitter
ADVERTISEMENT

A computational physics package implemented in pure Python successfully solves the radial Dirac equation for bound-state electrons across diverse central-field potentials, providing researchers with an accessible tool for relativistic atomic-structure investigations. As established by numerical evaluations, the software, named RWFS, determines one-electron wavefunctions and energy eigenvalues with relative errors below 1.2×10−10 when benchmarked against analytical solutions for hydrogen-like ions spanning atomic numbers from Z=1 to Z=105. By implementing Salvat’s power-series method within a modular and extensible architecture, the framework facilitates the generation of normalized relativistic orbitals, orbital energies, and radial expectation values. These accurate single-particle solutions serve as foundational inputs for advanced many-electron relativistic treatments, including self-consistent-field calculations, multiconfiguration Dirac–Hartree–Fock procedures, and relativistic configuration-interaction calculations.

Relativistic atomic-structure theory relies on precise numerical representations of one-electron Dirac orbitals to construct electronic configurations within the independent-particle approximation. The quality, stability, and convergence of multielectron methods depend directly on the numerical precision of these initial radial wavefunctions. Although numerical techniques such as shooting approaches, finite-difference predictor–corrector algorithms, and B-spline expansions have long been employed, Salvat’s power-series method offers proven numerical stability, rapid convergence, and high precision across varied atomic environments. Established computational suites like GRASP, FAC, and JAC embed radial Dirac solvers within comprehensive packages, and standalone Fortran implementations of the algorithm exist. However, the development of RWFS addresses the need for a lightweight, transparent Python package tailored for testing central-field models, prototyping computational workflows, and generating complete orbital sets without modifying extensive multi-electron codebases.

The package architecture is structured into three dedicated directories designated as src, tools, and examples, ensuring a clean separation between core computational algorithms, conversion utilities, and demonstration workflows. The core solver resides entirely in Python under src, operating without external numerical library dependencies and executing across any operating system supporting Python 3, including Linux, macOS, and Windows. Within this directory, the primary script coordinates execution by reading input parameters, establishing radial grids, and setting up central-field potentials using physical constants. Subsequent numerical tasks, including tridiagonal linear-algebra operations and natural cubic-spline interpolations, are delegated to specialized internal modules. Meanwhile, the tools directory provides an auxiliary Fortran utility that converts native ASCII wavefunction outputs into the binary orbital format required by the GRASP suite, requiring an external Fortran compiler only when this optional conversion is utilized.

To solve the coupled radial Dirac equations for the large and small components, Pnκ(r) and Qnκ(r), RWFS expands the radial wavefunctions within each grid interval using local power-series expansions whose coefficients satisfy defined recurrence relations. At the initial grid interval adjacent to the origin, the software applies a modified expansion designed specifically to enforce the correct regular boundary conditions. The determination of bound-state orbitals proceeds through an outward integration from the origin and an inward integration from the asymptotic region. These independent numerical solutions are matched at an intermediate radial distance, and the corresponding orbital energy is iteratively adjusted via a shooting-and-matching procedure until the matching residual satisfies a prescribed convergence criterion. Converged radial wavefunctions are subsequently normalized to unity and used alongside cubic-spline integration routines to determine radial expectation values, including ⟨r⟩, ⟨r2⟩, and ⟨r−1⟩.

The mathematical framework of RWFS is deliberately restricted to bound states of electrons subjected to attractive central fields, with the eigenvalue search strictly confined to the energy domain between −c2 and 0, measured relative to the rest-mass threshold. The negative-energy spectrum, which begins at −2c2, and the positive-energy continuum represent unbound electronic configurations that are not treated in version 1.0. Within this bound-state scope, the code accommodates two distinct non-uniform radial grids: a default geometric grid that provides high point density near the nucleus and becomes coarser at larger radii, and an exponential grid whose mathematical form matches the grid utilized by GRASP. This shared grid geometry permits direct, lossless numerical exchanges of radial orbital data between RWFS and GRASP calculations.

A notable feature of the package is its implementation of nine distinct central-field potential models, enabling systematic comparisons of atomic shielding and nuclear structures. Seven of these models represent point-nucleus configurations: the Thomas–Fermi statistical potential, the bare unscreened Coulomb potential, Yukawa and multi-Yukawa screened potentials, screened-Coulomb and screened-hydrogenic effective-charge models, and an arbitrary user-defined potential option. The user-defined model reads tabulated radial distance and potential values from an external file and interpolates them using natural cubic splines, permitting potentials computed by Hartree–Fock, self-consistent-field, density-functional theory, or multiconfiguration Dirac–Hartree–Fock programs to be incorporated without modifying source code.

The numerical precision of the algorithm was thoroughly verified through comparisons with analytical Dirac solutions for hydrogen-like ions spanning atomic numbers from hydrogen (Z=1) to dubnium (Z=105). Across the 1s1/2, 2p1/2, 3d3/2, and 4f5/2 orbitals in a pure Coulomb field, the absolute energy discrepancies remained strictly below 5×10−7 atomic units. Relative errors were typically on the order of 10−11, with the largest observed relative error staying below 1.2×10−10 across all investigated nuclear charges and quantum states. For example, the ground-state 1s1/2 orbital of hydrogen yielded an exact binding energy of −0.50000665659536 a.u. compared to the numerical result of −0.50000665659655 a.u., representing an absolute difference of 1.190×10−12 a.u. and a relative error of 2.380×10−12. At the high-Z boundary for Db104+, the exact energy of −6712.01851178517 a.u. was matched by a numerical value of −6712.01851131118 a.u., confirming that boundary matching and power-series integration maintain stability even under extreme relativistic field conditions.

To evaluate performance in many-electron environments, the researchers performed calculations on neutral argon (Z=18) under Thomas–Fermi, multi-Yukawa, and Coulomb potentials, comparing the resulting orbital energies against independent self-consistent Dirac–Hartree–Fock data from JAC, FAC, and B-spline approaches. In these multi-electron tests, the 1s1/2 state yielded energies of −3066.18 eV under the Thomas–Fermi potential, −2892.04 eV with the multi-Yukawa potential, and −4427.43 eV using the pure Coulomb field, compared to JAC and FAC self-consistent values of −3107.61 eV and −3124.90 eV. These comparative results highlight how analytical central-field approximations diverge from self-consistent field models, demonstrating that while multi-Yukawa models describe core shells well, diffuse valence orbitals exhibit pronounced sensitivities to the chosen shielding formulation.

Independent structural comparisons between wavefunctions generated by RWFS and the GRASP suite further established the physical fidelity of the solver. Evaluating normalized large and small radial components for representative orbitals—specifically the carbon 2p1/2, argon 3p3/2, and lanthanum 5d5/2 states—demonstrated close point-by-point agreement between the two computational codes throughout the radial space. The curves matched closely in the near-nuclear region, captured identical nodal structures across intermediate radial distances, and aligned throughout the asymptotic decay domain. Calculations executed for neutral aluminium (Z=13) using the Thomas–Fermi model similarly demonstrated the capability of RWFS to converge complete sets of orbitals, including 1s, 2s, 2p−, 2p, 3s, 3p−, and 3p, in a single run, producing 1s and 3p orbital energies of −54.927961615 a.u. (−1494.667 eV) and −0.326281219 a.u. (−8.879 eV).

Investigations into finite-nuclear-size effects across hydrogen-like ions from H to Db104+ revealed how spatial charge distributions perturb relativistic energy levels. The numerical findings showed that finite-nuclear-size energy shifts are largely confined within 10−4 eV to s1/2 and p1/2 orbitals, scaling dramatically with atomic number Z. For the 1s1/2 ground state, the energy displacement relative to a point nucleus expanded from approximately 1.28×10−8 eV in hydrogen to 49.18 eV in Au78+ and 778.16 eV in Db104+ under the spherical nuclear model. Under the Fermi distribution, corresponding shifts reached 49.09 eV for Au78+ and 776.57 eV for Db104+, with the difference between the two finite-size models amounting to −1.5974 eV in dubnium, demonstrating the sensitivity of inner relativistic electrons to specific nuclear density profiles.

Operational flexibility is supported by dual interactive and batch execution workflows, allowing researchers to rapidly examine single orbitals or automate high-throughput parameter sweeps. In interactive execution, users launch the main script and respond to direct terminal prompts specifying atomic numbers, electron counts, desired orbital lists in spectroscopic or (n,κ) notation, and potential parameters. For high-volume production tasks, non-interactive execution takes structured input files via command-line redirection, generating execution logs, tabular summaries of energies and expectation values, ASCII wavefunction outputs, and formatted GRASP files. This scriptable structure enables direct incorporation into automated pipelines for benchmarking numerical methods and generating initial orbital guesses.

Distributed under the open-source MIT license via GitHub, version 1.0 of RWFS delivers a reliable platform for relativistic orbital construction and computational benchmarking. While the current software release is confined to bound electron states within attractive central fields, the development team has outlined plans to expand future iterations toward continuum scattering states and negative-energy continuum states. By bridging standalone power-series solvers and large-scale relativistic atomic packages, RWFS provides researchers with a practical, fully open-source framework for exploring central potentials, testing nuclear models, and advancing relativistic atomic physics calculations.

Subject of Research: Relativistic atomic physics and computational Dirac equation solver package

Article Title: RWFS: An open-source Python package for bound-state solutions of the radial Dirac equation in arbitrary central-field potentials

Article References: Mansour, M. Z., Gamal, Y. E. E. D., Fritzsche, S. U., & El Sherbini, T. M. (2026). RWFS: An open-source Python package for bound-state solutions of the radial Dirac equation in arbitrary central-field potentials. SoftwareX, 36, Article 103274. https://doi.org/10.1016/j.softx.2026.103274

Image Credits: AI Generated

DOI: 10.1016/j.softx.2026.103274

Keywords: radial Dirac equation, relativistic atomic structure, computational physics, Python package, bound-state solutions, Salvat power-series method, central-field potentials, GRASP compatibility, hydrogen-like ions, finite-nuclear-size effects, Fermi charge distribution, orbital energies, radial expectation values, many-electron systems, atomic orbitals, multiconfiguration Dirac-Hartree-Fock, Thomas-Fermi potential, Yukawa potential

Cite Scienmag News

Denise Maddox. (November 28, 2026). Open Source Python Tool Accurately Computes Relativistic Electron Bound States. Scienmag. https://scienmag.com/open-source-python-tool-accurately-computes-relativistic-electron-bound-states/

Denise Maddox. "Open Source Python Tool Accurately Computes Relativistic Electron Bound States." Scienmag, 28 November 2026, https://scienmag.com/open-source-python-tool-accurately-computes-relativistic-electron-bound-states/. Accessed 28 November 2026.

Denise Maddox. "Open Source Python Tool Accurately Computes Relativistic Electron Bound States." Scienmag. November 28, 2026. https://scienmag.com/open-source-python-tool-accurately-computes-relativistic-electron-bound-states/

Tags: atomic orbitalsbound-state solutionscentral-field potentialscomputational physicsFermi charge distributionfinite-nuclear-size effectsGRASP compatibilityhydrogen-like ionsmany-electron systemsmulticonfiguration Dirac-Hartree-Fockorbital energiesPython packageradial Dirac equationradial expectation valuesrelativistic atomic structureSalvat power-series methodThomas-Fermi potentialYukawa potential
Share26Tweet16
Previous Post

Hypericum elongatum Extract Shows Antibacterial and Selective Colorectal Cancer Cell Toxicity

Next Post

Review Shows Community Water Monitoring Requires Usable Design Over Laboratory Precision

Related Posts

Review Shows Community Water Monitoring Requires Usable Design Over Laboratory Precision
Technology and Engineering

Review Shows Community Water Monitoring Requires Usable Design Over Laboratory Precision

November 28, 2026
Interfacial Alloying Model Resolves Longstanding Discrepancy in Strained Superlattice Light Emission
Technology and Engineering

Interfacial Alloying Model Resolves Longstanding Discrepancy in Strained Superlattice Light Emission

November 28, 2026
Topology-Aware Graph Framework Improves Anomaly Detection Across Internet of Things Traffic
Technology and Engineering

Topology-Aware Graph Framework Improves Anomaly Detection Across Internet of Things Traffic

November 28, 2026
Restricting Artificial Intelligence to Development Stage Preserves Design Students’ Conceptual Autonomy
Technology and Engineering

Restricting Artificial Intelligence to Development Stage Preserves Design Students’ Conceptual Autonomy

November 28, 2026
Audited Vision Model Identifies Power Line Fall Risks With 90 Percent Accuracy
Technology and Engineering

Audited Vision Model Identifies Power Line Fall Risks With 90 Percent Accuracy

November 28, 2026
Dual Branch Model Blends Knowledge Graphs and Trajectories for Typhoon Tracking
Technology and Engineering

Dual Branch Model Blends Knowledge Graphs and Trajectories for Typhoon Tracking

November 28, 2026
Next Post
Review Shows Community Water Monitoring Requires Usable Design Over Laboratory Precision

Review Shows Community Water Monitoring Requires Usable Design Over Laboratory Precision

  • Mothers who receive childcare support from maternal grandparents show more optimized

    Mothers who receive childcare support from maternal grandparents show more parental warmth, finds NTU Singapore study

    27657 shares
    Share 11059 Tweet 6912
  • University of Seville Breaks 120-Year-Old Mystery, Revises a Key Einstein Concept

    1061 shares
    Share 424 Tweet 265
  • Bee body mass, pathogens and local climate influence heat tolerance

    682 shares
    Share 273 Tweet 171
  • Researchers record first-ever images and data of a shark experiencing a boat strike

    546 shares
    Share 218 Tweet 137
  • Groundbreaking Clinical Trial Reveals Lubiprostone Enhances Kidney Function

    531 shares
    Share 212 Tweet 133
Science

Embark on a thrilling journey of discovery with Scienmag.com—your ultimate source for cutting-edge breakthroughs. Immerse yourself in a world where curiosity knows no limits and tomorrow’s possibilities become today’s reality!

RECENT NEWS

  • Hormone Imbalance Drives Prostatic Fibrosis Through Reprogrammed Macrophages and STAT3 Activation
  • Stem Cell Vesicles Delivering miR-143-3p Inhibit Ovarian Endometriosis Organoid Growth
  • Trial Design Details Testing Transcatheter Valve Replacement in Moderate Aortic Stenosis
  • Single-Cell Transcriptomics Links Altered Fibroblast Signaling to Impaired Diabetic Foot Healing

Categories

  • Agriculture
  • Anthropology
  • Archaeology
  • Athmospheric
  • Biology
  • Biotechnology
  • Blog
  • Bussines
  • Cancer
  • Chemistry
  • Climate
  • Earth Science
  • Editorial Policy
  • Marine
  • Mathematics
  • Medicine
  • Pediatry
  • Policy
  • Psychology & Psychiatry
  • Science Education
  • Science News
  • Social Science
  • Space
  • Technology and Engineering

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 5,151 other subscribers

© 2026 Scienmag - Science Magazine

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • SCIENCE NEWS
  • CONTACT US

© 2026 Scienmag - Science Magazine

Discover more from Science

Subscribe now to keep reading and get access to the full archive.

Continue reading