A Julia-based framework to simulate and analyze the Su-Schrieffer–Heeger (SSH) and Rice-Mele models, with post-processing and visualization in Python. This project is designed for entanglement entropy and variance studies in equilibrium and quench dynamics.
SSH-Analysis/
│
├── data/ # Output data (entropy, variance, etc.), this folder will be generated upon launching the first script
│ ├── equilibrium/
│ └── quench/
│
├── plot/ # Python notebooks for plotting
│ └── plots.ipynb
│
├── scripts/ # Julia scripts for running simulations
│ ├── equilibrium/
│ └── quench/
│
├── src/ # Julia source files
│ ├── SSHAnalysis.jl # Main module
│ ├── DensityMatrix.jl
│ ├── Entropy.jl
│ ├── Variance.jl
│ ├── BlochVectors.jl
│ └── Utils.jl
│
└── README.md # This file
git clone https://github.com/artalink7/SSH-Analysis.git
cd SSH-AnalysisAll scripts assume relative paths based on the project root. You can run them using:
julia scripts/equilibrium/run_entropy_equilibrium.jlMake sure your data directories exist. If not, they will be created automatically.
Use the Python notebook in plot/:
cd plot
jupyter notebook plots.ipynb- Julia ≥ 1.6
- Python
- Libraries used inside src and plot