ACTest:分析延拓方法和代码的测试工具包

IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Li Huang
{"title":"ACTest:分析延拓方法和代码的测试工具包","authors":"Li Huang","doi":"10.1016/j.cpc.2025.109785","DOIUrl":null,"url":null,"abstract":"<div><div>ACTest is an open-source toolkit developed in the Julia language. Its central goal is to automatically establish analytic continuation testing datasets, which include a large number of spectral functions and the corresponding Green's functions. These datasets can be used to benchmark various analytic continuation methods and codes. In ACTest, the spectral functions are constructed by a superposition of randomly generated Gaussian, Lorentzian, <em>δ</em>-like, rectangular, and Rise-And-Decay peaks. The spectra can be positive definite or non-positive definite. The corresponding energy grids can be linear or non-linear. ACTest supports both fermionic and bosonic Green's functions on either imaginary time or Matsubara frequency axes. Artificial noise can be superimposed on the synthetic Green's functions to simulate realistic Green's functions obtained by quantum Monte Carlo calculations. ACTest includes a standard testing dataset, namely ACT100. This built-in dataset contains 100 testing cases that cover representative analytic continuation scenarios. Now ACTest is fully integrated with the ACFlow and MiniPole toolkits. It can directly invoke the analytic continuation methods as implemented in the ACFlow and MiniPole toolkits for calculations, analyze calculated results, and evaluate computational efficiency and accuracy. ACTest comprises many examples and comprehensive documentation. The purpose of this paper is to introduce the major features and usages of the ACTest toolkit. The benchmark results on the ACT100 dataset for the maximum entropy method, which is probably the most popular analytic continuation method, are also presented.</div></div><div><h3>Program summary</h3><div><em>Program title:</em> ACTest</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/xvt3wzgt65.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/huangli712/ACTest</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv3</div><div><em>Programming language:</em> Julia</div><div><em>Nature of problem:</em> Analytic continuation is an essential step in quantum many-body computations. It enables the extraction of observable spectral functions from imaginary time or Matsubara frequency Green's functions. Though numerous methods for analytic continuation were proposed, they have not been systematically and fairly benchmarked due to the lack of testing software and datasets.</div><div><em>Solution method:</em> At first, a few peaks (features) are generated randomly. Then, they are superimposed to form the spectral function. Finally, the Green's function is reconstructed from the spectral function via the Laplace transformation. This procedure allows for the generation of lots of spectral functions and corresponding Green's functions, creating datasets for testing analytic continuation methods and codes.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"316 ","pages":"Article 109785"},"PeriodicalIF":3.4000,"publicationDate":"2025-07-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"ACTest: A testing toolkit for analytic continuation methods and codes\",\"authors\":\"Li Huang\",\"doi\":\"10.1016/j.cpc.2025.109785\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>ACTest is an open-source toolkit developed in the Julia language. Its central goal is to automatically establish analytic continuation testing datasets, which include a large number of spectral functions and the corresponding Green's functions. These datasets can be used to benchmark various analytic continuation methods and codes. In ACTest, the spectral functions are constructed by a superposition of randomly generated Gaussian, Lorentzian, <em>δ</em>-like, rectangular, and Rise-And-Decay peaks. The spectra can be positive definite or non-positive definite. The corresponding energy grids can be linear or non-linear. ACTest supports both fermionic and bosonic Green's functions on either imaginary time or Matsubara frequency axes. Artificial noise can be superimposed on the synthetic Green's functions to simulate realistic Green's functions obtained by quantum Monte Carlo calculations. ACTest includes a standard testing dataset, namely ACT100. This built-in dataset contains 100 testing cases that cover representative analytic continuation scenarios. Now ACTest is fully integrated with the ACFlow and MiniPole toolkits. It can directly invoke the analytic continuation methods as implemented in the ACFlow and MiniPole toolkits for calculations, analyze calculated results, and evaluate computational efficiency and accuracy. ACTest comprises many examples and comprehensive documentation. The purpose of this paper is to introduce the major features and usages of the ACTest toolkit. The benchmark results on the ACT100 dataset for the maximum entropy method, which is probably the most popular analytic continuation method, are also presented.</div></div><div><h3>Program summary</h3><div><em>Program title:</em> ACTest</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/xvt3wzgt65.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/huangli712/ACTest</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv3</div><div><em>Programming language:</em> Julia</div><div><em>Nature of problem:</em> Analytic continuation is an essential step in quantum many-body computations. It enables the extraction of observable spectral functions from imaginary time or Matsubara frequency Green's functions. Though numerous methods for analytic continuation were proposed, they have not been systematically and fairly benchmarked due to the lack of testing software and datasets.</div><div><em>Solution method:</em> At first, a few peaks (features) are generated randomly. Then, they are superimposed to form the spectral function. Finally, the Green's function is reconstructed from the spectral function via the Laplace transformation. This procedure allows for the generation of lots of spectral functions and corresponding Green's functions, creating datasets for testing analytic continuation methods and codes.</div></div>\",\"PeriodicalId\":285,\"journal\":{\"name\":\"Computer Physics Communications\",\"volume\":\"316 \",\"pages\":\"Article 109785\"},\"PeriodicalIF\":3.4000,\"publicationDate\":\"2025-07-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Physics Communications\",\"FirstCategoryId\":\"101\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0010465525002875\",\"RegionNum\":2,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465525002875","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

摘要

ACTest是一个用Julia语言开发的开源工具包。其核心目标是自动建立包含大量谱函数和相应的格林函数的解析延拓测试数据集。这些数据集可以用来对各种分析延拓方法和代码进行基准测试。在ACTest中,谱函数是由随机生成的高斯峰、洛伦兹峰、δ-like峰、矩形峰和上升-衰减峰的叠加构成的。光谱可以是正定的,也可以是非正定的。相应的能量网格可以是线性的也可以是非线性的。ACTest在虚时间轴或Matsubara频率轴上支持费米子和玻色子格林函数。人工噪声可以叠加在合成的格林函数上,以模拟由量子蒙特卡罗计算得到的真实格林函数。ACTest包含一个标准的测试数据集,即ACT100。这个内置的数据集包含100个测试用例,涵盖了代表性的分析延续场景。现在,ACTest与ACFlow和MiniPole工具包完全集成。它可以直接调用ACFlow和MiniPole工具包中实现的解析延拓方法进行计算,分析计算结果,评估计算效率和精度。ACTest包含许多示例和全面的文档。本文的目的是介绍ACTest工具箱的主要特性和用法。给出了最常用的分析延拓方法——最大熵法在ACT100数据集上的基准测试结果。程序摘要程序标题:ACTestCPC库链接到程序文件:https://doi.org/10.17632/xvt3wzgt65.1Developer's存储库链接:https://github.com/huangli712/ACTestLicensing条款:gplv3编程语言:julian问题的性质:解析延拓是量子多体计算的重要步骤。它可以从虚时间或Matsubara频率格林函数中提取可观测的谱函数。虽然提出了许多分析延拓的方法,但由于缺乏测试软件和数据集,它们尚未得到系统和公平的基准测试。解决方法:首先随机生成几个峰值(特征)。然后,将它们叠加形成谱函数。最后,通过拉普拉斯变换从谱函数重构格林函数。该程序允许生成大量的谱函数和相应的格林函数,创建用于测试分析延拓方法和代码的数据集。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
ACTest: A testing toolkit for analytic continuation methods and codes
ACTest is an open-source toolkit developed in the Julia language. Its central goal is to automatically establish analytic continuation testing datasets, which include a large number of spectral functions and the corresponding Green's functions. These datasets can be used to benchmark various analytic continuation methods and codes. In ACTest, the spectral functions are constructed by a superposition of randomly generated Gaussian, Lorentzian, δ-like, rectangular, and Rise-And-Decay peaks. The spectra can be positive definite or non-positive definite. The corresponding energy grids can be linear or non-linear. ACTest supports both fermionic and bosonic Green's functions on either imaginary time or Matsubara frequency axes. Artificial noise can be superimposed on the synthetic Green's functions to simulate realistic Green's functions obtained by quantum Monte Carlo calculations. ACTest includes a standard testing dataset, namely ACT100. This built-in dataset contains 100 testing cases that cover representative analytic continuation scenarios. Now ACTest is fully integrated with the ACFlow and MiniPole toolkits. It can directly invoke the analytic continuation methods as implemented in the ACFlow and MiniPole toolkits for calculations, analyze calculated results, and evaluate computational efficiency and accuracy. ACTest comprises many examples and comprehensive documentation. The purpose of this paper is to introduce the major features and usages of the ACTest toolkit. The benchmark results on the ACT100 dataset for the maximum entropy method, which is probably the most popular analytic continuation method, are also presented.

Program summary

Program title: ACTest
CPC Library link to program files: https://doi.org/10.17632/xvt3wzgt65.1
Developer's repository link: https://github.com/huangli712/ACTest
Licensing provisions: GPLv3
Programming language: Julia
Nature of problem: Analytic continuation is an essential step in quantum many-body computations. It enables the extraction of observable spectral functions from imaginary time or Matsubara frequency Green's functions. Though numerous methods for analytic continuation were proposed, they have not been systematically and fairly benchmarked due to the lack of testing software and datasets.
Solution method: At first, a few peaks (features) are generated randomly. Then, they are superimposed to form the spectral function. Finally, the Green's function is reconstructed from the spectral function via the Laplace transformation. This procedure allows for the generation of lots of spectral functions and corresponding Green's functions, creating datasets for testing analytic continuation methods and codes.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信