Codes used in:
I. Vidanovic, A. Balaz, H. Al-Jibbouri, and A. Pelster
"Nonlinear Bose-Einstein-condensate dynamics induced by a harmonic modulation of the s-wave scattering length"
Phys. Rev. A 84 (2011) 013618
arXiv e-print: 1106.4686
In a recent experiment, a Bose-Einstein condensate of 7Li has been excited by a harmonic modulation of the atomic s-wave scattering length via Feshbach resonance. Combining an analytical perturbative approach with extensive numerical simulations we analyze the emerging nonlinear dynamics of the system on the mean-field Gross-Pitaevskii level at zero temperature. Resulting excitation spectra are presented and prominent nonlinear features are found: mode coupling, higher harmonics generation and significant shifts in the frequencies of collective modes. We indicate how nonlinear dynamical properties could be made clearly observable in future experiments and compared to our results.
The following Mathematica codes were written for this paper:
Mathematica notebook
Frequency shift of the quadrupole mode for an axially symmetric BEC:
Mathematica notebook and initialization file (created by the initialization notebook)
Frequency shift of the breathing mode for an axially symmetric BEC:
Mathematica notebook and initialization file (created by the initialization notebook)
A. Bogojevic, A. Balaz and A. Belic
"Systematically accelerated convergence of path integrals"
Phys. Rev. Lett. 94 (2005) 180403
arXiv e-print: cond-mat/0508545
A. Bogojevic, A. Balaz, and A. Belic,
"Systematic speedup of path integrals of a generic N-fold discretized theory",
Phys. Rev. B 72, 064302 (2005)
A. Bogojevic, A. Balaz, and A. Belic,
"Generalization of Euler's summation formula to path integrals",
Phys. Lett. A 344, 84 (2005)
A. Bogojevic, A. Balaz, and A. Belic,
"Jaggedness of pathe integral trajectories",
Phys. Lett. A 345, 258 (2005)
A. Bogojevic, A. Balaz, and A. Belic,
"Asymptotic Properties of Path Integral Ideals",
Phys. Rev. E 72, 036128 (2005)
- Effective action to level p=6 (PDF file);
- Link to the Monte Carlo parallel (MPI) code used in this investigation: speedup-mpi.tgz;
- Serial version of the above code: speedup-serial.tgz.
README file from above MPI code
/* Path Integral Monte Carlo code developed by A. Balaz
(antun [at] ipb [dot] ac [dot] rs) for the paper:
"Systematically accelerated convergence of path integrals"
by A. Bogojevic, A. Balaz, and A. Belic
Phys. Rev. Lett. 94, 180403 (2005)
Address: Institute of Physics, Belgrade, Serbia
Scientific Computing Laboratory, http://www.scl.rs/speedup/
Public use and modification of this code is allowed providing the above paper is properly acknowledged. The author would be grateful for all information and/or comments regarding the use of the code.
*/
This MPI code gives a Monte Carlo simulation that calculates imaginary time amplitudes for the transition from a to b in time T for generic thery. The Planck constant hbar=1. Trajectories are generated using the bisection method. The variable s determines the level of bisection, i.e. time discretization N takes the values 2^0, 2^1, ..., 2^s.
The user configurable section is in file p.c. In it users need to define the level parameter p (1 <= p <= 18) and to supply the potential V and its derivatives.
COMPILING:
1) Supply the appropriate level p (by adjusting #define statement) and function V0() in file p.c.
2) A typical serial compiling line (e.g. for level p=2) looks like:
mpicc -O5 -o speedup-p2 main.c p.c nr.c -lm -lsprng -I.
Note that you need to have installed SPRNG libraries, http://sprng.cs.fsu.edu/
(The above example [-lsprng] is for the case of system wide installation of SPRNG.
In the case of a custom installation this needs to be changed appropriatel.)
USAGE:
mpirun [-nolocal] -np NP speedup-p2 T a b s Nmc seed par[0] ...
NP is the number of processes.
speedup-p2 is the compile name of the simulation working at level p=2.
T is the time of propagation.
a is the position at time t=0.
b is the position at time t=T.
s is the bisection level.
Nmc is the number of Monte Carlo samples used.
seed is seed value used by the SPRNG (random number generator).
par[0], ... are additional parameters defining the potential
(initialize as many as needed and use them in the same order
in the user supplied function V0 in file p.c).
Codes used in:
A. Balaz, I. Vidanovic, A. Bogojevic, A. Belic, and A. Pelster
"Fast Converging Path Integrals for Time-Dependent Potentials I: Recursive Calculation of Short-Time Expansion of the Propagator"
J. Stat. Mech. (2011) P03004
arXiv e-print: 0912.2743
A. Balaz, I. Vidanovic, A. Bogojevic, A. Belic, and A. Pelster
"Fast Converging Path Integrals for Time-Dependent Potentials II: Generalization to Many-body Systems and Real-Time Formalism"
J. Stat. Mech. (2011) P03005
arXiv e-print: 1011.5185
The following Mathematica and C codes were written for this paper:
Mathematica notebook and p=10 result
Calculation of real-time single-particle one-dimensional effective action for a general time-dependent potential:
Mathematica notebook and p=10 result
Calculation of imaginary-time single-particle one-dimensional effective action for a forced harmonic oscillator:
Mathematica notebook and p=20 result, Serial SPEEDUP C code for p=8
Mathematica notebook and p=20 result
Mathematica notebook and p=20 result, Serial SPEEDUP C code for p=8
Mathematica notebook and p=20 result
Mathematica notebook and p=20 result, Serial SPEEDUP C code for p=7
Mathematica notebook and p=20 result
A. Balaz, A. Bogojevic, I. Vidanovic, and A. Pelster
"Recursive Schrödinger Equation Approach to Faster Converging Path Integrals"
Phys. Rev. E 79 (2009) 036701
arXiv e-print: 0806.4774
The following Mathematica codes were written for this paper:
Mathematica notebook and p=10 result
Mathematica notebook and p=35 result
Mathematica notebook and p=37 result
Mathematica notebook and p=144 result
Mathematica notebook and p=41 result