Search arXivSearch

arXiv · 1206.1361

C programs for solving the time-dependent Gross-Pitaevskii equation in a fully anisotropic trap

Abstract

We present C programming language versions of earlier published Fortran programs (Muruganandam and Adhikari, Comput. Phys. Commun. 180 (2009) 1888) for calculating both stationary and non-stationary solutions of the time-dependent Gross-Pitaevskii (GP) equation. The GP equation describes the properties of dilute Bose-Einstein condensates at ultra-cold temperatures. C versions of programs use the same algorithms as the Fortran ones, involving real- and imaginary-time propagation based on a split-step Crank-Nicolson method. In a one-space-variable form of the GP equation, we consider the one-dimensional, two-dimensional, circularly-symmetric, and the three-dimensional spherically-symmetric harmonic-oscillator traps. In the two-space-variable form, we consider the GP equation in two-dimensional anisotropic and three-dimensional axially-symmetric traps. The fully-anisotropic three-dimensional GP equation is also considered. In addition to these twelve programs, for six algorithms that involve two and three space variables, we have also developed threaded (OpenMP parallelized) programs, which allow numerical simulations to use all available CPU cores on a computer. All 18 programs are optimized and accompanied by makefiles for several popular C compilers. We present typical results for scalability of threaded codes and demonstrate almost linear speedup obtained with the new programs, allowing a decrease in execution times by an order of magnitude on modern multi-core computers.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Dusan Vudragovic, Ivana Vidanovic, Antun Balaz, Paulsamy Muruganandam, Sadhan K. Adhikari. 2012-06-06. C programs for solving the time-dependent Gross-Pitaevskii equation in a fully anisotropic trap. https://doi.org/10.1016/j.cpc.2012.03.022

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Exact quantum geometry from sublattice symmetry: Closed-form solution of the quarter-flux Harper-Hofstadter model

Quantum geometry has emerged as a guiding principle across atomic and condensed-matter physics, shaping the topological responses of Bloch bands and the stability of the correlated phases they host. Sublattice symmetry, though common among bipartite lattice models, has not yet been exploited to obtain closed-form quantum geometry in multiband systems. For this purpose, we derive a general expression for the QGT of sublattice-symmetric systems in terms of contributions from the individual sublattice sectors, and show that this symmetry renders the Bloch Hamiltonian of a paradigmatic four-band model, the quarter-flux Harper-Hofstadter model, anti-block-diagonal, analytically yielding the spectrum, eigenstates, and full quantum geometric tensor (QGT), including the Berry curvature and quantum metric, for all four bands. The model, describing charged particles on a two-dimensional square lattice subjected to a uniform magnetic field, has recently been realized experimentally with ultracold atoms, photons, and superconducting circuits. Finally, we evaluate fractional-Chern-insulator stability criteria analytically and quantify the lowest band of the quarter-flux Harper-Hofstadter model to be a nearly ideal Chern band. Our approach opens a route for studying also the quantum geometry of other sublattice-symmetric multiband systems.

cond-mat.quant-gas

Limit of Spin Squeezing in Finite Temperature Bose-Einstein Condensates

We show that, at finite temperature, the maximum spin squeezing achievable using interactions in Bose-Einstein condensates has a finite limit when the atom number $N\to \infty$ at fixed density and interaction strength. We calculate the limit of the squeezing parameter for a spatially homogeneous system and show that it is bounded from above by the initial non-condensed fraction.

cond-mat.quant-gas

Quantum fields in a cold atomic simulator: relaxation and phase locking in tunnel-coupled 1D bosonic quasi-condensates

We consider a prime example of simulating interacting relativistic QFT with cold atoms: the realisation of the sine-Gordon model by tunnel-coupled quasi-1D Bose gases. While experiments have shown that it can realise the sine-Gordon model in equilibrium, studies of non-equilibrium dynamics have revealed phase-locking behaviour that contrasts with predictions from sine-Gordon field theory. Here, we examine a one-dimensional field-theoretic model of the system and find that the phase-locking behaviour can be understood in terms of the longitudinal harmonic trap, and that the additional degrees of freedom observed in the experiment do not appear to play a significant role. Therefore, the experimental setup provides a good simulator of the sine-Gordon quantum field theory, even out of equilibrium, if the inhomogeneous background induced by the trap is taken into account. Furthermore, our results support the idea that modifying the longitudinal trap to a box shape should result in agreement with standard sine-Gordon dynamics. The main remaining open issues are accounting for 3D corrections and modelling the effect of the boundaries.

cond-mat.quant-gas