This repository contains a revised version of the code from my dissertation at Lancaster University, developed under the supervision of Dr. Henning Schomerus. The project explores the fascinating intersection of topology, nonlinear optics and quantum physics, by studying edge modes and nonlinear dynamics of photonic lattices through comprehensive phase diagram analysis.
- Why This Matters
- Overview๐ง
- Methodology๐ฌ
- Project Structure
- Quick Startโก
- Key Technical Achievements๐
Understanding how nonlinear gain saturation and loss effects interact in topological lattice systems provides crucial insights for developing next-generation laser technologies. The phase diagrams reveal optimal operating conditions for various laser applications, from high-power semiconductor lasers to exotic chaotic mode-locked systems.
The research uncovers complex phase behaviors including:
- Chaotic lasing regimes with potential applications in short-pulsed, high peak-power lasers
- First and second-order phase transitions that could enable new types of optical switching
- Critical points where systems exhibit extreme sensitivity, useful for precision sensing applications
The lattice models show promising connections to quantum computing architectures:
- Quantum Annealing: Phase diagrams could potentially map computational complexity regimes and help optimize quantum algorithms
- Nonlinear Operations: Nonlinear gain saturation might represent nonlinear quantum operators that enhance readout signals
- Decoherence Modeling: Loss parameters could model environmental decoherence, noise, and quantum errors
- Topological Connections: The exchange matrices studied relate to mathematical structures used in topological error correction codes like the toric code
This research bridges fundamental physics with practical applications:
- Materials Science: Understanding dimerization effects in atoms and molecules for developing new optical materials
- Fiber Optics: If one were to adapt this code to include nonlinear loss, then insights into soliton dynamics and nonlinear wave propagation are possible
- Quantum Technologies: Framework for analyzing types of decoherence and error rates in quantum systems
By studying these topological phase diagrams, we gain powerful insights into how complex systems behave under competing effects of gain and lossโknowledge that's essential for advancing both fundamental physics and cutting-edge technologies.
We study two main lattice models:
- Non-reciprocal SSH (NRSSH) Model - A variation of the SuโSchriefferโHeeger model with unequal (non-reciprocal) intra-cell hopping in opposite directions.
- Diamond (Rhombic) Model - A lattice with three sites per unit cell (A, B, C). Hoppings occur between A-B and A-C but not between B and C. Different hopping configurations lead to various "dimerizations" and exotic laser phases.
Gain and loss distribution will be different between these models, which will result in exclusive properties. A temporal criterion is formulated to indicate whether the systems have converged / diverged into a final state - dependent on site intensities. These final state times draw out phase diagrams of gain against loss, which are different for each combination of hopping strengths and saturation.
See THEORY.md for a more-extensive description of the physics behind this project.
Hamiltonians are defined by populating the matrix entry
We compute and visualize:
-
Band structure in momentum(
$k$ )-space - Edge states in real space (finding topologically protected modes)
- Introduced as imaginary onsite potential terms.
- Gain features nonlinear saturation controlled by intensity and a saturation parameter
$S$ . -
$\gamma_1$ (gain) and$\gamma_2$ (loss) are tunable parameters. - For the NRSSH model: all sites have both gain and loss terms.
- For the diamond model: A sites have gain, B and C sites have loss.
We evolve the system:
- Using a 2nd-order time evolution operator
$U(t)$ to generate$\varphi(t + dt)$ from$\varphi(t)$ . - Evolution is repeated for 50 steps (the number of colours in the colour-map).
The system is evolved until the change in total intensity between time steps falls below a chosen tolerance parameter. The site intensities moments before reaching this final state are visualized.
Simulations are ran over 100s of parameter combinations to create phase diagrams. These help analyze:
- Phases that host topologically-protected edge modes
- Stability vs chaos
- Loss-dominated and hybrid lasing modes
Dynamics_of_Topological_Photonics/
โโโ LICENSE # MIT License text
โโโ README.md # This file
โโโ THEORY.md # File explaining the physics behind this project
โโโ RESULTS.md # Results, conclusions and evaluations
โโโ requirements.txt # Packages required to be installed
โโโ images/ # Directory full of many png files from examples
โ โโโ eigensolutions/
โ โโโ intensities/
โ โโโ lattice_structures/
โ โโโ phases/
โ โโโ diamond_phases/
โ โโโ nrssh_phases/
โโโ src/ # Source code
โ โโโ models/
โ โ โโโ __init__/
โ โ โโโ nrssh_lattice/ # Builds the operators for the NRSSH model
โ โ โโโ diamond_lattice/ # Builds the operators for the Diamond model
โ โโโ dynamics/
โ โ โโโ __init__/
โ โ โโโ nrssh_time_evolution/ # Evolves the NRSSH model
โ โ โโโ nrssh_gain_loss/ # Generates the NRSSH model's final states
โ โ โโโ diamond_time_evolution/ # Evolves the Diamond model
โ โ โโโ diamond_gain_loss/ # Generates the Diamond model's final states
โ โโโ phases/
โ โโโ __init__/
โ โโโ nrssh_phase_diagrams/ # Plots the NRSSH model's phase diagram
โ โโโ diamond_phase_diagrams/ # Plots the Diamond model's phase diagram
โโโ example_tests/ # Examples
โโโ nrssh_examples/
โ โโโ nrssh_eigenenergies/ # Plots eigenenergies
โ โโโ nrssh_eigenvectors/ # Plots eigenvectors
โ โโโ nrssh_first_moments/ # Plots first states
โ โโโ nrssh_last_moments/ # Plots final states
โ โโโ nrssh_phases/ # Plots phase diagrams
โโโ diamond_examples/
โโโ diamond_eigenenergies/ # Plots eigenenergies
โโโ diamond_eigenvectors/ # Plots eigenvectors
โโโ diamond_first_moments/ # Plots first states
โโโ diamond_last_moments/ # Plots final states
โโโ diamond_phases/ # Plots phase diagrams
- Clone the Repository
git clone https://github.com/SidRichardsQuantum/Dynamics_of_Topological_Photonics.git
cd Dynamics_of_Topological_Photonics- Install dependencies
pip install -r requirements.txt- Generate the Default NRSSH Phase Diagram
python example_tests/nrssh_examples/nrssh_phases.py- Or Generate a Custom NRSSH Phase Diagram
'''example_tests.nrssh_examples.nrssh_phases.py'''
from src.phases.nrssh_phase_diagrams import plot_example_phase_diagram
# v, u, r in the interval (0, 1]
# S >= 0
# Recommended that points are between 15 and 30
if __name__ == "__main__":
gamma1_arr, gamma2_arr, conv_times, conv_mask = plot_example_phase_diagram(
v=0.3, u=0.2, r=0.9, S=1.0, points=20, verbose=True)Temporal Criterion Development
- Established robust temporal evolution criteria for phase classification.
- Validated phase diagram generation methodology across different lattice geometries.
- Demonstrated scalability of the approach to complex multi-parameter spaces.
Stability Analysis
- Successfully prevented unstable phases in systems with non-zero gain saturation and appropriate dimerization.
- Characterized conditions where systems reach stable final states versus continuous evolution.
- Mapped parameter spaces that avoid optical damage thresholds.
Physical Correspondence
- Established clear connections between phase behaviors and real laser dynamics.
- Demonstrated relevance to semiconductor laser saturation effects and high-power applications.
- Confirmed applicability to quantum walks, annealing and topological quantum computing scenarios.
These results provide a comprehensive framework for understanding and predicting the behavior of complex topological systems under competing gain and loss effects, with immediate applications in laser design and nonlinear optics research, and potentially in (topological) quantum computing and annealing.
See RESULTS.md for results, conclusions and evaluations.
๐ Author: Sid Richards (SidRichardsQuantum)
LinkedIn: https://www.linkedin.com/in/sid-richards-21374b30b/
This project is licensed under the MIT License - see the LICENSE file for details.