Conceptio › Archive › arXiv CS
arXiv CS open access

Born for the Task: Rethinking Quantum Chemistry with Foresighted Agentic Computing

Haozhi Han et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
artificial-intelligenceknowledge-representationreasoning
Quantum chemistry relies on general-purpose software, whose generality leaves many large-scale calculations beyond practical resource budgets. Coding agents make task-specific programs cheap to write, but not efficient ones easy to find: whether a computational strategy is accurate and fast enough b
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Born for the Task: Rethinking Quantum Chemistry with Foresighted Agentic Computing Haozhi Han1,5,* , Junjie Yang2,* , Ruge Zhang3,5 , Zihe Huang3,5 , Pengyi Xu4 , Bo Zhang4 , Yunquan Zhang3 , Ting Cao5 , Yunxin Liu5 , Yifeng Chen1 , and Kun Li5,† 1

School of Computer Science, Peking University, 2 Moore Threads, 3 University of Chinese Academy of Sciences, 4 Michigan Technological University, 5 Institute for AI Industry Research (AIR), Tsinghua University

arXiv:2611.22897v1 [cs.AI] 17 Nov 2026

*

Equal contribution.

Quantum chemistry relies on general-purpose software, whose generality leaves many large-scale calculations beyond practical resource budgets. Coding agents make task-specific programs cheap to write, but not efficient ones easy to find: whether a computational strategy is accurate and fast enough becomes clear only after it actually runs at the target scale. We introduce B ORN, a foresighted agentic computing framework that synthesizes highperformance quantum chemistry programs on demand. B ORN anticipates the behavior of each strategy before execution, extrapolating its error from representative small systems and predicting its runtime from the target-scale workload and measured hardware throughputs. Building on these predictions, B ORN unfolds the preset schemes of existing packages into independently configurable algorithmic components, selects the fastest strategy within the error tolerance from the predicted accuracy–runtime Pareto frontier, and guides coding agents to compile it with component-level performance predictions. For a Hartree–Fock calculation with 50,024 basis functions, B ORN finishes in 1.41 h on a single CPU node, 77× faster than the estimated runtime of a general-purpose baseline and still 9.8× faster with development time included. On a single GPU, B ORN completes the ubiquitin calculation in 2.1,h, the same order of runtime as the GPU-accelerated package Mako on 64 GPUs, and shortens the B-DNA duplex calculation from an estimated two months to 8.1,h (173×). Date: November 17, 2026 Correspondence: † Kun Li at likun@air.tsinghua.edu.cn

(a) General-purpose package

1. Introduction Quantum chemistry resolves the structure and properties of matter at the electronic level by solving the electronic Schrödinger equation [29]. Its numerical solution relies on mature software packages developed and refined by domain experts over decades [16, 45, 61, 73]. Given the high cost of software development and numerical validation, these packages combine broadly applicable methods with carefully optimized general-purpose implementations, delivering reliable results across diverse molecules, scientific objectives, and computing environments. However, this generality can limit computational efficiency for demanding quantum chemistry tasks. Each calculation fixes its molecule, basis set, accuracy requirement, and hardware, yet general-purpose implementations offer only a few preset algorithms and settings that cannot exploit them. This limitation is particularly pronounced for large molecular systems of scientific interest, where the time or memory required by general-purpose implementations can exceed practical resource budgets [21, 34]. Consequently, the quantum chemistry calculations needed to investigate these systems can remain beyond practical reach.

(b) B ORN (Ours)

Foresighted Agentic Computing

Preset scheme fixed

fixed

Coulomb J Exchange K

fixed Eigensolver

q

RI-J

SGX

FMM-J

LinK

Coulomb J Exchange K

standard

banded Eigensolver

¥ CPU

≈109 h

GPU

× 64

CPU

1.41 h

GPU

×1

Figure 1. General-purpose package vs. B ORN: one preset scheme for every task vs. a program born for each task.

Recent advances in coding agents have opened new opportunities for quantum chemistry through automated code generation and optimization [10, 48, 74]. By lowering development costs, these agents make it increasingly feasible to synthesize programs tailored to individual quantum chemistry tasks [12, 23, 59], rather than relying solely on preset general-purpose implementations. Such programs can exploit what each task fixes, bringing previously infeasible calculations within practical reach. Yet while coding agents make programs easy to write, they do not make efficient programs easy to find, for three

1

reasons. Unproductive search: beyond preset schemes, algorithms and settings combine into a vast, unmapped space, so agents waste the budget on unpromising strategies. Expensive feedback: a strategy’s accuracy and runtime are revealed only by running it, yet target-scale runs are costly and smallscale runs mislead, so agents cannot judge strategies cheaply. Blind optimization: small-scale timings also hide target-scale bottlenecks, so agents cannot tell where optimization pays off. This raises a central question: How can coding agents build the program best suited to a task before running it at the target scale? We answer this question with B ORN, a foresighted agentic computing framework that guides the on-demand synthesis of high-performance programs through predictive reasoning, extending the computational frontier of quantum chemistry beyond existing general-purpose software. Our key insight is that the feasibility and performance potential of a computational strategy can be anticipated before it is executed. Specifically, its numerical error can be estimated by analyzing representative small systems and extrapolating to the target [32, 54], while its runtime can be predicted by combining the target-scale computational workload with throughputs measured by hardware microbenchmarks [67, 72]. This allows agents to guide strategy selection and program synthesis through foresighted decisions, without relying on costly target-scale trial and error. B ORN puts this insight into practice through three interlocking stages. Component-Wise Unfolding decomposes preset schemes in general-purpose software into independently configurable algorithmic components and recombines them across components and computational stages, exposing a structured design space with potentially efficient strategies unavailable in existing packages. Target-Scale Foresight reuses component-level analyses to accurately predict numerical errors and runtimes at the target scale at low cost, constructing a predicted accuracy–runtime Pareto frontier and selecting the fastest strategy expected to satisfy the accuracy constraint. Agent-Driven Compilation exploits the task-specific computational structure for ahead-of-time specialization and uses component-level performance predictions to diagnose bottlenecks, guiding agents toward targeted, hardware-aware optimization and iterative validation. We evaluate B ORN on large-scale quantum chemistry tasks, demonstrating its ability to extend the computational frontier beyond general-purpose software. For a Hartree– Fock calculation with 50,024 basis functions, B ORN completes the task in just 1.41 h on a single CPU node, while some general-purpose packages fail to complete it. Even a general-purpose baseline capable of running the task is estimated to require 109 h, corresponding to a 77× computational speedup and a 9.8× end-to-end speedup including development time. For ubiquitin, B ORN reduces the GPU requirement from 64 to just one while maintaining comparable

runtime. More broadly, we envision a paradigm shift in scientific computing: from adapting scientific problems to existing programs to building programs born for each task—expanding not just computational efficiency, but the boundaries of what we can compute.

2. Related Work Quantum Chemistry Software and Algorithms. ORCA, Q-Chem, Psi4, NWChem, GAMESS, PySCF, and GPU4PySCF [4, 5, 16, 44, 60, 61, 73] accelerate SCF with fast Coulomb (RI-J, FMM) [15, 64, 71] and exchange builds (LinK, RI-K variants, SGX/COSX) [18, 40, 46, 50, 53, 68], but expose them as a few preset schemes with parameters reliable across molecules. TeraChem, EXESS, Mako, and MakoXC port SCF to GPUs and AI accelerators [6, 7, 20, 25, 26, 52, 58] Agentic Scientific Programming. AlphaEvolve evolves code under automated evaluators [48], and KernelBench measures the correctness and efficiency of agent-generated GPU kernels [51]; cuPilot and KernelPro add roofline reasoning or hardware profiling [9, 19]. Scientific agents improve scientific machine-learning workflows [75], LADeQ generates quantum-chemical approximations with error control [23], and agents have modernized the production code GAMESS [59]. Agent harnesses run multi-step simulations autonomously on existing packages [13, 42], and the worker– controller loop of FermiLink optimizes the J/K and TDDFT kernels of PySCF, accepting changes on measured runtime and accuracy [12]. These agents improve code or approximations from measured feedback. B ORN instead predicts target-scale error and runtime before implementation, so that development effort goes only to the strategy and components that can pay off.

3. Problem Formulation Tasks, Strategies, and Programs. We take Gaussian-basis Hartree–Fock (HF), solved by self-consistent-field (SCF) iteration [24, 57], as the concrete setting. A task x specifies the molecule, electronic state, HF formulation, orbital basis, error tolerance ε, and target hardware. We separate what is computed from how it is computed. A computational strategy θ ∈ S fixes the algorithm and numerical parameters of every component of the calculation and how they change over the SCF run (Sec. 4.1); it determines the numerical error ∆(θ; x) relative to a reference solution without further numerical approximation. A program Pθ implements θ on the target hardware; it determines the runtime T (Pθ ; x) and the peak memory Mpeak (Pθ ; x). A general-purpose package fixes one generic program for all tasks and restricts strategies to a few preset schemes Spkg ⊂ S. We instead treat both the strategy and the program as decision variables and build a program for each task. 2

(b) Target-Scale Foresight θ∗

J

Direct

K Physical model

- Hartree–Fock Accuracy ◎ error ≤ ε Hardware

CPU / GPU, Mmax

RI-J

LinK

RI-K

FMM-J

...

SGX

...

each × settings: grid, aux. basis, . . .

Recompose: pairings × stages early · FP32

θ

RI-J

SGX

final · FP64 FMM-J LinK

Error error

Decompose: algorithms per component

local-error model

ε

⋆

proxies

target

Runtime

W/R model

Wk

b=P T k

Rk

b T

(c) Agent-Driven Compilation Static computation graph

Pareto selection

J, K

b ∆ error

(a) Component-Wise Unfolding S

Task

⋆ runtime

⋆ fastest θ∗ with b ≤ Mmax b ≤ ε, M ∆ NO TARGET RUNS

F

diag

D

SCF loop

ε

fixed shapes

 & workloads

revert if invalid or slower

Æ

¥

7

Compile Validate Measure keep; next bottleneck

Ð Task-specific program Pθ∗

Figure 2. Overview of B ORN. Given a task, B ORN (a) unfolds package schemes into a strategy space S, where one strategy θ ∈ S is one pairing per SCF stage; (b) predicts the target-scale error and runtime of every strategy from proxies and microbenchmarks and selects the fastest θ∗ within ε; and (c) has coding agents compile θ∗ into a task-specific program.

Objective. Given x, the memory limit Mmax of its hardware, and a development budget B, we minimize the total time to solution: min

θ∈S, Pθ

s.t.

compilation must target the dominant components while keeping ∆ ≤ ε (Sec. 4.3).

4. The B ORN Framework

Tdev + T (Pθ ; x) ∆(θ; x) ≤ ε,

Mpeak (Pθ ; x) ≤ Mmax ,

B ORN addresses the three challenges in three stages (Fig. 2). Component-Wise Unfolding builds the strategy space S (Sec. 4.1); Target-Scale Foresight predicts the error, runtime, and peak memory of every strategy at the target scale and selects θ∗ , together with the predicted runtime Tbi of each component (Sec. 4.2); and Agent-Driven Compilation turns θ∗ into a task-specific program Pθ∗ (Sec. 4.3). In terms of Eq. (2), the first two stages minimize the strategy cost, the third earns the compilation gain, and predictions in place of target-scale trial runs keep the development cost within B.

(1)

Tdev ≤ B, where Tdev covers all analysis, code generation, trial runs, and validation. We state the single-run case; additional production runs only amortize Tdev . When no scheme in Spkg , run by the package’s generic program, meets ε within Mmax and practical time, the task lies beyond the practical reach of general-purpose software; enlarging the space to S and specializing Pθ to the task can bring it within reach. Decomposition. Let Tb(θ; x) be the predicted runtime of the uncompiled program, which implements θ with generalpurpose kernels and solvers (Sec. 4.2). Then  Tdev + T = |{z} Tb − Tb − T + Tdev . (2) |{z} | {z } strategy cost

compilation gain

4.1. Component-Wise Unfolding Existing packages offer strategies only as preset schemes Spkg , such as RIJCOSX in ORCA. Each scheme bundles three levels of choice: the algorithm for each component of the calculation, how these algorithms are paired, and how the pairing is scheduled over the SCF run. Because the fastest choice at each level depends on the molecule, accuracy, and hardware, fixing them jointly for every task forfeits the strategies a task needs. B ORN unbundles these levels, algorithms, pairings, and schedules, and recomposes them subject to compatibility; the resulting space contains every package scheme as a special case. Knowledge-Based Decomposition: Algorithms. Each SCF iteration of restricted HF (RHF) consists of components i ∈ I: Coulomb (J) construction, exchange (K) construction, Fock-matrix diagonalization, and the density update. Domain knowledge identifies these components as separately replaceable and supplies the candidate algorithms Ai of each; this decomposition is specific to the method but not to the task, so it is set up once for HF and reused across tasks. J may be built directly, by the resolution of the identity (RI-J), or with the fast multipole method (FMM-J); K directly, with linear-scaling density-based screening (LinK), by RI with global, local, or pair-atomic fitting (RI-K, local RI-K, PARIK), or by seminumerical quadrature (SGX, including chain-

development cost

The three terms are set by the choice of θ, the specialization of Pθ , and the effort spent within B; Secs. 5.2.2–5.2.4 measure them in turn. Challenges. The objective and constraints of Eq. (1) are defined at the target scale, yet evaluating them directly requires target-scale runs that take hours to days. Each of the three decisions, where to search, which strategy to select, and how to compile it, therefore faces one challenge. (1) Unproductive search: beyond Spkg , choices combine across components and SCF stages into a vast, unmapped space, which must be organized for component-wise analysis (Sec. 4.1). (2) Expensive feedback: ∆ and T are revealed only by running, and small systems mislead because errors and runtime scaling change with size; both must be predicted at the target scale without running there (Sec. 4.2). (3) Blind optimization: the runtime shares of components change with size, so small-scale timings hide target-scale bottlenecks; 3

of-spheres exchange, COSX). J and K carry the main approximations; diagonalization and the density update [55, 56] enter the strategy through their precision and convergence thresholds. Each algorithm a ∈ Ai takes numerical parameters, such as the auxiliary basis, quadrature grid, screening threshold, and floating-point precision [27, 35, 39, 69], with Qi,a settings; since they set the accuracy–cost trade-off, they are part of the choice, not fixed defaults. An algorithm choice for component i is one P algorithm with one setting, drawn from Ci with |Ci | = a∈Ai Qi,a . A choice belongs to the strategy if it changes the approximation, and to the program otherwise: integral handling (direct or stored), incremental Fock builds, and integral kernels [1, 49] change only the cost and are deferred to compilation (Sec. 4.3). Combinatorial Composition: Pairings and Schedules. A pairing selects one algorithm choice for every component of an SCF stage; any J algorithm can be paired with any K algorithm. A schedule follows an SCF protocol π ∈ Π, which divides the iterations into stages T (π), optionally ending with a post-SCF energy re-evaluation, and assigns each stage its own pairing, e.g., looser thresholds and lower precision early and tighter ones near convergence [39]. A computational strategy is a complete schedule, i.e., one pairing per stage. Before compatibility constraints, the strategy space has size X Y Y |Sraw | = |Ci |, (3)

ucts of nearby basis functions, atom-centered grid points, or screened shell quartets, and in gapped systems the density matrix decays exponentially with distance [32, 54]. Along a series of systems that share the local structure of the target, errors thus grow nearly linearly with size. B ORN therefore builds a series of small proxy systems matched to the target. On each proxy, it computes a tightly converged reference without further approximation, fixes the reference density, and substitutes the algorithm choice of one component at a time to measure its error, e.g., that of the auxiliary basis of RI-J, the grid of SGX, or the screening threshold of LinK. Because approximations also change the self-consistent density, B ORN runs full SCF calculations for selected combinations and splits the signed error behind ∆(θ; x) into Eθ [Dθ ] − Eref [Dref ] =

Eθ [Dθ ] − Eref [Dθ ] | {z }

fixed-density approximation error

+ Eref [Dθ ] − Eref [Dref ] . {z } |

(4)

self-consistent density response

The density response, calibrated on these combinations, scales the sum of component errors, and the error of a schedule is that of its final stage. B ORN then fits the size dependence of each component error over the proxy series, validates the fit on held-out larger proxies, and attaches a b x). We call this the localprediction margin to obtain ∆(θ; error model. Hardware-Aware Performance Modeling. Gaussian integrals, matrix operations, and eigensolvers stress the hardware in different ways, and screening shifts their scaling with size, so neither aggregate complexity nor a proxy-fitted model, a power law fitted to timings on small proxies and extended to the target [8], reliably predicts target-scale runtime. B ORN instead separates the two sources of runtime. Size enters only through the workload Wk of each operation k, which B ORN counts on the target system itself at a small fraction of the cost of running it; because integral screening depends on the density, it counts with the initial guess D0 , and for LinK it enumerates the shell quartets that survive densityweighted screening [33, 50]. Hardware enters only through the throughput Rk of the general-purpose kernel, which does not depend on size and is measured by microbenchmarks on the target hardware per angular-momentum class [31, 67]. The W/R model combines the two as Tbk = Wk /Rk , with one constant fitted on proxy systems for overheads a microbenchmark misses; eigensolvers [2, 41] are benchmarked directly on target-sized matrices with representative spectra. Summing over a strategy’s stages, with iteration counts from the proxy systems and with data transfers and overlap, yields the predicted runtime Tb of its uncompiled program and that of each component, Tbi . The same counts give the size of c. every stored tensor and thus the predicted peak memory M Pareto-Guided Strategy Selection. Composing these

π∈Π s∈T (π) i∈Is

where Is ⊆ I are the components active in stage Q s; the nested terms mirror algorithms (|C |), pairings ( i i ), and Q P schedules ( s , π ). Algorithmic dependencies and crossstage compatibility, such as tightening thresholds and precision only from one stage to the next, prune it to the feasible space S ⊆ Sraw . Multiplicative Space, Additive Analysis. The space grows as a product over components and stages and is far too large to search by Pexecution. Yet all strategies draw their parts from the same i |Ci | algorithm choices. Any property that can Pbe analyzed per choice and then composed therefore costs i |Ci | analyses rather than |S| runs. This structure answers the first challenge, and Target-Scale Foresight is built on it.

4.2. Target-Scale Foresight Foresight rests on one separation: quantities that depend on system size are counted on the target or extrapolated toward it, and quantities that do not are measured once on small systems or kernels. Both the error and the cost models are built per algorithm choice and composed per strategy, so their cost follows the additive structure of S. Task-Aware Error Modeling. Approximation errors depend on molecular composition, local structure, and electron distribution, so they do not transfer across molecules. They do, however, arise locally: each approximation acts on prod-

4

per-choice predictions gives the error, runtime, and peak memory of every strategy in S without evaluating any strategy separately. B ORN traces the predicted accuracy–runtime Pareto frontier [43] at the target scale, which shows the fastest strategy at every error level, and selects the fastest b ≤ ε and M c ≤ Mmax . It passes on θ∗ , strategy θ∗ with ∆ which fixes the algorithms, pairings, and schedule, together with the per-component runtimes Tbi that guide compilation.

sured component times Ti are updated; failing or slower changes are reverted. The loop ends when the budget B is spent or no remaining change pays off. The final program then runs once at the target scale, where its convergence, runtime, and peak memory are measured; its error remains b which compilation leaves unchanged. the extrapolated ∆,

4.3. Agent-Driven Compilation

5.1. Experimental Setup

Compilation turns θ∗ into a program that runs faster than its uncompiled form. It changes only how θ∗ is computed, never what is computed: the implementation choices deferred in Sec. 4.1 are made here, while algorithms, parameters, and b still holds. precision stay fixed, so ∆ Static Computation Graph. Once the molecule and θ∗ are fixed, the operators of every SCF stage, their dependencies, tensor shapes, and workloads are known before execution; only the sparsity of density-based screening varies, and it settles within the first iterations. Like a trained network frozen for deployment [3, 11], the calculation forms a nearly static computation graph, unlike the general execution paths of a package, which must serve any molecule. This enables three kinds of ahead-of-time (AOT) optimization that a package cannot apply. Invariants are hoisted: quantities that depend only on the molecule and basis, such as the factorization of the overlap matrix [38], are computed once rather than in every iteration. Kernels and solvers are specialized to the structure of the task, such as the band structure of the overlap matrix or the shell classes and tensor shapes of the basis [28, 63], with memory preallocated. And knowledge of the molecule is used directly, for example to tile the initial density from converged fragments [22, 65]. Prediction-Guided Agentic Compilation. These optimizations are open-ended code transformations, such as a new solver form or a rewritten integral kernel, rather than fixed compiler passes, so coding agents carry them out [9, 48]. Because the runtime shares of components change with size, agents do not rank bottlenecks by smallscale timings; they receive the predicted target-scale runtime Tbi of each component and work first on the components that dominate it. The microbenchmarks behind Tbi also suggest how: a component limited by integral throughput calls for kernel specialization, one limited by dense linear algebra for a better solver form or data layout. For LinK at a fixed basis and threshold, for example, agents specialize the integral kernels to the angular-momentum classes of the basis and precompute the screened shell-pair lists. Validate, Measure, and Iterate. Each modification is first validated: component matrices and SCF energies on proxy systems must agree with those of the uncompiled program within a tolerance set well below ε. Validated changes are then timed on the components they affect, and the mea-

Hardware Platforms. We evaluate B ORN on two singlenode platforms: (1) CPU, a Dell PowerEdge R7525 with two AMD EPYC 7513 processors (64 cores in eight NUMA domains) and 1 TiB of memory; and (2) CPU–GPU, a server with two AMD EPYC processors (64 cores), 512 GB of memory, and one NVIDIA A100 SXM4 GPU with 80 GB of device memory.

5. Experimental Evaluation

Baselines. For strategy coverage, we examine the algorithms, parameter options, and their composability in ORCA 6.1 [45], Gaussian 16, Q-Chem 6.3 [16], PySCF 2.15, and GPU4PySCF 1.9.1, based on public documentation. Because some commercial licenses restrict public performance benchmarking, we use the open-source PySCF [61, 62] and GPU4PySCF [36, 37, 73] as the CPU and GPU baselines for accuracy and performance, configured for the same physical model, orbital basis, error tolerance, and resources. The tuned baseline uses the fastest algorithms and settings the package supports that meet the error tolerance. Metrics. We evaluate four aspects. (1) Strategy coverage: the algorithms each package supports per component and how it combines them across components and SCF stages. (2) Numerical accuracy: the total-energy error ∆E = |E − Eref | relative to a tightly converged RHF reference with the same geometry and basis. We use ε = 10−4 Eh (0.1 mEh ), the accuracy scale of widely used approximations [30, 69], as a representative error tolerance; each task may set its own. (3) Execution performance: end-to-end SCF wall time and peak memory, including GPU memory where applicable. (4) Development efficiency: total time to solution, including strategy analysis, code generation, debugging, validation, and the production run. All predictions are fixed before final evaluation, and timings are repeated under the same resource constraints.

5.2. Dissecting B ORN Task: RHF/cc-pVTZ [14] on the linear alkane C862 H1726 (2,588 atoms, 50,024 basis functions) on the CPU platform with ε = 10−4 Eh . Shorter alkanes, from C2 H6 to C172 H346 , serve as proxy systems. All experiments in this section use this task.

5

10−2

2

4

n in CnH2n + 2

86

862

ε = 10−4 Eh

RI-J FMM-J RI-K

10−8

SGX LinK

proxies (fit) measured at target 0.7

FMM-J

measured, proxy W/R model 0.7

0.6

+10% 0.6

0.5

0.5

0.4 0.3

104 size NAO (alkanes)

103

W/R +8%

25 51

172

862

+36%

LinK

SGX 8

+58%

6 4

0.4 0.3

measured, held out proxy-fitted model

W/R +4%

25 51

172

862

2

W/R +5%

25 51

172

target

time per build / n (s)

Does B ORN break the strategy limits of general-purpose packages? Yes. B ORN unfolds the algorithms, pairings, and schedules that each package fixes into a strategy space far beyond the reach of any single package.

25 34 51

10−6

(b)

5.2.1. Strategy Coverage Beyond Existing Packages

12 16

10−4

10−10

Figure 3. (J, K) algorithm pairings each package exposes for RHF, per public documentation (ORCA 6.1, Gaussian 16, Q-Chem 6.3, PySCF 2.15, GPU4PySCF 1.9.1).

8

out-of-sample check prediction at target

target

Algorithm not implemented

100

target

Direct J RI-J FMM-J

Direct J RI-J FMM-J

Direct J RI-J FMM-J

Not pairable

(a) |ΔE| vs exact J/K (Eh)

Pairing exposed

Direct J RI-J FMM-J

PySCF GPU4PySCF Born

Gaussian Q-Chem Direct J RI-J FMM-J

Direct K RI-K SGX LinK

Direct J RI-J FMM-J

ORCA

862

n in CnH2n + 2

Figure 4. Target-scale foresight on alkanes (cc-pVTZ). (a) Energy error of each J/K approximation. (b) Build time per carbon; red arrows: error of the proxy-fitted model.

We focus on J and K construction, which dominate both the cost and the approximation error of RHF. According to their documentation, existing packages are restricted at each of the three levels of Sec. 4.1. Algorithms. Each algorithm comes in a largely fixed form: variants are rare (only Q-Chem offers local and pair-atomic RI), parameters come in a few preset levels (e.g., the DEFGRID1–3 grids of ORCA [30]), and most packages run in double precision only. B ORN searches variants and parameters freely. Pairings. Algorithms are exposed only as a few preset pairings (Fig. 3), such as RIJCOSX in ORCA, clustered around each package’s design focus: RI-J-based pairings in ORCA, PySCF, and GPU4PySCF, and FMM-J with LinK in Gaussian and Q-Chem. Choosing a package thus largely fixes the strategy family; B ORN pairs any J algorithm with any K algorithm. Schedules. One pairing and one set of grids, thresholds, and precision apply to the entire SCF run, although early iterations tolerate looser settings. B ORN switches pairings and settings between SCF stages.

At the target, RI-J and RI-K with standard auxiliary bases exceed ε by more than two orders of magnitude, whereas FMM-J, SGX, and LinK stay below it. Runtime. Runtime cannot be extended this way: screening shifts its scaling exponent with size. B ORN therefore counts each kernel’s workload on the molecule itself, the target included (W/R model, Sec. 4.2). The resulting build times stay within 8% of the measured ones at every held-out size, and at the farthest measurement of each kernel they are off by 4% (LinK) and 8% (FMM-J) at C862 H1726 and by 5% (SGX) at C172 H346 (Fig. 4b). At the same points, the proxy-fitted model, fitted to the same timings, is off by 36%, 10%, and 58%, and by up to 44%, 14%, and 79% with other fit windows. In addition, diagonalization is benchmarked directly at the target dimension rather than counted, and lies within 4% of the production run. Selection. Together, the two predictions place every candidate on an accuracy–runtime plane at the target scale before any target-scale run (Fig. 5). The Pareto frontier of this plane gives the fastest strategy at each error level, and its fastest point below ε that fits in the 1 TiB node memory is the selection: FMM-J with LinK (screening threshold 3 × 10−8 ), predicted at 5.6 h. The general-purpose baseline frontier, built from the strategies PySCF exposes, reaches ε only at 109 h, nearly 20× later.

5.2.2. Target-Scale Foresight for Strategy Selection Does B ORN foresee target-scale error and runtime accurately enough to select the most promising strategy without target-scale runs? Yes. Error: models fitted on proxies predict held-out errors to within 2%. Runtime: the W/R model predicts build times to within 8% up to the target, where the proxy-fitted model misses by up to 79%. Selection: the resulting Pareto frontier selects a strategy predicted at 5.6 h, nearly 20× faster than the best baseline strategy below ε.

Accuracy. Error can be fitted on proxies and extended to the target, because it accumulates locally, with a nearconstant increment per carbon atom. Local-error models, linear in n and fitted up to C51 H104 , predict the held-out C86 H174 to within 2% for all five approximations (Fig. 4a). 6

Born

Baseline Direct J RI-J

Direct J RI-J FMM-J

error bound |E − Eref| (Eh)

Direct K RI-K SGX LinK

exceeds 1 TiB:

Direct K RI-K SGX

every setting this setting not pairable

selected:

current

compiled

Total Mem. Dev.

Configuration

(mEh )

(h)

(GB)

(h)

Baseline, tuned†

0.052 0.052 0.053

109 5.6 1.41

700 418 334

0 3.8 9.7

B ORN, uncompiled† B ORN, compiled

10−2

Speedup w/o Dev. w/ Dev. 1.0× 19× 77×

1.0× 12× 9.8×

Table 1. End-to-end results for C862 H1726 . Dev.: cumulative development time. † Predicted values (Sec. 5.2.2); Baseline cannot run at this size, as its direct J/K fails once n2AO > 231 .

ε

10−4

10−6

5.2.4. End-to-End Gain and Development Cost 10

1

10

2

Is the end-to-end gain worth the development cost? Yes. B ORN runs about 77× faster than the tuned baseline below ε, and still roughly 9.8× faster for a single run with its development included.

predicted SCF wall time (h)

Figure 5. Predicted accuracy–runtime Pareto frontiers for RHF/ccpVTZ on C862 H1726 (CPU platform). Each point is one strategy, colored by its J–K pairing (legend grids); circles: B ORN, triangles: baseline. (a) Compilation trajectory

uncompiled, 14 it. compiled, 6 it.

1.41 h measured Time (h)

3× 2× 1×

1

2

3

4

5

6

7

4

6.7×

3 2

2.7×

1

uncompiled 5.6 h (pred.) 0

Strategy selection alone makes the calculation about 19× faster than the tuned baseline, and compilation raises this to about 77×, all below ε (Table 1). Development, from strategy selection to the validated program, takes 9.7 h; added to one run, it still leaves a speedup of roughly 9.8×. The gain thus pays off from the first run and grows with each further one.

(b) Per component

3.98×

kept reverted

4×

Speedup

∆E

8

9

0

5.3. Large-Scale Biomolecular Calculations

0.75×

J+K

Diag.

Other

With existing packages, neither calculation is practical on a single node with one GPU. For ubiquitin, general-purpose quantum chemistry packages take days, and Mako [25] brings the time to about 1 h only by spreading the calculation over 64 GPUs. For the B-DNA duplex, with nearly 50,000 atomic orbitals, the general-purpose route is predicted to take about 1,400 h.

Attempt

Figure 6. Agent-driven compilation of the selected strategy (C862 H1726 ). (a) Speedup of each attempt over the uncompiled program. (b) Time of the whole calculation by component.

5.2.3. Agent-Driven Compilation of the Selected Strategy

Tasks: Two biomolecular RHF calculations.

Does B ORN compile the selected strategy to run much faster without loss of accuracy? Yes. Exploiting the static computation graph, B ORN makes it run 3.98× faster at an unchanged error.

Ubiquitin (PDB 1UBQ [66]) 4.3 × 3.0 × 2.7 nm 1,231 atoms, 22,442 basis fns.

Starting from the uncompiled program, which implements the selected strategy with general-purpose kernels and solvers, agents keep 7 attempts and cut the whole calculation from the predicted 5.6 h to 1.41 h, measured end to end, at an unchanged error (3.98×; Fig. 6a, Table 1). The largest gains come from what a general package cannot fix in advance. Since S is fixed, it is factorized once and its band structure replaces the dense transform (attempts 1, 2, 8), making diagonalization, 64% of the uncompiled time, 6.7× faster (Fig. 6b). Since the molecule is known, the initial density is tiled from its converged fragments (9), cutting the SCF from 14 to 6 iterations.

B-DNA duplex [47] 11.6 × 2.3 × 2.3 nm 2,282 atoms, 49,825 basis fns.

Both tasks: def2-TZVP basis [70] · CPU–GPU · ε = 10−4 Eh

Can B ORN bring large-scale biomolecular calculations within practical reach? Yes. B ORN runs ubiquitin on one GPU instead of Mako’s 64 GPUs, and the B-DNA duplex in 8.1 h instead of the baseline’s predicted 1,400 h (173×), both below ε.

Strategy. The best strategy changes with the task (Table 2). The alkane runs on the CPU alone, where its chain lets LinK screening discard most integrals; ubiquitin also has a GPU, so exchange switches to SGX, which runs on it (LinK would take a predicted 10 h). From ubiquitin to the B-DNA duplex, the auxiliary functions grow from about 7

B-DNA duplex

Chain 50,024 CPU

Globular 22,442 CPU–GPU

Double helix 49,825 CPU–GPU

Task

Ubiquitin

Shape Basis functions Platform

Strategy

Alkane

Coulomb (J) FMM-J FMM-J RI-J near field Exact RI (233k) RI (628k) far field Multipole Multipole — setting R=20, p=10, τ θ=0.7, p=12 robust erfc, ω=2 Exchange (K) LinK SGX SGX stage 1 — nΩ =110→194 nΩ =110→194 stage 2 τ =3×10−8 nΩ =302 nΩ =434

Fock build: ① J + ② K 609 s CPU (①)

near v

near J

density matrix D, 4 GB, to CPU

PCIe GPU (②+③)

Coulomb matrix J, 4 GB, to GPU

exchange K (SGX) 0

CPU

③ DIIS, diag. 21 s

200

GPU

PCIe

③

400

idle

600 s

small boxes: far v, fit, far J

Figure 7. One SCF iteration of the compiled ubiquitin program. Ubiquitin 1 GPU

Born

Table 2. Strategy that B ORN selects for each task. SCF stage 1 converges to 10−5 Eh with a smaller auxiliary basis, stage 2 (listed) to 10−8 Eh ; parentheses: auxiliary functions. J: near/far boundary R (a0 ) or θ; multipole order p; ω (a−1 0 ): attenuation of the robustly fitted erfc metric (other RI: Coulomb metric); the LinK threshold τ also screens the near field. K: nΩ , Lebedev points per shell.

64× fewer GPUs

64 GPUs

Mako

B-DNA duplex 8.1 h

Born Baseline (pred.)

173× faster

≈1,400 h (≈2 months) 0

5

10

15

20

runtime (h)

233,000 to about 628,000, and memory decides the Coulomb choice. For ubiquitin, FMM-J fits only the near field, so the three-center integrals fit in host memory, whereas fullspace density fitting would not. For the B-DNA duplex, the dense Coulomb metric reaches 3.2 TB, far beyond the memory of a single node; B ORN instead fits in the attenuated metric erfc(ωr)/r, whose Cholesky factor is banded along the helix and takes 142 GB. A robust energy expression keeps the resulting fitting error second order. Shape also changes the accuracy demand: the SGX error accumulates along the helix, so the duplex needs a 434-point grid where ubiquitin needs 302. Together, these choices lie beyond existing packages: none offers the FMM-J–SGX pairing of ubiquitin or a two-stage SCF schedule. Program. We take ubiquitin as the example (Fig. 7). Under the selected strategy, the SGX exchange matrix K dominates each iteration and runs on the GPU, whereas the three-center integrals of FMM-J fit in host memory, so the Coulomb matrix J can move entirely to the CPU. The program that B ORN compiles computes the two concurrently: the devices exchange data only twice, at the start and end of the Fock build, J finishes within the time of K, and the otherwise idle CPU is put to work. Mainstream packages provide no such overlap of J and K across devices, because whether it is feasible, and how to split the work, depend on tensor sizes and workloads known only once the molecule and strategy are fixed. B ORN compiles for exactly such a fixed task, so the split becomes just one more implementation choice for its agents to explore (Sec. 4.3). Result. Both calculations complete on a single node with one A100 (Fig. 8). Ubiquitin takes 2.1 h; Mako [25] needs about 1 h but uses 64 GPUs, so B ORN reaches the same order of runtime with 64× fewer GPUs. The B-DNA duplex takes 8.1 h, against about 1,400 h (about two months) predicted for the baseline, a 173× speedup. The measured errors, 5.3 and

Figure 8. Runtime of the compiled program on one A100 against Mako on 64 GPUs (ubiquitin) and the predicted baseline (B-DNA duplex).

3.0 ×10−5 Eh , stay below ε. Development, from strategy selection to the validated program, takes 8.5 and 12.6 h, far less than the time saved on the B-DNA duplex, so building the program pays off within a single calculation.

6. Future Work and Conclusion Future Work. Beyond single-node Hartree–Fock, three directions remain open. First, B ORN can be extended to more physical models in quantum chemistry. Second, foresight rests on controllable accuracy and predictable cost, which call for further study of error control and prediction, for example uncertainty propagation through SCF calculations [17]. Third, the programs B ORN builds are irregular yet static, with their structure known before execution; mapping such scientific algorithms onto complex hardware topologies calls for compilers dedicated to scientific computing. Conclusion. We presented B ORN, a foresighted agentic framework that synthesizes task-specific quantum chemistry programs on demand. By predicting each strategy’s targetscale error and runtime before implementation, B ORN makes program development a budgeted part of the calculation and brings calculations beyond general-purpose software within practical reach. We hope it moves scientific computing from adapting problems to existing programs toward building a program for each task.

8

References

arXiv:2107.03374, 2021. doi:10.48550/arXiv.2107. 03374. 1 [11] Tianqi Chen, Thierry Moreau, Ziheng Jiang, Lianmin Zheng, Eddie Yan, Meghan Cowan, Haichen Shen, Leyuan Wang, Yuwei Hu, Luis Ceze, Carlos Guestrin, and Arvind Krishnamurthy. TVM: An automated end-to-end optimizing compiler for deep learning. In 13th USENIX Symposium on Operating Systems Design and Implementation, pages 578–594, 2018. doi:10.48550/arXiv.1802.04799. 5 [12] Mathew Chow and Tao E. Li. Can AI agents reliably optimize computational chemistry codes? arXiv preprint arXiv:2611.10378, 2026. doi:10.48550/arXiv.2611. 10378. 1, 2 [13] Mingwei Ding, Chen Huang, Yibo Hu, Yifan Li, Zitian Lu, Xingtai Yu, Duo Zhang, Wenxi Zhai, Tong Zhu, Qiangqiang Gu, and Jinzhe Zeng. Automating computational chemistry workflows via OpenClaw and domain-specific skills. Journal of Chemical Theory and Computation, 22:5919–5929, 2026. doi:10.1021/acs.jctc.6c00622. 2 [14] Thom H. Dunning, Jr. Gaussian basis sets for use in correlated molecular calculations. I. The atoms boron through neon and hydrogen. The Journal of Chemical Physics, 90(2):1007– 1023, 1989. doi:10.1063/1.456153. 5 [15] Karin Eichkorn, Oliver Treutler, Holger Öhm, Marco Häser, and Reinhart Ahlrichs. Auxiliary basis sets to approximate Coulomb potentials. Chemical Physics Letters, 240(4):283– 290, 1995. doi:10.1016/0009-2614(95)00621-A. 2 [16] Evgeny Epifanovsky, Andrew T. B. Gilbert, Xintian Feng, Joonho Lee, Yuezhi Mao, Narbe Mardirossian, et al. Software for the frontiers of quantum chemistry: An overview of developments in the Q-Chem 5 package. The Journal of Chemical Physics, 155(8):084801, 2021. doi:10.1063/5.0055522. 1, 2, 5 [17] Anna Diaz Farias, Shalith C. Jayasekara, Jonathan M. Waldrop, Eric Weber, Theresa L. Windus, and Ryan M. Richard. Does your self-consistent field program know how wrong it is? Introducing quantum chemistry uncertainty propagation. The Journal of Physical Chemistry Letters, 17(40):11413– 11420, 2026. doi:10.1021/acs.jpclett.6c02837. 8 [18] Richard A. Friesner. Solution of self-consistent field electronic structure equations by a pseudospectral method. Chemical Physics Letters, 116(1):39–43, 1985. doi:10.1016/ 0009-2614(85)80121-4. 2 [19] Jiading Gai, Shuai Zhang, Kaj Bostrom, Jin Huang, Vihang Patil, Haoyang Fang, Bernie Wang, Huzefa Rangwala, and George Karypis. Optimizing CUDA like a human: Microprofiling tools as expert surrogates for LLM-based GPU kernel optimization. arXiv preprint arXiv:2606.26453, 2026. doi:10.48550/arXiv.2606.26453. 2 [20] Jorge L. Galvez Vallejo, Calum Snowdon, Ryan Stocks, Fazeleh Kazemian, Fiona Chuo Yan Yu, Christopher Seidl, Zoe Seeger, Melisa Alkan, David Poole, Bryce M. Westheimer, Mehaboob Basha, Marco De La Pierre, Alistair Rendell, Ekaterina I. Izgorodina, Mark S. Gordon, and Giuseppe M. J. Barca. Toward an extreme-scale electronic structure

[1] Jan Almlöf, Knut Faegri, and Knut Korsell. Principles for a direct SCF approach to LCAO-MO ab-initio calculations. Journal of Computational Chemistry, 3(3):385–399, 1982. doi:10.1002/jcc.540030314. 4 [2] E. Anderson, Z. Bai, C. Bischof, L. S. Blackford, J. Demmel, J. Dongarra, J. Du Croz, A. Greenbaum, S. Hammarling, A. McKenney, and D. Sorensen. LAPACK Users’ Guide. Society for Industrial and Applied Mathematics, Philadelphia, PA, third edition, 1999. doi:10.1137/1.9780898719604. 4 [3] Jason Ansel, Edward Yang, Horace He, Natalia Gimelshein, Animesh Jain, Michael Voznesensky, Bin Bao, et al. PyTorch 2: Faster machine learning through dynamic Python bytecode transformation and graph compilation. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, pages 929–947, 2024. doi:10.1145/3620665.3640366. 5 [4] E. Aprà, E. J. Bylaska, W. A. de Jong, N. Govind, K. Kowalski, T. P. Straatsma, M. Valiev, H. J. J. van Dam, Y. Alexeev, J. Anchell, et al. NWChem: Past, present, and future. The Journal of Chemical Physics, 152(18):184102, 2020. doi:10.1063/5.0004997. 2 [5] Giuseppe M. J. Barca, Colleen Bertoni, Laura Carrington, Dipayan Datta, Nuwan De Silva, J. Emiliano Deustua, Dmitri G. Fedorov, Jeffrey R. Gour, Anastasia O. Gunina, Emilie Guidez, et al. Recent developments in the general atomic and molecular electronic structure system. The Journal of Chemical Physics, 152(15):154102, 2020. doi:10.1063/5.0005188. 2 [6] Giuseppe M. J. Barca, David L. Poole, Jorge L. Galvez Vallejo, Melisa Alkan, Colleen Bertoni, Alistair P. Rendell, and Mark S. Gordon. Scaling the Hartree–Fock matrix build on Summit. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, pages 1–14, 2020. doi:10.1109/SC41405. 2020.00085. 2 [7] Giuseppe M. J. Barca, Melisa Alkan, Jorge L. Galvez-Vallejo, David L. Poole, Alistair P. Rendell, and Mark S. Gordon. Faster self-consistent field (SCF) calculations on GPU clusters. Journal of Chemical Theory and Computation, 17(12): 7486–7503, 2021. doi:10.1021/acs.jctc.1c00720. 2 [8] Alexandru Calotoiu, Torsten Hoefler, Marius Poke, and Felix Wolf. Using automated performance modeling to find scalability bugs in complex codes. In Proceedings of the International Conference on High Performance Computing, Networking, Storage and Analysis, pages 45:1–45:12, 2013. doi:10.1145/2503210.2503277. 4 [9] Jinwu Chen, Qidie Wu, Bin Li, Lin Ma, Xin Si, Yang Hu, Shouyi Yin, and Jun Yang. cuPilot: A strategy-coordinated multi-agent framework for CUDA kernel evolution. arXiv preprint arXiv:2512.16465, 2025. doi:10.48550/arXiv. 2512.16465. 2, 5 [10] Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, et al. Evaluating large language models trained on code. arXiv preprint

9

system. The Journal of Chemical Physics, 159(4):044112, 2023. doi:10.1063/5.0156399. 2 [21] Stefan Goedecker. Linear scaling electronic structure methods. Reviews of Modern Physics, 71(4):1085–1123, 1999. doi:10. 1103/RevModPhys.71.1085. 1 [22] Mark S. Gordon, Dmitri G. Fedorov, Spencer R. Pruitt, and Lyudmila V. Slipchenko. Fragmentation methods: A route to accurate calculations on large systems. Chemical Reviews, 112(1):632–672, 2012. doi:10.1021/cr200093j. 5 [23] Masaya Hagai, Yuta Suzuki, Tomoya Murata, Shuhei Kurita, and Masaki Adachi. LLM-guided test-time discovery of quantum-chemical approximation algorithms. arXiv preprint arXiv:2606.20729, 2026. doi:10.48550/arXiv.2606. 20729. 1, 2 [24] George G. Hall. The molecular orbital theory of chemical valency VIII. A method of calculating ionization potentials. Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences, 205(1083):541–552, 1951. doi:10.1098/rspa.1951.0048. 2 [25] Haozhi Han, Kun Li, Fusong Ju, Qi Li, Hong An, Yifeng Chen, Yunquan Zhang, Ting Cao, and Mao Yang. Matrix is all you need: Rearchitecting quantum chemistry to scale on AI accelerators. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis, pages 2126–2142, 2025. doi:10.1145/3712285. 3759829. 2, 7, 8 [26] Haozhi Han, Fusong Ju, Jing Bai, Ruge Zhang, Xiang Zhao, Liang Yuan, Yunquan Zhang, Ting Cao, Yunxin Liu, Yifeng Chen, and Kun Li. MakoXC: Rearchitecting DFT exchange-correlation with matrix-aligned and knowledgeorganized sparsity. arXiv preprint arXiv:2609.01025, 2026. doi:10.48550/arXiv.2609.01025. 2 [27] Marco Häser and Reinhart Ahlrichs. Improvements on the direct SCF method. Journal of Computational Chemistry, 10 (1):104–111, 1989. doi:10.1002/jcc.540100111. 4 [28] Martin Head-Gordon and John A. Pople. A method for twoelectron Gaussian integral and integral derivative evaluation using recurrence relations. The Journal of Chemical Physics, 89(9):5777–5786, 1988. doi:10.1063/1.455553. 5 [29] Trygve Helgaker, Poul Jørgensen, and Jeppe Olsen. Molecular Electronic-Structure Theory. John Wiley & Sons, Chichester, 2000. doi:10.1002/9781119019572. 1 [30] Benjamin Helmich-Paris, Bernardo de Souza, Frank Neese, and Róbert Izsák. An improved chain of spheres for exchange algorithm. The Journal of Chemical Physics, 155(10):104109, 2021. doi:10.1063/5.0058766. 5, 6 [31] Zhe Jia, Marco Maggioni, Benjamin Staiger, and Daniele P. Scarpazza. Dissecting the NVIDIA Volta GPU architecture via microbenchmarking. arXiv preprint arXiv:1804.06826, 2018. doi:10.48550/arXiv.1804.06826. 4 [32] Walter Kohn. Density functional and density matrix method scaling linearly with the number of atoms. Physical Review Letters, 76(17):3168–3171, 1996. doi:10.1103/ PhysRevLett.76.3168. 2, 4 [33] Jörg Kussmann and Christian Ochsenfeld. Pre-selective screening for matrix elements in linear-scaling exact exchange calculations. The Journal of Chemical Physics, 138(13): 134114, 2013. doi:10.1063/1.4796441. 4

[34] Jörg Kussmann, Matthias Beer, and Christian Ochsenfeld. Linear-scaling self-consistent field methods for large molecules. WIREs Computational Molecular Science, 3(6): 614–636, 2013. doi:10.1002/wcms.1138. 1 [35] V. I. Lebedev. Quadratures on a sphere. USSR Computational Mathematics and Mathematical Physics, 16(2):10–24, 1976. doi:10.1016/0041-5553(76)90100-2. 4 [36] Rui Li, Qiming Sun, Xing Zhang, and Garnet Kin-Lic Chan. Introducing GPU acceleration into the Python-based simulations of chemistry framework. The Journal of Physical Chemistry A, 129(5):1459–1468, 2025. doi:10.1021/acs. jpca.4c05876. 5 [37] Rui Li, Xing Zhang, Qiming Sun, Yuanheng Wang, Junjie Yang, and Garnet Kin-Lic Chan. Implementation of the multigrid Gaussian-plane-wave algorithm with GPU acceleration in PySCF. Journal of Chemical Theory and Computation, 22:10101–10112, 2026. doi:10.1021/acs.jctc. 6c00947. 5 [38] Per-Olov Löwdin. On the non-orthogonality problem connected with the use of atomic wave functions in the theory of molecules and crystals. The Journal of Chemical Physics, 18 (3):365–375, 1950. doi:10.1063/1.1747632. 5 [39] Nathan Luehr, Ivan S. Ufimtsev, and Todd J. Martı́nez. Dynamic precision for electron repulsion integral evaluation on graphical processing units (GPUs). Journal of Chemical Theory and Computation, 7(4):949–954, 2011. doi:10.1021/ct100701w. 4 [40] Samuel F. Manzer, Evgeny Epifanovsky, and Martin HeadGordon. Efficient implementation of the pair atomic resolution of the identity approximation for exact exchange for hybrid and range-separated density functionals. Journal of Chemical Theory and Computation, 11(2):518–527, 2015. doi:10.1021/ct5008586. 2 [41] A. Marek, V. Blum, R. Johanni, V. Havu, B. Lang, T. Auckenthaler, A. Heinecke, H.-J. Bungartz, and H. Lederer. The ELPA library: Scalable parallel eigenvalue solutions for electronic structure theory and computational science. Journal of Physics: Condensed Matter, 26(21):213201, 2014. doi:10.1088/0953-8984/26/21/213201. 4 [42] Gang Meng, Andres Felipe Bocanegra Vargas, Xinwei Ji, Federico Garcia-Gaitan, Felipe Reyes-Osorio, Jalil Varela-Manjarres, Yafei Ren, Mohammadhasan Dinpajooh, Branislav K. Nikolić, and Tao E. Li. FermiLink: An agent harness for multidomain scientific simulations. arXiv preprint arXiv:2604.03460, 2026. doi:10.48550/arXiv.2604. 03460. 2 [43] Kaisa Miettinen. Nonlinear Multiobjective Optimization. Springer, Boston, MA, 1998. doi:10.1007/978- 14615-5563-6. 5 [44] Frank Neese. Software update: The ORCA program system— version 5.0. WIREs Computational Molecular Science, 12(5): e1606, 2022. doi:10.1002/wcms.1606. 2 [45] Frank Neese. Software update: The ORCA program system— version 6.0. WIREs Computational Molecular Science, 15(2): e70019, 2025. doi:10.1002/wcms.70019. 1, 5 [46] Frank Neese, Frank Wennmohs, Andreas Hansen, and Ute Becker. Efficient, approximate and parallel Hartree–Fock and

10

hybrid DFT calculations. A ‘chain-of-spheres’ algorithm for the Hartree–Fock exchange. Chemical Physics, 356(1–3):98– 109, 2009. doi:10.1016/j.chemphys.2008.10.036. 2 [47] Zhigang Ni, Yang Guo, Frank Neese, Wei Li, and Shuhua Li. Cluster-in-molecule local correlation method with an accurate distant pair correction for large systems. Journal of Chemical Theory and Computation, 17(2):756–766, 2021. doi:10.1021/acs.jctc.0c00831. 7 [48] Alexander Novikov, Ngân Vũ, Marvin Eisenberger, Emilien Dupont, Po-Sen Huang, Adam Zsolt Wagner, Sergey Shirobokov, Borislav Kozlovskii, Francisco J. R. Ruiz, Abbas Mehrabian, M. Pawan Kumar, Abigail See, Swarat Chaudhuri, George Holland, Alex Davies, Sebastian Nowozin, Pushmeet Kohli, and Matej Balog. AlphaEvolve: A coding agent for scientific and algorithmic discovery. arXiv preprint arXiv:2506.13131, 2025. doi:10.48550/arXiv.2506. 13131. 1, 2, 5 [49] S. Obara and A. Saika. Efficient recursive computation of molecular integrals over Cartesian Gaussian functions. The Journal of Chemical Physics, 84(7):3963–3974, 1986. doi:10. 1063/1.450106. 4 [50] Christian Ochsenfeld, Christopher A. White, and Martin Head-Gordon. Linear and sublinear scaling formation of Hartree–Fock-type exchange matrices. The Journal of Chemical Physics, 109(5):1663–1669, 1998. doi:10.1063/1. 476741. 2, 4 [51] Anne Ouyang, Simon Guo, Simran Arora, Alex L. Zhang, William Hu, Christopher Ré, and Azalia Mirhoseini. KernelBench: Can LLMs write efficient GPU kernels? In Proceedings of the 42nd International Conference on Machine Learning, pages 47356–47415, 2025. doi:10.48550/arXiv. 2502.10517. 2 [52] Elise Palethorpe, Ryan Stocks, and Giuseppe M. J. Barca. Advanced techniques for high-performance Fock matrix construction on GPU clusters. Journal of Chemical Theory and Computation, 20(23):10424–10442, 2024. doi:10.1021/ acs.jctc.4c00994. 2 [53] Robert Polly, Hans-Joachim Werner, Frederick R. Manby, and Peter J. Knowles. Fast Hartree–Fock theory using local density fitting approximations. Molecular Physics, 102(21–22):2311–2321, 2004. doi:10.1080/ 0026897042000274801. 2 [54] Emil Prodan and Walter Kohn. Nearsightedness of electronic matter. Proceedings of the National Academy of Sciences, 102(33):11635–11638, 2005. doi:10.1073/pnas. 0505436102. 2, 4 [55] Péter Pulay. Convergence acceleration of iterative sequences. The case of SCF iteration. Chemical Physics Letters, 73(2): 393–398, 1980. doi:10.1016/0009-2614(80)803964. 4 [56] Péter Pulay. Improved SCF convergence acceleration. Journal of Computational Chemistry, 3(4):556–560, 1982. doi:10. 1002/jcc.540030413. 4 [57] C. C. J. Roothaan. New developments in molecular orbital theory. Reviews of Modern Physics, 23(2):69–89, 1951. doi:10.1103/RevModPhys.23.69. 2

[58] Stefan Seritan, Christoph Bannwarth, Bryan S. Fales, Edward G. Hohenstein, Christine M. Isborn, Sara I. L. KokkilaSchumacher, Xin Li, Fang Liu, Nathan Luehr, James W. Snyder, Jr., Chenchen Song, Alexey V. Titov, Ivan S. Ufimtsev, Lee-Ping Wang, and Todd J. Martı́nez. TeraChem: A graphical processing unit-accelerated electronic structure package for large-scale ab initio molecular dynamics. WIREs Computational Molecular Science, 11(2):e1494, 2021. doi:10.1002/wcms.1494. 2 [59] Yuzhong Shen, Masha Sosonkina, Peng Xu, and Mark S. Gordon. An agentic workflow for legacy HPC modernization: Converting the two-electron-integral core of GAMESS. arXiv preprint arXiv:2608.12249, 2026. doi:10.48550/arXiv. 2608.12249. 1, 2 [60] Daniel G. A. Smith, Lori A. Burns, Andrew C. Simmonett, Robert M. Parrish, Matthew C. Schieber, Raimondas Galvelis, Peter Kraus, Holger Kruse, Roberto Di Remigio, Asem Alenaizan, et al. Psi4 1.4: Open-source software for high-throughput quantum chemistry. The Journal of Chemical Physics, 152(18):184108, 2020. doi:10.1063/5. 0006002. 2 [61] Qiming Sun, Xing Zhang, Samragni Banerjee, Peng Bao, Marc Barbry, Nick S. Blunt, Nikolay A. Bogdanov, George H. Booth, Jia Chen, Zhi-Hao Cui, et al. Recent developments in the PySCF program package. The Journal of Chemical Physics, 153(2):024109, 2020. doi:10.1063/5.0006074. 1, 2, 5 [62] Qiming Sun, Matthew R. Hermes, Xiaojie Wu, Huanchen Zhai, Xing Zhang, Abdelrahman M. Ahmed, Juan José Aucar, Oliver J. Backhouse, Samragni Banerjee, Peng Bao, et al. The Python simulations of chemistry framework: 10 years of an open-source quantum chemistry project. arXiv preprint arXiv:2603.14155, 2026. doi:10.48550/arXiv.2603. 14155. 5 [63] Ivan S. Ufimtsev and Todd J. Martı́nez. Quantum chemistry on graphical processing units. 1. Strategies for two-electron integral evaluation. Journal of Chemical Theory and Computation, 4(2):222–231, 2008. doi:10.1021/ct700268q. 5 [64] Olav Vahtras, Jan Almlöf, and Martin W. Feyereisen. Integral approximations for LCAO-SCF calculations. Chemical Physics Letters, 213(5–6):514–518, 1993. doi:10.1016/ 0009-2614(93)89151-7. 2 [65] J. H. van Lenthe, R. Zwaans, H. J. J. van Dam, and M. F. Guest. Starting SCF calculations by superposition of atomic densities. Journal of Computational Chemistry, 27(8):926– 932, 2006. doi:10.1002/jcc.20393. 5 [66] Senadhi Vijay-Kumar, Charles E. Bugg, and William J. Cook. Structure of ubiquitin refined at 1.8 å resolution. Journal of Molecular Biology, 194(3):531–544, 1987. doi:10.1016/ 0022-2836(87)90679-6. 7 [67] Vasily Volkov and James W. Demmel. Benchmarking GPUs to tune dense linear algebra. In Proceedings of the ACM/IEEE Conference on Supercomputing, pages 1–11, 2008. doi:10. 1109/SC.2008.5214359. 2, 4 [68] Florian Weigend. A fully direct RI-HF algorithm: Implementation, optimised auxiliary basis sets, demonstration of accu-

11

racy and efficiency. Physical Chemistry Chemical Physics, 4 (18):4285–4291, 2002. doi:10.1039/b204199p. 2 [69] Florian Weigend. Accurate Coulomb-fitting basis sets for H to Rn. Physical Chemistry Chemical Physics, 8(9):1057–1065, 2006. doi:10.1039/b515623h. 4, 5 [70] Florian Weigend and Reinhart Ahlrichs. Balanced basis sets of split valence, triple zeta valence and quadruple zeta valence quality for H to Rn: Design and assessment of accuracy. Physical Chemistry Chemical Physics, 7(18):3297–3305, 2005. doi:10.1039/b508541a. 7 [71] Christopher A. White, Benny G. Johnson, Peter M. W. Gill, and Martin Head-Gordon. The continuous fast multipole method. Chemical Physics Letters, 230(1–2):8–16, 1994. doi:10.1016/0009-2614(94)01128-1. 2 [72] Samuel Williams, Andrew Waterman, and David Patterson. Roofline: An insightful visual performance model for multicore architectures. Communications of the ACM, 52(4):65–76, 2009. doi:10.1145/1498765.1498785. 2 [73] Xiaojie Wu, Qiming Sun, Zhichen Pu, Tianze Zheng, Wenzhi Ma, Wen Yan, Yu Xia, Zhengxiao Wu, Mian Huo, Xiang Li, et al. Enhancing GPU-acceleration in the Python-based simulations of chemistry frameworks. WIREs Computational Molecular Science, 15(2):e70008, 2025. doi:10.1002/ wcms.70008. 1, 2, 5 [74] John Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. SWE-agent: Agent-computer interfaces enable automated software engineering. In Advances in Neural Information Processing Systems, 2024. doi:10.48550/arXiv.2405. 15793. 1 [75] Ming Zhong, Stacy Li, Nicholas Carlini, and Matthew Jagielski. Automating ML for science: Can frontier agents climb scientific hills in the wild? arXiv preprint arXiv:2610.28763, 2026. doi:10.48550/arXiv.2610.28763. 2

12

Related documents

Record · ID 1692106 · SHA-256 25c702fbd2e38e83
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive