https://github.com/mizuhoaoki/path_integral
numerical simulation with path integral
https://github.com/mizuhoaoki/path_integral
diffusion-process path-integral
Last synced: 8 months ago
JSON representation
numerical simulation with path integral
- Host: GitHub
- URL: https://github.com/mizuhoaoki/path_integral
- Owner: MizuhoAOKI
- License: mit
- Created: 2023-12-28T15:01:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-20T09:29:21.000Z (almost 2 years ago)
- Last Synced: 2024-07-20T10:42:34.965Z (almost 2 years ago)
- Topics: diffusion-process, path-integral
- Language: Jupyter Notebook
- Homepage:
- Size: 66.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://opensource.org/licenses/MIT)
[](https://python-poetry.org/)
# Path Integral
## Dependency
- [python](https://www.python.org/)
- version 3.10 or higher is recommended.
- [poetry](https://python-poetry.org/)
- seting up python environment easily and safely.
- [ffmpeg](https://ffmpeg.org/)
- mp4 movie writer
-
installation details
- For Ubuntu Users
- `sudo apt-get update`
- `sudo apt-get -y install ffmpeg`
- For Windows Users
- Install [scoop](https://scoop.sh/)
- `scoop install ffmpeg`
- For macOS Users
- Install [homebrew](https://brew.sh/)
- `brew install ffmpeg`
- Check the official website if necessary
- https://ffmpeg.org/
## Setup
```sh
git clone https://github.com/MizuhoAOKI/path_integral.git
cd path_integral
poetry install
```
## Run Diffusion Process Simulations
### Ex. 1
```sh
cd path_integral
poetry run jupyter notebook notebooks/path_integral_diffusion_ex1.ipynb
```
https://github.com/MizuhoAOKI/path_integral/assets/63337525/5ed2dd19-884a-452f-a303-33b11c874280
### Ex. 2
```sh
cd path_integral
poetry run jupyter notebook notebooks/path_integral_diffusion_ex2.ipynb
```
https://github.com/MizuhoAOKI/path_integral/assets/63337525/68e19968-61b2-4041-b754-8cb8e946e93a
### Ex. 3
```sh
cd path_integral
poetry run jupyter notebook notebooks/path_integral_diffusion_2d.ipynb
```
https://github.com/MizuhoAOKI/path_integral/assets/63337525/043c4714-5b6d-4a8d-afa9-857a8bd11911
### Ex. 4
```sh
cd path_integral
poetry run jupyter notebook notebooks/path_integral_diffusion_2d_double_slit.ipynb
```
https://github.com/MizuhoAOKI/path_integral/assets/63337525/2c59f96e-dcff-4299-9284-dbbd78885a74