Compile-once operation graphs for reusable continuous unitary transformations
Bo Peng, Niranjan Govind
Abstract
Continuous unitary transformations repeatedly evaluate the same operator algebra as the coefficients of a Hamiltonian and its observables evolve. We compile these algebraic relationships once into a numerical operation graph that can be saved and reused for new coefficient sets, additional operators, derivatives, and forward and reverse calculations on CPUs and GPUs. Reuse is demonstrated by applying the same compiled graph to hydrogen and deuterium parameterizations of a reduced molecular model without regenerating the operator equations. The main computational challenge is construction: generated many-body algebra can contain hundreds of millions of contributions before numerical propagation begins. We address this by determining the required storage in advance and writing contributions directly into the final disk-backed representation. In a deliberately large diagnostic-enabled stress test containing more than 350 million generated contributions, peak host memory remains only about 7\% above the final stored size. Cross-checks show that CPU and GPU implementations, forward and reverse operations, and repeated loading of the compiled graph reproduce the tested operations to numerical precision. This compile-once representation separates expensive operator-algebra generation from the numerical transformations that reuse it.
Create a lesson
Related papers
Spin Migration in the Argon Dimer
Stefanos Carlström, Serguei Patchkovskii, Misha Yu Ivanov
Accuracy of Vibrational Properties of Machine-Learning Force Fields for Molecular Crystal Transformations
Natalia Goncharova, Oskar Schweighofer, Johannes Hoja
Electron-Density-Informed Molecular Property Prediction Using Surrogate Functionals
Manuel V. Klockow, Simon Wagner, Roman Remme et al.
Unveiling the Influence of Graphitic Nanocarbon Structures, Defects, and Surface Functional Groups on Supercapacitive Performance in LiTFSI Electrolyte
Phongphot Sakulaue, Bénédicte Réty, Takafumi Ishii et al.
Quantum dynamics of an ion in an RF quadrupole trap with weak octupolar anharmonicity
Sukanya Jana, Anushree Dey, Pintu Manadal et al.
Quantitative modeling of acid-base equilibria
Qianjun Xu, Simin Liu, Cesare Malosso et al.