{"title":"quTARANG: A high-performance computing Python package to study turbulence using the Gross-Pitaevskii equation","authors":"Sachin Singh Rawat , Shawan Kumar Jha , Mahendra Kumar Verma , Pankaj Kumar Mishra","doi":"10.1016/j.cpc.2025.109725","DOIUrl":null,"url":null,"abstract":"<div><div>We present <span>quTARANG</span>, a robust GPU-accelerated Python package developed for a comprehensive study of turbulence problems in Bose-Einstein condensates (BECs). It solves the mean-field Gross-Pitaevskii equation (GPE) using a Time-splitting pseudo-spectral (TSSP) scheme and ground state calculations are performed using a Backward Euler spectral (BESP) scheme. <span>quTARANG</span> also has post-processing tools that can compute different statistical properties of turbulent Bose-Einstein condensates, such as kinetic energy spectra, particle number spectrum and corresponding fluxes. This paper provides detailed descriptions of the code, along with specific examples for calculating the ground state and turbulent state of the condensate under different initial conditions for both 2-D and 3-D cases. We also present results on the dynamics of the GPE in 2-D and 3-D used to validate our code. Finally, we compare the performance of <span>quTARANG</span> on different GPUs to its performance on a CPU, demonstrating the speedup achieved on various GPU architectures.</div></div><div><h3>Program summary</h3><div><em>Program Title:</em> <strong>quTARANG</strong></div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/s6xh86fkcm.1</span><svg><path></path></svg></span></div><div><em>Developer's repository link:</em> <span><span>https://github.com/sachinrawat2207/quTARANG</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> MIT</div><div><em>Programming language:</em> Python</div><div><em>Nature of problem:</em> This software is designed to compute the ground state and dynamical evolution of the Gross-Pitaevskii equation for 2-D and 3-D cases with GPU acceleration.</div><div><em>Solution method:</em> We have used a Time-splitting pseudo-spectral (TSSP) scheme to compute the dynamics and Backward Euler Pseudo-spectral (BESP) scheme used to compute the ground state of the system by evolving the system in imaginary time.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"315 ","pages":"Article 109725"},"PeriodicalIF":7.2000,"publicationDate":"2025-06-23","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/S0010465525002279","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 quTARANG, a robust GPU-accelerated Python package developed for a comprehensive study of turbulence problems in Bose-Einstein condensates (BECs). It solves the mean-field Gross-Pitaevskii equation (GPE) using a Time-splitting pseudo-spectral (TSSP) scheme and ground state calculations are performed using a Backward Euler spectral (BESP) scheme. quTARANG also has post-processing tools that can compute different statistical properties of turbulent Bose-Einstein condensates, such as kinetic energy spectra, particle number spectrum and corresponding fluxes. This paper provides detailed descriptions of the code, along with specific examples for calculating the ground state and turbulent state of the condensate under different initial conditions for both 2-D and 3-D cases. We also present results on the dynamics of the GPE in 2-D and 3-D used to validate our code. Finally, we compare the performance of quTARANG on different GPUs to its performance on a CPU, demonstrating the speedup achieved on various GPU architectures.
Program summary
Program Title:quTARANG
CPC Library link to program files:https://doi.org/10.17632/s6xh86fkcm.1
Nature of problem: This software is designed to compute the ground state and dynamical evolution of the Gross-Pitaevskii equation for 2-D and 3-D cases with GPU acceleration.
Solution method: We have used a Time-splitting pseudo-spectral (TSSP) scheme to compute the dynamics and Backward Euler Pseudo-spectral (BESP) scheme used to compute the ground state of the system by evolving the system in imaginary time.
期刊介绍:
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.