Searcharxiv⌕ Search

arXiv · 2610.37483

StudDFT: A quantum chemistry program for educational and research purposes

Abstract

StudDFT is a quantum chemistry program for Hartree--Fock (HF), density functional theory (DFT), and second-order Møller--Plesset (MP2) calculations of small and medium-sized molecules. It is intended primarily for teaching and student research, but its accuracy suffices for routine research calculations. Version 1.30.2 implements the RHF/UHF, RKS/UKS, and RMP2/UMP2/PUMP2 schemes in Gaussian basis sets, including effective core potentials (ECP); LDA, GGA (BLYP, BP86, BPW91, PBE), meta-GGA (r$^2$SCAN), global hybrid (B3LYP, PBE0) and range-separated hybrid ($ω$B97, $ω$B97X, $ω$B97X-D) functionals; analytical gradients and Hessians; geometry optimization, transition-state and reaction-path (IRC) searches, potential energy surface scans, harmonic frequencies and IR intensities, thermochemistry, counterpoise corrections, D3(BJ) dispersion, polarizable continuum solvation, density fitting (RI-J/RI-JK), linear-response TDDFT, and fractional-occupation smearing. The program has been verified against ORCA and PySCF on 50 molecules (30 for optimizations): the mean absolute deviations of the single-point energies do not exceed 7 $μ$Ha for HF, MP2, and the LDA, GGA, and global hybrid functionals except PBE and PBE0, whose systematic shifts of several tens of $μ$Ha are traced mainly to the value of $μ$ in the PBE exchange; those of the optimized interatomic distances and harmonic frequencies do not exceed 1.2$\times$10$^{-4}$ Å and 1.2 cm$^{-1}$. Corrections made since the first public version (0.82), mainly affecting vibrational frequencies, are documented with their effect on the verification results. Unlike large multi-language packages, StudDFT is a monolithic Fortran code with OpenMP parallelization, which simplifies its use in courses. Binaries for Windows and Linux, the documentation, and all test inputs and outputs are freely available.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Stanislav K. Ignatov. 2026-10-27. StudDFT: A quantum chemistry program for educational and research purposes. https://arxiv.org/abs/2610.37483

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Human Language Shapes the Emerging Physical Reasoning in Large Language Models

Whether large language models (LLMs) acquire adequate representations of physical reality by predicting the next token remains unresolved. Molecular conformations provide a quantitative test: we asked 28 LLMs to rank 810 geometries of 27 molecules from atomic coordinates alone. Frontier LLMs approach the accuracy of specialized force fields, but their ability is bound to well-defined chemical concepts. They rank conformers with more hydrogen bonds as more stable, inverting the true order when the hydrogen-bonded conformer is less stable. On pairs with equal hydrogen-bond counts, they are most accurate for molecules whose explanations invoke hydrogen bonding, whereas molecules governed by ring strain remain difficult. Thus, the physical understanding emerging in LLMs inherits the structure and blind spots of human scientific discourse, a machine analogue of linguistic relativity.

physics.chem-ph↗

Integer electron-count cuts in variational second-order reduced-density-matrix theory. I. Molecular dissociation with fixed real-space and orbital partitions

Van Aggelen et al. [Phys. Chem. Chem. Phys. 11, 5558 (2009)] showed that variational second-order reduced-density-matrix (2-RDM) calculations with the standard two-index conditions dissociate diatomic molecules into fractionally charged atoms with energies far below the exact limit, a drastic violation of size consistency; the proposed subsystem constraints require auxiliary calculations with the physical fragment Hamiltonians. We show that two long-known ingredients, combined, remove most of this failure without such calculations: the requirement that the number of electrons in a part of the molecule be an integer, imposed as linear conditions on the 2-RDM, and a chemically motivated partition of the molecule into atomic regions bounded at the bond critical point of the Hartree-Fock density. In a minimal basis, compared with full configuration interaction, a single such condition reduces the energy errors of NO$^+$ and CN$^-$ at 6 Å from 108.9 and 80.7 m$E_\mathrm{h}$ to less than 0.02 m$E_\mathrm{h}$. In N$_2^+$, whose fragments have the correct mean population but too small a fluctuation, the region and three-index conditions act complementarily, reducing the error at 4 Å from 138.0 to 1.6 m$E_\mathrm{h}$. At the separated-atom limit, the region cuts make the $P$, $Q$, $G$ energy additive over the fragments to within 0.2 m$E_\mathrm{h}$ in 7 of 10 systems, 3 already nearly additive without cuts; adding the $T_1$ and $T_2$ conditions also makes CO nearly additive, while a nonadditive error remains for N$_2^+$ and CO$^+$. Effective partitions are those whose condition is nearly saturated by the exact state.

physics.chem-ph↗

Machine Learning Hamiltonians with Polarizations for Heterogeneous Systems

Machine learning Hamiltonians use local atomic structures to determine local Hamiltonian matrix elements without carrying out self-consistent calculations. They have been used to study large systems and to carry out high-throughput screening for their electronic and optical properties. The prediction of the Hamiltonian is essentially the prediction of the electron electrostatic potential energy; however, for heterogeneous systems, this potential energy is often determined by faraway features, such as interface or surface dipoles, or even an applied voltage in a nanodevice. Thus, it cannot be determined by local atomic structures alone. In this sense, one needs to solve the electron electrostatic potential energy self-consistently using intrinsic atomic dipoles, the applied external potential energy, and polarizabilities. Fortunately, the intrinsic dipoles and polarizabilities are local properties, whereas the applied potential energy is a prescribed input. In this work, we propose DeepH-Polar, a physically informed machine learning Hamiltonian model that explicitly predicts intrinsic atomic dipoles and polarizability tensors and uses them to solve the electron electrostatic potential energy self-consistently. Benchmarks on polar GaN systems and crystalline-Si/amorphous-SiO$_2$ interfaces demonstrate improved Hamiltonian accuracy and reproduction of thickness-dependent electrostatic variations, as well as spatially nonuniform field-induced screening that models without polarization fail to capture. Our model also allows us to study nanoscale electronic devices. By iteratively solving the Hamiltonian eigenproblem and self-consistently updating free-carrier occupations and the electrostatic potential, we simulate an 8,194-atom gated semiconductor device.

physics.chem-ph↗