https://github.com/cvsvensson/majoranas-in-interacting-systems
Code used to generate data and figures for the article "Quantifying robustness and locality of Majorana bound states in interacting systems"
https://github.com/cvsvensson/majoranas-in-interacting-systems
majorana-fermions quantum-physics scientific-papers
Last synced: 4 months ago
JSON representation
Code used to generate data and figures for the article "Quantifying robustness and locality of Majorana bound states in interacting systems"
- Host: GitHub
- URL: https://github.com/cvsvensson/majoranas-in-interacting-systems
- Owner: cvsvensson
- License: mit
- Created: 2025-10-06T11:27:19.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2026-02-27T15:16:33.000Z (4 months ago)
- Last Synced: 2026-02-27T20:26:30.836Z (4 months ago)
- Topics: majorana-fermions, quantum-physics, scientific-papers
- Language: Julia
- Homepage:
- Size: 5.76 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quantifying robustness and locality of Majorana bound states in interacting systems
This repository contains the code used to generate the data and the figures used in the paper
> **[Quantifying robustness and locality of Majorana bound states in interacting systems](https://arxiv.org/abs/2510.20538)** \
> *William Samuelson, Juan Daniel Torres Luna, Sebastian Miles, A. Mert Bozkurt, Martin Leijnse, Michael Wimmer, Viktor Svensson*
Data for Figure 2 is generated by `scripts/phase_diagram_data.jl`, and the figure itself by `scripts/phase_diagram_plot.jl`.

Figure 3 is generated by `scripts/energy_splitting.jl`.

### Methods
The main machinery of this code involves fermionic tensor products and fermionic partial traces. These are implemented in the package [FermionicHilbertSpaces.jl](https://github.com/cvsvensson/FermionicHilbertSpaces.jl).
### Reproducing this project
This code base is using the [Julia Language](https://julialang.org/) and
[DrWatson](https://juliadynamics.github.io/DrWatson.jl/stable/)
to make a reproducible scientific project.
To (locally) reproduce this project, do the following:
0. Download this code base. Notice that raw data are typically not included in the
git-history and may need to be downloaded independently.
1. Open a Julia console and do:
```
julia> using Pkg
julia> Pkg.add("DrWatson") # install globally, for using `quickactivate`
julia> Pkg.activate("path/to/this/project")
julia> Pkg.instantiate()
```
This will install all necessary packages for you to be able to run the scripts and
everything should work out of the box, including correctly finding local paths.
You may notice that most scripts start with the commands:
```julia
using DrWatson
@quickactivate :ManybodyMajoranas
```
which auto-activate the project and enable local path handling from DrWatson.