首页 > 最新文献

Computer Physics Communications最新文献

英文 中文
A projection method for particle resampling 粒子重采样的投影方法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2026-01-08 DOI: 10.1016/j.cpc.2026.110024
Mark F. Adams , Daniel S. Finn , Matthew G. Knepley , Joseph V. Pusztay
Particle discretizations of partial differential equations are advantageous for high-dimensional kinetic models in phase-space due to their better scalability than continuum approaches with respect to dimension. Complex processes collectively referred to as particle noise hamper long time simulations with particle methods. One approach to address this problem is particle mesh adaptivity, or remapping, known as particle resampling and remeshing. This work introduces a resampling method that projects particles to and from a (finite element) function space. The method is simple, using standard sparse linear algebra and finite element techniques, and it preserves all moments up to the order of a polynomial represented exactly by the continuum function space. It is distinguished from most other mesh-based methods in that new particle positions and number are decoupled from the mesh, allowing particle and continuum meshes to be adapted relatively independently. While this work is developed with structured particle and continuum phase-space grids on 1X + 1V Vlasov-Poisson models of Landau damping and two-stream instability, the method is well-suited to unstructured grids. Stable long time dynamics are demonstrated up to time T=500. Reproducibility artifacts and data are publicly available.
偏微分方程的粒子离散化由于其在维数上比连续介质方法具有更好的可扩展性,对相空间中的高维动力学模型具有优势。复杂过程统称为粒子噪声,妨碍了用粒子方法进行长时间模拟。解决这个问题的一种方法是粒子网格自适应,或重映射,称为粒子重采样和重网格。这项工作介绍了一种重采样方法,将粒子投射到(有限元)函数空间。该方法简单,使用标准的稀疏线性代数和有限元技术,并且它保留了由连续统函数空间精确表示的多项式阶的所有矩。与大多数其他基于网格的方法不同的是,新的粒子位置和数量与网格解耦,允许粒子和连续体网格相对独立地适应。虽然这项工作是在朗道阻尼和双流不稳定性的1X + 1V Vlasov-Poisson模型上使用结构化粒子和连续相空间网格进行的,但该方法非常适合于非结构化网格。在时间T=500之前,证明了稳定的长时间动力学。可再现性工件和数据是公开可用的。
{"title":"A projection method for particle resampling","authors":"Mark F. Adams ,&nbsp;Daniel S. Finn ,&nbsp;Matthew G. Knepley ,&nbsp;Joseph V. Pusztay","doi":"10.1016/j.cpc.2026.110024","DOIUrl":"10.1016/j.cpc.2026.110024","url":null,"abstract":"<div><div>Particle discretizations of partial differential equations are advantageous for high-dimensional kinetic models in phase-space due to their better scalability than continuum approaches with respect to dimension. Complex processes collectively referred to as <em>particle noise</em> hamper long time simulations with particle methods. One approach to address this problem is particle mesh adaptivity, or remapping, known as <em>particle resampling</em> and <em>remeshing</em>. This work introduces a resampling method that projects particles to and from a (finite element) function space. The method is simple, using standard sparse linear algebra and finite element techniques, and it preserves all moments up to the order of a polynomial represented exactly by the continuum function space. It is distinguished from most other mesh-based methods in that new particle positions and number are decoupled from the mesh, allowing particle and continuum meshes to be adapted relatively independently. While this work is developed with structured particle and continuum phase-space grids on 1<em>X</em> + 1<em>V</em> Vlasov-Poisson models of Landau damping and two-stream instability, the method is well-suited to unstructured grids. Stable long time dynamics are demonstrated up to time <span><math><mrow><mi>T</mi><mo>=</mo><mn>500</mn></mrow></math></span>. Reproducibility artifacts and data are publicly available.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110024"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034992","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Fast and memory-efficient strong simulation of noisy adaptive linear optical circuits 快速、高效存储的噪声自适应线性光电路仿真
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2026-01-17 DOI: 10.1016/j.cpc.2025.110016
Timothée Goubault De Brugière , Nicolas Heurtel
Exactly computing the full output distribution of linear optical circuits remains a challenge, as existing methods are either time-efficient but memory-intensive or memory-efficient but slow. Moreover, any realistic simulation must account for noise, such as photon loss, and any viable quantum computing scheme based on linear optics requires feedforward. This adds additional layers of complexity in the classical simulation as one needs to deal with extra combinatorics due to, e.g, the measurement or loss scenarios. In this paper, we propose an algorithm that models the output amplitudes as partial derivatives of a multivariate polynomial. The algorithm explores the lattice of all intermediate partial derivatives, where each derivative is used to compute more efficiently ones with higher degree. In terms of memory, storing one path from the root to the leaves is sufficient to iterate over all amplitudes and requires only 2n elements, as opposed to (n+m1n) for the fastest state of the art method. This approach effectively balances the time-memory trade-off while extending to both noisy and feedforward scenarios with negligible cost. To the best of our knowledge, this is the first approach in the literature to meet all these requirements. We demonstrate how this method enables the simulation of systems that were previously out of reach, while providing a concrete implementation and complexity analysis.
精确计算线性光学电路的全部输出分布仍然是一个挑战,因为现有的方法要么是时间效率高但内存密集,要么是内存效率高但速度慢。此外,任何现实的模拟都必须考虑噪声,例如光子损耗,任何可行的基于线性光学的量子计算方案都需要前馈。这在经典模拟中增加了额外的复杂性层,因为需要处理额外的组合,例如,测量或损失场景。在本文中,我们提出了一种算法,该算法将输出振幅建模为多元多项式的偏导数。该算法探索所有中间偏导数的格,其中每个导数用于更有效地计算更高次的偏导数。在内存方面,存储从根节点到叶节点的一条路径足以遍历所有振幅,并且只需要2n个元素,而不是最快的方法需要(n+m - 1n)个元素。这种方法有效地平衡了时间-内存的权衡,同时以可忽略不计的成本扩展到噪声和前馈场景。据我们所知,这是文献中第一个满足所有这些要求的方法。我们演示了这种方法如何能够模拟以前无法达到的系统,同时提供了具体的实现和复杂性分析。
{"title":"Fast and memory-efficient strong simulation of noisy adaptive linear optical circuits","authors":"Timothée Goubault De Brugière ,&nbsp;Nicolas Heurtel","doi":"10.1016/j.cpc.2025.110016","DOIUrl":"10.1016/j.cpc.2025.110016","url":null,"abstract":"<div><div>Exactly computing the full output distribution of linear optical circuits remains a challenge, as existing methods are either time-efficient but memory-intensive or memory-efficient but slow. Moreover, any realistic simulation must account for noise, such as photon loss, and any viable quantum computing scheme based on linear optics requires feedforward. This adds additional layers of complexity in the classical simulation as one needs to deal with extra combinatorics due to, e.g, the measurement or loss scenarios. In this paper, we propose an algorithm that models the output amplitudes as partial derivatives of a multivariate polynomial. The algorithm explores the lattice of all intermediate partial derivatives, where each derivative is used to compute more efficiently ones with higher degree. In terms of memory, storing one path from the root to the leaves is sufficient to iterate over all amplitudes and requires only 2<sup><em>n</em></sup> elements, as opposed to <span><math><mrow><mo>(</mo><mfrac><mrow><mi>n</mi><mo>+</mo><mi>m</mi><mo>−</mo><mn>1</mn></mrow><mi>n</mi></mfrac><mo>)</mo></mrow></math></span> for the fastest state of the art method. This approach effectively balances the time-memory trade-off while extending to both noisy and feedforward scenarios with negligible cost. To the best of our knowledge, this is the first approach in the literature to meet all these requirements. We demonstrate how this method enables the simulation of systems that were previously out of reach, while providing a concrete implementation and complexity analysis.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110016"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034919","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Numerical stability of force-gradient integrators and their Hessian-free variants in lattice QCD simulations 点阵QCD模拟中力梯度积分器及其无hessian变体的数值稳定性
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2026-01-14 DOI: 10.1016/j.cpc.2026.110034
Kevin Schäfers , Jacob Finkenrath , Michael Günther , Francesco Knechtli
A comprehensive linear stability analysis of force-gradient integrators and their Hessian-free variants is carried out by investigating the harmonic oscillator as a test equation. The analysis reveals that the linear stability of conventional force-gradient integrators and their Hessian-free counterparts coincides. By performing detailed linear stability investigations for the entire family of self-adjoint integrators with up to eleven exponentials per time step, we detect promising integrator variants that are providing a good trade-off between accuracy and numerical stability. Special attention is given to the application of these promising integrator variants within the Hamiltonian Monte Carlo algorithm, particularly in the context of interacting field theories. Simulations for the two-dimensional Schwinger model are conducted to demonstrate that there are no significant differences in the stability domain of a force-gradient integrator and its Hessian-free counterpart. Lattice QCD simulations with two heavy Wilson fermions emphasize that Hessian-free force-gradient integrators with a larger stability threshold allow for a more efficient computational process compared to conventional splitting methods. Furthermore, detailed investigations of the stability threshold are performed by investigating Nf=2 twisted-mass fermions and nested integrators, highlighting the reliability of the linear stability threshold for lattice QCD simulations.
通过研究谐振子作为测试方程,对力梯度积分器及其无hessian变量进行了全面的线性稳定性分析。分析表明,传统力梯度积分器的线性稳定性与无hessin积分器的线性稳定性是一致的。通过对每个时间步长多达11个指数的整个自伴随积分器家族进行详细的线性稳定性研究,我们检测到有希望的积分器变体,这些变体在精度和数值稳定性之间提供了良好的权衡。特别注意这些有前途的积分器变体在哈密顿蒙特卡罗算法中的应用,特别是在相互作用场论的背景下。对二维Schwinger模型进行了仿真,证明了力梯度积分器和无hessin积分器的稳定性域没有显著差异。使用两个重Wilson费米子的晶格QCD模拟强调,与传统的分裂方法相比,具有更大稳定阈值的无hessin力梯度积分器允许更有效的计算过程。此外,通过研究Nf=2扭曲质量费米子和嵌套积分器对稳定性阈值进行了详细的研究,强调了晶格QCD模拟线性稳定性阈值的可靠性。
{"title":"Numerical stability of force-gradient integrators and their Hessian-free variants in lattice QCD simulations","authors":"Kevin Schäfers ,&nbsp;Jacob Finkenrath ,&nbsp;Michael Günther ,&nbsp;Francesco Knechtli","doi":"10.1016/j.cpc.2026.110034","DOIUrl":"10.1016/j.cpc.2026.110034","url":null,"abstract":"<div><div>A comprehensive linear stability analysis of force-gradient integrators and their Hessian-free variants is carried out by investigating the harmonic oscillator as a test equation. The analysis reveals that the linear stability of conventional force-gradient integrators and their Hessian-free counterparts coincides. By performing detailed linear stability investigations for the entire family of self-adjoint integrators with up to eleven exponentials per time step, we detect promising integrator variants that are providing a good trade-off between accuracy and numerical stability. Special attention is given to the application of these promising integrator variants within the Hamiltonian Monte Carlo algorithm, particularly in the context of interacting field theories. Simulations for the two-dimensional Schwinger model are conducted to demonstrate that there are no significant differences in the stability domain of a force-gradient integrator and its Hessian-free counterpart. Lattice QCD simulations with two heavy Wilson fermions emphasize that Hessian-free force-gradient integrators with a larger stability threshold allow for a more efficient computational process compared to conventional splitting methods. Furthermore, detailed investigations of the stability threshold are performed by investigating <span><math><mrow><msub><mi>N</mi><mi>f</mi></msub><mo>=</mo><mn>2</mn></mrow></math></span> twisted-mass fermions and nested integrators, highlighting the reliability of the linear stability threshold for lattice QCD simulations.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110034"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034920","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Benchmarking Monte Carlo codes for the modelling of low-energy neutron production target reactions 模拟低能中子产生目标反应的基准蒙特卡罗代码
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2025-12-20 DOI: 10.1016/j.cpc.2025.109998
Sherryn MacLeod , Klaudiusz Jakubowski , James Vohradsky , Daniel R. Franklin , Toshiro Sakabe , Akram Hamato , Masahiro Okamura , Susanna Guatelli , Mitra Safavi-Naeini
The increasing adoption of accelerator-based neutron sources (ABNS) for applications including neutron capture therapy (NCT) research has highlighted the need for accurate simulation tools. Precise modelling of the neutron production target is crucial to ensure that simulated predictions of neutron beam characteristics used for subsequent beam shaping assembly design are reliable. This work presents a comprehensive benchmarking of four widely-used Monte Carlo codes - Geant4, PHITS, FLUKA (CERN), and MCNP - for modelling low-energy neutron production target reactions. Using their recommended physics models and cross-section libraries, we evaluate each code’s performance in simulating four beam-target reactions: 7Li(p,n)7Be, 9Be(p,n)9B, 9Be(d,n)10B, and C(d,n)N. Predictions of neutron yield, angular distributions, and energy spectra are compared against available thick target experimental data. Results show varying levels of agreement between the codes depending on the reaction type, energy range, and beam characteristics. Geant4, MCNP and PHITS are the overall best performing codes for the simulation of total neutron yield and yield in the forward direction across most reactions. Across energies where experimental benchmarks exist, inter-code discrepancies in total and forward-directed yield are typically 10 to 30%, with larger deviations at near-threshold incident ion energies. PHITS provides the best overall reproduction of experimental spectra, particularly for the 9Be(p,n)9B reaction. Additionally, PHITS demonstrates superior computational performance for most reactions. These findings provide valuable guidance for ABNS design, highlighting the strengths and limitations of each code for the simulation of low-energy neutron production reactions.
基于加速器的中子源(ABNS)越来越多地应用于中子捕获治疗(NCT)研究,这凸显了对精确模拟工具的需求。中子产生目标的精确建模对于确保用于后续光束成形组件设计的中子束特性的模拟预测是可靠的至关重要。这项工作提出了四种广泛使用的蒙特卡罗代码的综合基准- Geant4, PHITS, FLUKA (CERN)和MCNP -用于模拟低能中子产生目标反应。使用他们推荐的物理模型和截面库,我们评估了每个代码在模拟四种束靶反应中的性能:7Li(p,n)7Be, 9Be(p,n)9B, 9Be(d,n)10B和C(d,n) n。预测的中子产率、角分布和能谱与现有的厚靶实验数据进行了比较。结果表明,根据反应类型、能量范围和光束特性的不同,规范之间的一致性有所不同。Geant4、MCNP和PHITS是模拟大多数反应的总中子产率和正向产率的最佳代码。在存在实验基准的能量范围内,总产率和正向产率的码间差异通常为10%至30%,在接近阈值的入射离子能量处偏差更大。PHITS提供了实验光谱的最佳整体再现,特别是对于9Be(p,n)9B反应。此外,PHITS在大多数反应中表现出优越的计算性能。这些发现为ABNS的设计提供了有价值的指导,突出了每个代码用于模拟低能中子产生反应的优势和局限性。
{"title":"Benchmarking Monte Carlo codes for the modelling of low-energy neutron production target reactions","authors":"Sherryn MacLeod ,&nbsp;Klaudiusz Jakubowski ,&nbsp;James Vohradsky ,&nbsp;Daniel R. Franklin ,&nbsp;Toshiro Sakabe ,&nbsp;Akram Hamato ,&nbsp;Masahiro Okamura ,&nbsp;Susanna Guatelli ,&nbsp;Mitra Safavi-Naeini","doi":"10.1016/j.cpc.2025.109998","DOIUrl":"10.1016/j.cpc.2025.109998","url":null,"abstract":"<div><div>The increasing adoption of accelerator-based neutron sources (ABNS) for applications including neutron capture therapy (NCT) research has highlighted the need for accurate simulation tools. Precise modelling of the neutron production target is crucial to ensure that simulated predictions of neutron beam characteristics used for subsequent beam shaping assembly design are reliable. This work presents a comprehensive benchmarking of four widely-used Monte Carlo codes - Geant4, PHITS, FLUKA (CERN), and MCNP - for modelling low-energy neutron production target reactions. Using their recommended physics models and cross-section libraries, we evaluate each code’s performance in simulating four beam-target reactions: <sup>7</sup>Li(p,n)<sup>7</sup>Be, <sup>9</sup>Be(p,n)<sup>9</sup>B, <sup>9</sup>Be(d,n)<sup>10</sup>B, and C(d,n)N. Predictions of neutron yield, angular distributions, and energy spectra are compared against available thick target experimental data. Results show varying levels of agreement between the codes depending on the reaction type, energy range, and beam characteristics. Geant4, MCNP and PHITS are the overall best performing codes for the simulation of total neutron yield and yield in the forward direction across most reactions. Across energies where experimental benchmarks exist, inter-code discrepancies in total and forward-directed yield are typically 10 to 30%, with larger deviations at near-threshold incident ion energies. PHITS provides the best overall reproduction of experimental spectra, particularly for the <sup>9</sup>Be(p,n)<sup>9</sup>B reaction. Additionally, PHITS demonstrates superior computational performance for most reactions. These findings provide valuable guidance for ABNS design, highlighting the strengths and limitations of each code for the simulation of low-energy neutron production reactions.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 109998"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145923459","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Chromo: A high-performance python interface to hadronic event generators for collider and cosmic-ray simulations Chromo:用于对撞机和宇宙射线模拟的强子事件生成器的高性能python接口
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2026-01-16 DOI: 10.1016/j.cpc.2026.110031
Anatoli Fedynitch , Hans Dembinski , Anton Prosekin
<div><div>Simulations of hadronic and nuclear interactions are essential in both collider and astroparticle physics. The Chromo package provides a unified Python interface to multiple widely used hadronic event generators, including EPOS, DPMJet, Sibyll, QGSJet, and Pythia. Built on top of their original Fortran and C<span>++</span> implementations, Chromo offers a zero-overhead abstraction layer suitable for use in Python scripts, Jupyter notebooks, or from the command line, while preserving the performance of direct calls to the generators. It is easy to install via precompiled binary wheels distributed through PyPI, and it integrates well with the Scientific Python ecosystem. Chromo supports event export in HepMC, ROOT, and SVG formats and provides a consistent interface for inspecting, filtering, and modifying particle collision events. This paper describes the architecture, typical use cases, and performance characteristics of Chromo and its role in contemporary astroparticle simulations, such as in the MCEq cascade solver.</div></div><div><h3>PROGRAM SUMMARY</h3><div><em>Program Title:</em> Chromo <em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/wdf9bvwhns.1</span><svg><path></path></svg></span> <em>Developer’s repository link:</em> <span><span>https://github.com/impy-project/chromo</span><svg><path></path></svg></span> <em>Licensing provisions:</em> BSD 3-clause <em>Programming language:</em> Python, Fortran, C<span>++</span> <em>Nature of problem:</em>Simulating hadronic and nuclear interactions currently requires users to learn multiple generator APIs (Fortran or C<span>++</span>), handle different build systems, and write glue code to translate between event formats. This complexity hinders rapid prototyping in Python, makes batch scripting cumbersome, and prevents seamless integration with the broader Scientific Python ecosystem (NumPy, SciPy, Matplotlib, etc.). A unified, zero-overhead interface is needed to streamline generator access, enforce consistent event I/O, and reduce boilerplate for both collider and astroparticle physics applications. <em>Solution method:</em>Chromo provides lightweight Python bindings for supported generators. Fortran-based generators are wrapped using NumPy’s f2py, and the C<span>++</span>-based Pythia8 is exposed via pybind11. Prebuilt wheels on PyPI simplify installation across platforms. After installation, Chromo offers a consistent Python API for generating, filtering, and editing events, and for exporting results to HepMC, ROOT, or SVG formats. It can be used interactively in Python scripts or Jupyter notebooks, or as a command-line tool for drop-in substitution of CRMC in shell workflows. Chromo is also suitable for integration into complex pipelines and batch systems. <em>Additional comments including restrictions and unusual features:</em>Chromo officially supports Linux and macOS by providing prebuilt wheels for Python 3.9-3.13. While most functionality may work o
强子和核相互作用的模拟在对撞机和天体粒子物理学中都是必不可少的。Chromo包为多个广泛使用的强子事件生成器提供了统一的Python接口,包括EPOS、DPMJet、Sibyll、QGSJet和Pythia。基于原始的Fortran和c++实现,Chromo提供了一个零开销的抽象层,适合在Python脚本、Jupyter笔记本或命令行中使用,同时保留了直接调用生成器的性能。它很容易通过PyPI分发的预编译二进制轮来安装,并且它与Scientific Python生态系统集成得很好。Chromo支持hemc、ROOT和SVG格式的事件导出,并为检查、过滤和修改粒子碰撞事件提供一致的接口。本文描述了Chromo的架构、典型用例和性能特征,以及它在当代天体粒子模拟中的作用,例如在MCEq级联求解器中。程序摘要程序标题:Chromo CPC库链接到程序文件:https://doi.org/10.17632/wdf9bvwhns.1开发人员的存储库链接:https://github.com/impy-project/chromo许可条款:BSD 3-clause编程语言:Python, Fortran, c++问题的性质:模拟强子和核交互目前要求用户学习多个生成器api (Fortran或c++),处理不同的构建系统,并编写粘合代码在事件格式之间进行转换。这种复杂性阻碍了Python中的快速原型,使批处理脚本变得繁琐,并且阻碍了与更广泛的科学Python生态系统(NumPy, SciPy, Matplotlib等)的无缝集成。需要一个统一的,零开销的接口来简化生成器访问,强制一致的事件I/O,并减少对撞机和天体粒子物理应用程序的样板文件。解决方法:Chromo为支持的生成器提供轻量级Python绑定。基于fortran的生成器使用NumPy的f2py包装,而基于c++的Pythia8则通过pybind11公开。PyPI上的预建轮子简化了跨平台安装。安装完成后,Chromo提供了一致的Python API,用于生成、过滤和编辑事件,以及将结果导出为HepMC、ROOT或SVG格式。它可以在Python脚本或Jupyter笔记本中交互使用,也可以作为命令行工具在shell工作流中直接替换CRMC。Chromo也适用于集成到复杂的管道和批处理系统。其他评论包括限制和不寻常的功能:Chromo通过为Python 3.9-3.13提供预构建的轮子正式支持Linux和macOS。虽然大多数功能可以在Windows上工作,但不能保证完全兼容。一些模型需要特定于平台的解决方案,而这些解决方案不受积极支持。用户可以自行决定在Windows上运行Chromo,并使用提供的测试套件验证功能。
{"title":"Chromo: A high-performance python interface to hadronic event generators for collider and cosmic-ray simulations","authors":"Anatoli Fedynitch ,&nbsp;Hans Dembinski ,&nbsp;Anton Prosekin","doi":"10.1016/j.cpc.2026.110031","DOIUrl":"10.1016/j.cpc.2026.110031","url":null,"abstract":"&lt;div&gt;&lt;div&gt;Simulations of hadronic and nuclear interactions are essential in both collider and astroparticle physics. The Chromo package provides a unified Python interface to multiple widely used hadronic event generators, including EPOS, DPMJet, Sibyll, QGSJet, and Pythia. Built on top of their original Fortran and C&lt;span&gt;++&lt;/span&gt; implementations, Chromo offers a zero-overhead abstraction layer suitable for use in Python scripts, Jupyter notebooks, or from the command line, while preserving the performance of direct calls to the generators. It is easy to install via precompiled binary wheels distributed through PyPI, and it integrates well with the Scientific Python ecosystem. Chromo supports event export in HepMC, ROOT, and SVG formats and provides a consistent interface for inspecting, filtering, and modifying particle collision events. This paper describes the architecture, typical use cases, and performance characteristics of Chromo and its role in contemporary astroparticle simulations, such as in the MCEq cascade solver.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;h3&gt;PROGRAM SUMMARY&lt;/h3&gt;&lt;div&gt;&lt;em&gt;Program Title:&lt;/em&gt; Chromo &lt;em&gt;CPC Library link to program files:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://doi.org/10.17632/wdf9bvwhns.1&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; &lt;em&gt;Developer’s repository link:&lt;/em&gt; &lt;span&gt;&lt;span&gt;https://github.com/impy-project/chromo&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt; &lt;em&gt;Licensing provisions:&lt;/em&gt; BSD 3-clause &lt;em&gt;Programming language:&lt;/em&gt; Python, Fortran, C&lt;span&gt;++&lt;/span&gt; &lt;em&gt;Nature of problem:&lt;/em&gt;Simulating hadronic and nuclear interactions currently requires users to learn multiple generator APIs (Fortran or C&lt;span&gt;++&lt;/span&gt;), handle different build systems, and write glue code to translate between event formats. This complexity hinders rapid prototyping in Python, makes batch scripting cumbersome, and prevents seamless integration with the broader Scientific Python ecosystem (NumPy, SciPy, Matplotlib, etc.). A unified, zero-overhead interface is needed to streamline generator access, enforce consistent event I/O, and reduce boilerplate for both collider and astroparticle physics applications. &lt;em&gt;Solution method:&lt;/em&gt;Chromo provides lightweight Python bindings for supported generators. Fortran-based generators are wrapped using NumPy’s f2py, and the C&lt;span&gt;++&lt;/span&gt;-based Pythia8 is exposed via pybind11. Prebuilt wheels on PyPI simplify installation across platforms. After installation, Chromo offers a consistent Python API for generating, filtering, and editing events, and for exporting results to HepMC, ROOT, or SVG formats. It can be used interactively in Python scripts or Jupyter notebooks, or as a command-line tool for drop-in substitution of CRMC in shell workflows. Chromo is also suitable for integration into complex pipelines and batch systems. &lt;em&gt;Additional comments including restrictions and unusual features:&lt;/em&gt;Chromo officially supports Linux and macOS by providing prebuilt wheels for Python 3.9-3.13. While most functionality may work o","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110031"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146073660","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A soft particle dynamics method based on shape degrees of freedom for core-shell particles 基于形状自由度的核壳粒子软粒子动力学方法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2026-01-16 DOI: 10.1016/j.cpc.2026.110030
Yohann Trivino , Vincent Richefeu , Farhang Radjai , Komlanvi Lampoh , Jean-Yves Delenne
In this paper, we present a 2D numerical model developed to simulate the dynamics of soft core-shell particles. To accommodate large particle deformations, the particle surface is represented as a thin shell composed of mass points that interact through elasto-plastic force laws governing their linear and angular relative displacements. Particle shape changes are controlled by these interactions, in conjunction with a uniform particle core stiffness. This model can be applied to simulate flexible beams and core-shell particles of arbitrary shape. We calibrate and verify this model by comparing the deformation of constrained beams under load with theoretical predictions. Subsequently, we explore the diametral compression of a single particle between two walls, focusing on the influence of the particle core stiffness and shell plasticity. Our findings indicate that increased core stiffness reduces particle volume change and promotes the development of flat contact areas with the walls. To further illustrate the model capabilities, we apply it to the uniaxial compaction of a granular material composed of core-shell particles. We show that, depending on the core stiffness and shell plastic threshold, the compaction leads to either a significant reduction of particle volumes or an improved pore filling due to particle shape changes. At high compaction, particle shapes vary such that elastic particles without core stiffness become mostly elongated, elastic particles with core stiffness form polygonal shapes, while plastic particles develop elliptical or highly irregular forms. Finally, we simulate the tensile fracture of a tissue composed of elastic or plastic cells, illustrating the model’s potential applicability to soft tissues that undergo both large cell deformations and fracture.
在本文中,我们提出了一个二维数值模型来模拟软核-壳粒子的动力学。为了适应大颗粒变形,颗粒表面被表示为由质量点组成的薄壳,这些质点通过控制其线性和角相对位移的弹塑性力定律相互作用。粒子形状的变化是由这些相互作用控制的,并与均匀的粒子核心刚度相结合。该模型可用于模拟任意形状的柔性梁和核壳粒子。我们通过比较受约束梁在荷载作用下的变形与理论预测来校准和验证该模型。随后,我们探索了单颗粒在两壁之间的直径压缩,重点研究了颗粒核心刚度和壳塑性的影响。我们的研究结果表明,芯刚度的增加减少了颗粒体积的变化,并促进了与壁的平坦接触区域的发展。为了进一步说明模型的能力,我们将其应用于由核-壳颗粒组成的颗粒材料的单轴压实。我们表明,根据核刚度和壳塑性阈值,压实导致颗粒体积显着减少或由于颗粒形状变化而改善孔隙填充。在高压实下,颗粒的形状发生变化,无核心刚度的弹性颗粒大多呈细长状,有核心刚度的弹性颗粒呈多边形,而塑性颗粒呈椭圆形或高度不规则形状。最后,我们模拟了由弹性或塑性细胞组成的组织的拉伸断裂,说明了该模型对经历大细胞变形和断裂的软组织的潜在适用性。
{"title":"A soft particle dynamics method based on shape degrees of freedom for core-shell particles","authors":"Yohann Trivino ,&nbsp;Vincent Richefeu ,&nbsp;Farhang Radjai ,&nbsp;Komlanvi Lampoh ,&nbsp;Jean-Yves Delenne","doi":"10.1016/j.cpc.2026.110030","DOIUrl":"10.1016/j.cpc.2026.110030","url":null,"abstract":"<div><div>In this paper, we present a 2D numerical model developed to simulate the dynamics of soft core-shell particles. To accommodate large particle deformations, the particle surface is represented as a thin shell composed of mass points that interact through elasto-plastic force laws governing their linear and angular relative displacements. Particle shape changes are controlled by these interactions, in conjunction with a uniform particle core stiffness. This model can be applied to simulate flexible beams and core-shell particles of arbitrary shape. We calibrate and verify this model by comparing the deformation of constrained beams under load with theoretical predictions. Subsequently, we explore the diametral compression of a single particle between two walls, focusing on the influence of the particle core stiffness and shell plasticity. Our findings indicate that increased core stiffness reduces particle volume change and promotes the development of flat contact areas with the walls. To further illustrate the model capabilities, we apply it to the uniaxial compaction of a granular material composed of core-shell particles. We show that, depending on the core stiffness and shell plastic threshold, the compaction leads to either a significant reduction of particle volumes or an improved pore filling due to particle shape changes. At high compaction, particle shapes vary such that elastic particles without core stiffness become mostly elongated, elastic particles with core stiffness form polygonal shapes, while plastic particles develop elliptical or highly irregular forms. Finally, we simulate the tensile fracture of a tissue composed of elastic or plastic cells, illustrating the model’s potential applicability to soft tissues that undergo both large cell deformations and fracture.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110030"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034996","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A machine learning based approach to online electron reconstruction at CLAS12 基于机器学习的在线电子重构方法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2026-01-14 DOI: 10.1016/j.cpc.2026.110032
R. Tyson, G. Gavalian
Online reconstruction is key for monitoring purposes and real time analysis in High Energy and Nuclear Physics experiments. A necessary component of reconstruction algorithms is particle identification that combines information left by a particle passing through several detector components to identify the particle’s type. Of particular interest to electro-production Nuclear Physics experiments such as CLAS12 is electron identification which is used to trigger data recording. A machine learning approach was developed for CLAS12 to reconstruct and identify electrons by combining raw signals at the data acquisition level from several detector components. This approach achieves an electron identification purity above 75% whilst retaining an efficiency close to 100%. The machine learning tools are capable of running at high rates exceeding the data acquisition rates and will allow electron reconstruction in real-time. This work enhances online analyses and monitoring and can contribute to improved triggering at CLAS12. This machine learning driven approach will also be crucial for experiments aiming to transition to streaming readout operations where online reconstruction will be a key component of the data taking paradigm.
在线重建是实现高能与核物理实验监测和实时分析的关键。重构算法的一个必要组成部分是粒子识别,它结合粒子通过多个检测器组件后留下的信息来识别粒子的类型。对诸如CLAS12之类的电力生产核物理实验特别感兴趣的是用于触发数据记录的电子识别。为CLAS12开发了一种机器学习方法,通过结合来自多个探测器组件的数据采集级别的原始信号来重建和识别电子。该方法可实现75%以上的电子识别纯度,同时保持接近100%的效率。机器学习工具能够以超过数据采集速率的高速率运行,并将允许实时电子重建。这项工作增强了在线分析和监测,并有助于改善class12的触发。这种机器学习驱动的方法对于旨在过渡到流读出操作的实验也至关重要,其中在线重建将成为数据获取范例的关键组成部分。
{"title":"A machine learning based approach to online electron reconstruction at CLAS12","authors":"R. Tyson,&nbsp;G. Gavalian","doi":"10.1016/j.cpc.2026.110032","DOIUrl":"10.1016/j.cpc.2026.110032","url":null,"abstract":"<div><div>Online reconstruction is key for monitoring purposes and real time analysis in High Energy and Nuclear Physics experiments. A necessary component of reconstruction algorithms is particle identification that combines information left by a particle passing through several detector components to identify the particle’s type. Of particular interest to electro-production Nuclear Physics experiments such as CLAS12 is electron identification which is used to trigger data recording. A machine learning approach was developed for CLAS12 to reconstruct and identify electrons by combining raw signals at the data acquisition level from several detector components. This approach achieves an electron identification purity above 75% whilst retaining an efficiency close to 100%. The machine learning tools are capable of running at high rates exceeding the data acquisition rates and will allow electron reconstruction in real-time. This work enhances online analyses and monitoring and can contribute to improved triggering at CLAS12. This machine learning driven approach will also be crucial for experiments aiming to transition to streaming readout operations where online reconstruction will be a key component of the data taking paradigm.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110032"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034994","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A three-dimensional multi-phase-field vesicles model and its practical finite difference solver 三维多相场囊泡模型及其实用的有限差分求解器
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2026-01-24 DOI: 10.1016/j.cpc.2026.110053
Yutong Wu, Zecheng Qiu, Junxiang Yang
This paper presents a numerical model for simulating the dynamics of multiple interacting vesicles using a multi-phase-field framework. We use N phase-field variables, each possibly containing multiple disconnected vesicles, and enforce volume and surface-area constraint per variable. Their evolution is governed by the variational derivatives of a total energy functional encompassing bending elasticity, surface area and volume conservation, and inter-vesicle repulsion. A semi-implicit finite difference scheme is developed to discretize the system, achieving numerical stability and efficiency. Extensive three-dimensional simulations demonstrate the method’s capability to maintain physical constraints and accurately capture complex vesicle deformations and interactions across various configurations. The simulation code corresponding to Sections 4.3.4 and 4.3.5 (Figs. 10 & 11) in this paper can be accessed at https://github.com/aaron-z-chiu/multiple-vesicles.
本文提出了用多相场框架模拟多个相互作用的囊泡动力学的数值模型。我们使用N个相场变量,每个相场变量可能包含多个不相连的囊泡,并对每个变量施加体积和表面积约束。它们的演化是由总能量泛函的变分导数控制的,该泛函包括弯曲弹性、表面积和体积守恒以及囊泡间排斥。采用半隐式有限差分格式对系统进行离散化,实现了系统的数值稳定性和效率。广泛的三维模拟证明了该方法能够保持物理约束,并准确捕获复杂的囊泡变形和各种构型的相互作用。本文第4.3.4节和4.3.5节(图10和图11)对应的仿真代码可在https://github.com/aaron-z-chiu/multiple-vesicles上访问。
{"title":"A three-dimensional multi-phase-field vesicles model and its practical finite difference solver","authors":"Yutong Wu,&nbsp;Zecheng Qiu,&nbsp;Junxiang Yang","doi":"10.1016/j.cpc.2026.110053","DOIUrl":"10.1016/j.cpc.2026.110053","url":null,"abstract":"<div><div>This paper presents a numerical model for simulating the dynamics of multiple interacting vesicles using a multi-phase-field framework. We use <em>N</em> phase-field variables, each possibly containing multiple disconnected vesicles, and enforce volume and surface-area constraint per variable. Their evolution is governed by the variational derivatives of a total energy functional encompassing bending elasticity, surface area and volume conservation, and inter-vesicle repulsion. A semi-implicit finite difference scheme is developed to discretize the system, achieving numerical stability and efficiency. Extensive three-dimensional simulations demonstrate the method’s capability to maintain physical constraints and accurately capture complex vesicle deformations and interactions across various configurations. The simulation code corresponding to Sections 4.3.4 and 4.3.5 (Figs. 10 &amp; 11) in this paper can be accessed at <span><span>https://github.com/aaron-z-chiu/multiple-vesicles</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110053"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146073661","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Full EPIC-GOD: An energy-conserving full particle-in-cell code for GPU acceleration using OpenACC Full EPIC-GOD:使用OpenACC实现GPU加速的节能全粒子单元代码
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2026-01-09 DOI: 10.1016/j.cpc.2026.110021
Sunjung Kim , G.S. Choe , Dongsu Ryu , Sibaek Yi
We present Full EPIC-GOD, a fully implicit, energy- and charge-conserving electromagnetic particle-in-cell (PIC) code. Unlike conventional full-PIC approaches that often suffer from numerical violations of conservation laws, Full EPIC-GOD tightly couples particle dynamics with Maxwell’s equations via an iterative predictor-corrector scheme. Charge conservation is rigorously enforced through Esirkepov’s method, while total energy conservation is achieved using consistent field interpolation and residual-based iterative convergence.
The algorithm employs second-order accurate discretization in both space and time and supports adaptive time stepping to enhance numerical stability and efficiency. The code is parallelized with OpenACC and demonstrates strong scaling on multi-GPU systems, enabling large-scale kinetic simulations.
We validate the code using standard benchmarks involving kinetic waves, electromagnetic instabilities, and magnetic reconnection. The results show excellent agreement with theory and prior simulations, confirming the method’s accuracy, stability, and conservation properties. Designed for fully kinetic plasma simulations, Full EPIC-GOD enables high-fidelity modeling of collisionless plasma dynamics across microscopic to relativistic regimes in space and astrophysical environments.
我们提出了完整的EPIC-GOD,一个完全隐式的,能量和电荷守恒的电磁粒子在电池(PIC)代码。与传统的全pic方法不同,Full EPIC-GOD通过迭代预测校正方案将粒子动力学与麦克斯韦方程组紧密耦合。通过Esirkepov方法严格实现电荷守恒,而通过一致场插值和基于残差的迭代收敛实现总能量守恒。该算法在空间和时间上采用二阶精确离散化,并支持自适应时间步进,提高了数值稳定性和效率。该代码与OpenACC并行化,并在多gpu系统上展示了强大的可伸缩性,实现了大规模的动力学模拟。我们使用涉及动力学波、电磁不稳定性和磁重联的标准基准来验证代码。结果表明,该方法具有较好的准确性、稳定性和守恒性。为完全动力学等离子体模拟而设计,Full EPIC-GOD可以在空间和天体物理环境中对微观到相对论制度的无碰撞等离子体动力学进行高保真建模。
{"title":"Full EPIC-GOD: An energy-conserving full particle-in-cell code for GPU acceleration using OpenACC","authors":"Sunjung Kim ,&nbsp;G.S. Choe ,&nbsp;Dongsu Ryu ,&nbsp;Sibaek Yi","doi":"10.1016/j.cpc.2026.110021","DOIUrl":"10.1016/j.cpc.2026.110021","url":null,"abstract":"<div><div>We present Full EPIC-GOD, a fully implicit, energy- and charge-conserving electromagnetic particle-in-cell (PIC) code. Unlike conventional full-PIC approaches that often suffer from numerical violations of conservation laws, Full EPIC-GOD tightly couples particle dynamics with Maxwell’s equations via an iterative predictor-corrector scheme. Charge conservation is rigorously enforced through Esirkepov’s method, while total energy conservation is achieved using consistent field interpolation and residual-based iterative convergence.</div><div>The algorithm employs second-order accurate discretization in both space and time and supports adaptive time stepping to enhance numerical stability and efficiency. The code is parallelized with OpenACC and demonstrates strong scaling on multi-GPU systems, enabling large-scale kinetic simulations.</div><div>We validate the code using standard benchmarks involving kinetic waves, electromagnetic instabilities, and magnetic reconnection. The results show excellent agreement with theory and prior simulations, confirming the method’s accuracy, stability, and conservation properties. Designed for fully kinetic plasma simulations, Full EPIC-GOD enables high-fidelity modeling of collisionless plasma dynamics across microscopic to relativistic regimes in space and astrophysical environments.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110021"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034993","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Advanced measurement techniques in quantum Monte Carlo: The permutation matrix representation approach 量子蒙特卡罗的先进测量技术:置换矩阵表示方法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-04-01 Epub Date: 2026-01-13 DOI: 10.1016/j.cpc.2026.110019
Nic Ezzell , Itay Hen
In a typical finite temperature quantum Monte Carlo (QMC) simulation, estimators for simple static observables such as specific heat and magnetization are known. With a great deal of system-specific manual labor, one can sometimes also derive more complicated non-local or even dynamic observable estimators. In contrast, we show that arbitrary static observables can be estimated within the permutation matrix representation (PMR) flavor for any Hamiltonian. We then generalize these results to general imaginary-time correlation functions and non-trivial integrated susceptibilities thereof. We demonstrate the practical versatility of our method by estimating various non-local, random observables for the transverse-field Ising model on a square lattice and a toy random model.
在典型的有限温度量子蒙特卡罗(QMC)模拟中,已知简单静态可观测值(如比热和磁化)的估计量。使用大量特定于系统的手工劳动,有时还可以推导出更复杂的非局部甚至动态的可观察估计器。相反,我们证明了任意静态可观测值可以在任意哈密顿量的排列矩阵表示(PMR)风格内估计。然后我们将这些结果推广到一般的虚时相关函数及其非平凡积分磁化率。我们通过估计方形晶格和玩具随机模型上横场Ising模型的各种非局部随机观测值来证明我们方法的实际通用性。
{"title":"Advanced measurement techniques in quantum Monte Carlo: The permutation matrix representation approach","authors":"Nic Ezzell ,&nbsp;Itay Hen","doi":"10.1016/j.cpc.2026.110019","DOIUrl":"10.1016/j.cpc.2026.110019","url":null,"abstract":"<div><div>In a typical finite temperature quantum Monte Carlo (QMC) simulation, estimators for simple static observables such as specific heat and magnetization are known. With a great deal of system-specific manual labor, one can sometimes also derive more complicated non-local or even dynamic observable estimators. In contrast, we show that arbitrary static observables can be estimated within the permutation matrix representation (PMR) flavor for any Hamiltonian. We then generalize these results to general imaginary-time correlation functions and non-trivial integrated susceptibilities thereof. We demonstrate the practical versatility of our method by estimating various non-local, random observables for the transverse-field Ising model on a square lattice and a toy random model.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"321 ","pages":"Article 110019"},"PeriodicalIF":3.4,"publicationDate":"2026-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"146034995","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
Computer Physics Communications
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1