{"title":"MetaWave: A Platform for Unified Implementation of Nonrelativistic and Relativistic Wave Functions.","authors":"Ning Zhang, Qingpeng Wang, Wenjian Liu","doi":"10.1021/acs.jpca.5c00689","DOIUrl":null,"url":null,"abstract":"<p><p>MetaWave is a C++ template-based architecture designed for unified implementation of nonrelativistic and relativistic configuration interaction (CI) type of methods. It is highly modular, extendable, and efficient. This is achieved by decoupling the three distinct aspects of quantum chemical methods (i.e., nature of Hamiltonian, structure of wave function, and strategy of parallelization), thereby allowing for separate treatment of them through their internal type-trait and tagging systems furnished by C++ metaprogramming. Once the second-quantized Hamiltonians, whether nonrelativistic (spin-free) or relativistic (spin-dependent), are decomposed into topologically equivalent diagrams for a unified evaluation of the basic coupling coefficients between (randomly selected) spin-free or spin-dependent configuration state functions or Slater determinants incorporating full molecular symmetry (including single or double point group and spin or time reversal symmetry), the CI wave functions, whether built up with scalar or spinor orbitals, can be assembled with the same templates. As for parallelization, MetaWave supports both OpenMP and MPI, with the majority of the latter being translated automatically from its OpenMP counterparts. The whole structure of MetaWave is reviewed here, with some showcases for illustrating its performance.</p>","PeriodicalId":59,"journal":{"name":"The Journal of Physical Chemistry A","volume":" ","pages":""},"PeriodicalIF":2.7000,"publicationDate":"2025-05-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Journal of Physical Chemistry A","FirstCategoryId":"1","ListUrlMain":"https://doi.org/10.1021/acs.jpca.5c00689","RegionNum":2,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"CHEMISTRY, PHYSICAL","Score":null,"Total":0}
引用次数: 0
Abstract
MetaWave is a C++ template-based architecture designed for unified implementation of nonrelativistic and relativistic configuration interaction (CI) type of methods. It is highly modular, extendable, and efficient. This is achieved by decoupling the three distinct aspects of quantum chemical methods (i.e., nature of Hamiltonian, structure of wave function, and strategy of parallelization), thereby allowing for separate treatment of them through their internal type-trait and tagging systems furnished by C++ metaprogramming. Once the second-quantized Hamiltonians, whether nonrelativistic (spin-free) or relativistic (spin-dependent), are decomposed into topologically equivalent diagrams for a unified evaluation of the basic coupling coefficients between (randomly selected) spin-free or spin-dependent configuration state functions or Slater determinants incorporating full molecular symmetry (including single or double point group and spin or time reversal symmetry), the CI wave functions, whether built up with scalar or spinor orbitals, can be assembled with the same templates. As for parallelization, MetaWave supports both OpenMP and MPI, with the majority of the latter being translated automatically from its OpenMP counterparts. The whole structure of MetaWave is reviewed here, with some showcases for illustrating its performance.
期刊介绍:
The Journal of Physical Chemistry A is devoted to reporting new and original experimental and theoretical basic research of interest to physical chemists, biophysical chemists, and chemical physicists.