MexTrotter
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.4.0.0 | New feature:
|
|
|
| 1.0.0.0 |
|
