一种采用深度优先遍历和栈而非群体的扩散蒙特卡罗算法
A Diffusion Monte Carlo algorithm employing depth first traversal and a stack instead of a swarm
AI总结:
提出基于深度优先遍历和栈的扩散蒙特卡罗算法(DMCD),通过栈管理分裂历史,相比传统广度优先群体方法更节省内存,并统一了特征值问题与线性方程问题的算法处理。
摘要:
扩散蒙特卡罗(DMC)和用于粒子输运的蒙特卡罗方法(带重要性抽样)都涉及加权游走者的模拟,这些游走者经历出生和死亡过程(分裂和俄罗斯轮盘赌)。这些方法的既定实现截然不同:粒子模拟蒙特卡罗使用栈来处理分裂历史,而传统DMC则跟踪一群游走者。粒子模拟蒙特卡罗方法对访问过的构型进行深度优先遍历,而传统DMC方法可视为广度优先遍历。在本工作中,描述了基于深度优先、栈的DMC实现,并给出了完整代码。深度优先方法(此处称为DMCD)在总内存以及内存层次结构和协处理器的使用方面可能比广度优先方法更节省内存。该实现对于群体控制和后代加权非常自然,并统一了特征值问题(DMC)与线性方程问题(粒子输运)的算法处理。DMCD中存在而广度优先方法中没有的一个问题(本文成功解决了)是,当需要新游走者而栈为空时,需要维护一个起始者池。DMCD方法有潜力成为许多DMC应用的首选实现。
英文摘要:
Diffusion Monte Carlo (DMC) and Monte Carlo for particle transport with importance sampling both involve simulations of weighted walkers that undergo birth and death processes (splitting and Russian Roulette). The established implementations of these methods are quite different: Particle simulation Monte Carlo employs a stack to handle the splitting history whereas in traditional DMC one follows a swarm of walkers. The particle simulation Monte Carlo approach involves a depth first traversal of the visited configurations whereas the traditional DMC approach may be seen as a breadth first traversal. In the present work the implementation of a depth first, stack based approach to DMC is described and a complete code is presented. The depth first approach, called DMCD here, can be more memory efficient than the breadth first approach, both for total memory and for use of a memory hierarchy and of co-processors. The implementation appears very natural for population control and for descendant weighting and it unifies algorithmic treatment of the eigenvalue problem (DMC) with the linear equation problem (particle transport). A concern with DMCD that is not present in the breadth first approach, and that is successfully addressed here, is the need to maintain a pool of starters for use when a new walker is required and the stack is empty. The DMCD approach appears to have the potential to become the preferred implementation for many DMC applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。