Marcus D Liebenthal, Stephen H Yuwono, Lauren N Koulias, Run R Li, Nicholas C Rubin, A Eugene DePrince
{"title":"Automated Quantum Chemistry Code Generation with the p<sup>†</sup>q Package.","authors":"Marcus D Liebenthal, Stephen H Yuwono, Lauren N Koulias, Run R Li, Nicholas C Rubin, A Eugene DePrince","doi":"10.1021/acs.jpca.5c00329","DOIUrl":null,"url":null,"abstract":"<p><p>This article summarizes recent updates to the p<sup>†</sup>q package, which is a C++ accelerated Python library for generating equations and computer code corresponding to singly referenced many-body quantum chemistry methods such as coupled-cluster (CC) and equation-of-motion (EOM) CC theory. Since 2021, the functionality in p<sup>†</sup>q has expanded to include boson operators, coupled fermion-boson operators, unitary cluster operators, non-particle-conserving EOM operators, spin tracing, multiple single-particle subspaces, and more. Additional developments allow for the generation of C++ and Python code that minimizes floating-point operations via contraction order optimization, subexpression elimination, and the fusion of similar terms.</p>","PeriodicalId":59,"journal":{"name":"The Journal of Physical Chemistry A","volume":" ","pages":"6679-6693"},"PeriodicalIF":2.7000,"publicationDate":"2025-07-24","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.5c00329","RegionNum":2,"RegionCategory":"化学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/7/14 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"CHEMISTRY, PHYSICAL","Score":null,"Total":0}
引用次数: 0
Abstract
This article summarizes recent updates to the p†q package, which is a C++ accelerated Python library for generating equations and computer code corresponding to singly referenced many-body quantum chemistry methods such as coupled-cluster (CC) and equation-of-motion (EOM) CC theory. Since 2021, the functionality in p†q has expanded to include boson operators, coupled fermion-boson operators, unitary cluster operators, non-particle-conserving EOM operators, spin tracing, multiple single-particle subspaces, and more. Additional developments allow for the generation of C++ and Python code that minimizes floating-point operations via contraction order optimization, subexpression elimination, and the fusion of similar terms.
期刊介绍:
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.