The design, verification, and applications of Hotspice: A Monte Carlo simulator for artificial spin ice

IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS
Jonathan Maes , Diego De Gusem , Ian Lateur , Jonathan Leliaert , Aleksandr Kurenkov , Bartel Van Waeyenberge
{"title":"The design, verification, and applications of Hotspice: A Monte Carlo simulator for artificial spin ice","authors":"Jonathan Maes ,&nbsp;Diego De Gusem ,&nbsp;Ian Lateur ,&nbsp;Jonathan Leliaert ,&nbsp;Aleksandr Kurenkov ,&nbsp;Bartel Van Waeyenberge","doi":"10.1016/j.cpc.2025.109643","DOIUrl":null,"url":null,"abstract":"<div><div>We present Hotspice, a Monte Carlo simulation software designed to capture the dynamics and equilibrium states of Artificial Spin Ice (ASI) systems with both in-plane (IP) and out-of-plane (OOP) geometries. An Ising-like model is used where each nanomagnet is represented as a macrospin, with switching events driven by thermal fluctuations, magnetostatic interactions, and external fields. To improve simulation accuracy, we explore the impact of several corrections to this model, concerning for example the calculation of the dipole interaction in IP and OOP ASI, as well as the impact of allowing asymmetric rather than symmetric energy barriers between stable states. We validate these enhancements by comparing simulation results with experimental data for pinwheel and kagome ASI lattices, demonstrating how these corrections enable a more accurate simulation of the behavior of these systems. We finish with a demonstration of ‘clocking’ in pinwheel and OOP square ASI as an example of reservoir computing.</div></div><div><h3>Program summary</h3><div><em>Program title: Hotspice</em></div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/9c3rx36jvn.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/bvwaeyen/Hotspice</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv3</div><div><em>Programming language:</em> Python 3</div><div><em>Nature of problem:</em> To tailor the complex phenomena in Artificial Spin Ice for a specific purpose, simulations are key to rapidly assess whether a given combination of system parameters will yield a desirable result. Therefore, a simulator capable of simulating systems containing thousands of magnets is needed, ideally requiring a minimal amount of input parameters. This is particularly important for use cases such as reservoir computing, where system-scale dynamics are of primary interest.</div><div><em>Solution method:</em> Hotspice approximates each single-domain nanomagnet as an Ising spin, associating energies with its various states and accounting for the magnetostatic interaction between all magnets. By calculating switching rates using the Néel-Arrhenius model, or flipping magnets based on the Metropolis-Hastings algorithm, the dynamics of ASI can be calculated for large arrays and over experimentally relevant timescales.</div><div><em>Additional comments including restrictions and unusual features:</em> While Hotspice is well-suited for large-scale ASI simulations, it relies on higher-level approximations which do not account for the detailed internal magnetization dynamics within individual magnets. To improve simulation accuracy, several model variants have been implemented which differ in their calculation of the magnetostatic interactions, the use of symmetric versus asymmetric energy barriers, and their choice of update algorithm.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"313 ","pages":"Article 109643"},"PeriodicalIF":7.2000,"publicationDate":"2025-04-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/S0010465525001456","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

We present Hotspice, a Monte Carlo simulation software designed to capture the dynamics and equilibrium states of Artificial Spin Ice (ASI) systems with both in-plane (IP) and out-of-plane (OOP) geometries. An Ising-like model is used where each nanomagnet is represented as a macrospin, with switching events driven by thermal fluctuations, magnetostatic interactions, and external fields. To improve simulation accuracy, we explore the impact of several corrections to this model, concerning for example the calculation of the dipole interaction in IP and OOP ASI, as well as the impact of allowing asymmetric rather than symmetric energy barriers between stable states. We validate these enhancements by comparing simulation results with experimental data for pinwheel and kagome ASI lattices, demonstrating how these corrections enable a more accurate simulation of the behavior of these systems. We finish with a demonstration of ‘clocking’ in pinwheel and OOP square ASI as an example of reservoir computing.

Program summary

Program title: Hotspice
CPC Library link to program files: https://doi.org/10.17632/9c3rx36jvn.1
Developer's repository link: https://github.com/bvwaeyen/Hotspice
Licensing provisions: GPLv3
Programming language: Python 3
Nature of problem: To tailor the complex phenomena in Artificial Spin Ice for a specific purpose, simulations are key to rapidly assess whether a given combination of system parameters will yield a desirable result. Therefore, a simulator capable of simulating systems containing thousands of magnets is needed, ideally requiring a minimal amount of input parameters. This is particularly important for use cases such as reservoir computing, where system-scale dynamics are of primary interest.
Solution method: Hotspice approximates each single-domain nanomagnet as an Ising spin, associating energies with its various states and accounting for the magnetostatic interaction between all magnets. By calculating switching rates using the Néel-Arrhenius model, or flipping magnets based on the Metropolis-Hastings algorithm, the dynamics of ASI can be calculated for large arrays and over experimentally relevant timescales.
Additional comments including restrictions and unusual features: While Hotspice is well-suited for large-scale ASI simulations, it relies on higher-level approximations which do not account for the detailed internal magnetization dynamics within individual magnets. To improve simulation accuracy, several model variants have been implemented which differ in their calculation of the magnetostatic interactions, the use of symmetric versus asymmetric energy barriers, and their choice of update algorithm.
Hotspice的设计、验证和应用:一个人工自旋冰的蒙特卡罗模拟器
我们提出了Hotspice,一个蒙特卡罗模拟软件,旨在捕捉具有平面内(IP)和平面外(OOP)几何形状的人工自旋冰(ASI)系统的动力学和平衡状态。使用了一个类似ising的模型,其中每个纳米磁铁被表示为一个巨自旋,其开关事件由热波动、静磁相互作用和外场驱动。为了提高模拟精度,我们探讨了对该模型的几个修正的影响,例如在IP和OOP ASI中偶极子相互作用的计算,以及允许稳定状态之间的不对称而不是对称能量势垒的影响。我们通过将模拟结果与风车和kagome ASI晶格的实验数据进行比较来验证这些增强,展示了这些修正如何能够更准确地模拟这些系统的行为。最后,我们演示了在风车和面向对象方形ASI中的“时钟”,作为水库计算的一个例子。程序摘要程序标题:HotspiceCPC库链接到程序文件:https://doi.org/10.17632/9c3rx36jvn.1Developer's存储库链接:https://github.com/bvwaeyen/HotspiceLicensing条款:gplv3编程语言:Python 3问题性质:为特定目的定制人工自旋冰中的复杂现象,模拟是快速评估给定系统参数组合是否会产生理想结果的关键。因此,需要一个能够模拟包含数千个磁铁的系统的模拟器,理想情况下需要最少的输入参数。这对于油藏计算这样的用例尤其重要,因为系统尺度的动态是最重要的。解决方法:Hotspice将每个单畴纳米磁体近似为一个伊辛自旋,将能量与其各种状态联系起来,并计算所有磁体之间的静磁相互作用。通过使用nsamei - arrhenius模型计算开关率,或者基于Metropolis-Hastings算法计算翻转磁体,可以计算出大型阵列和实验相关时间尺度上ASI的动力学。其他评论包括限制和不寻常的功能:虽然Hotspice非常适合大规模的ASI模拟,但它依赖于更高级别的近似,而这些近似不能解释单个磁铁内部详细的磁化动态。为了提高仿真精度,实现了几种模型变体,这些模型变体在静磁相互作用的计算、对称与非对称能量势垒的使用以及更新算法的选择上有所不同。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
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学术文献互助群
群 号:481959085
Book学术官方微信