MexTrotter

Solve the 2D Gross-Pitaevskii equation for Bose-Einstein condensate in a static external potential
460 Downloads
Updated 17 Aug 2020

This function solves the Gross-Pitaevskii equation in a two-dimensional space. It may be exploited to simulate the evolution of Bose-Einstein condensate in a static external potential, or to calculate the ground-state using the imaginary time evolution.
Key features:
- Solver for the two-dimensional Gross-Pitaevskii equation.
- Arbitrary single-body initial state with closed and periodic boundary conditions.
- Bose-Einstein condensate simulations with interacting particles.
- Imaginary time evolution to calculate the ground state.
- Stationary external potential.
- Fast execution by parallelization: OpenMP.
- Multi-platform: Linux, OS X, and Windows are supported.
This function is a C/C++ subroutine and it can be called from the MATLAB® command line, as if they were built-in functions, building the MEX extension. For more information about the installation:
https://github.com/peterwittek/trotter-suzuki-mpi/tree/master/src/MATLAB

Usage examples can be found in the README section at:
https://github.com/peterwittek/trotter-suzuki-mpi/blob/master/src/MATLAB/README.rst

Cite As

Luca Calderaro (2026). MexTrotter (https://github.com/trotter-suzuki-mpi/trotter-suzuki-mpi), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Atomic, Molecular & Optical in Help Center and MATLAB Answers

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.4.0.0

New feature:
- Solver for the two-dimensional Gross-Pitaevskii equation.
- Functions to calculate Energy and Norm of the state.

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.