A comprehensive Python package for simulating and analyzing quantum systems, focusing on emergent time dynamics, Ising models, and SYK models.
This repository contains several interconnected quantum physics simulation modules:
- Emergence: Simulates emergent time dynamics in quantum systems with environment coupling based on the Page-Wootters mechanism
- Ising: Implements 3D Ising model simulations for studying phase transitions
- SYK: Provides Sachdev-Ye-Kitaev model simulations for exploring quantum chaos
- Web Application: Streamlit-based interface for running and visualizing simulations
-
Quantum System Simulation:
- Configurable environment coupling
- Multiple coupling types (XX, ZZ, Mixed)
- Parameter sweep analysis
- Initial state analysis
- Environment size scaling
-
Advanced Analysis Tools:
- Frequency analysis
- Recurrence dynamics
- Eigenvalue analysis
- Entropy calculations
- Out-of-time-order correlators (OTOCs)
-
Interactive Visualizations:
- Command-line simulation outputs
- Web interface for interactive analysis
- Publication-quality plots
- Clone the repository:
git clone https://github.com/marcoloco23/quantum.git
cd quantum- Install dependencies:
pip install -r requirements.txt
pip install -e .# Sweep coupling strengths
python -m emergence.main sweep --coupling-type xx --min-coupling 0.0 --max-coupling 1.0 --num-points 10
# Compare different coupling types
python -m emergence.main compare --coupling-strength 0.3
# Run advanced analysis (frequency and recurrence)
python -m emergence.main advanced --coupling-strength 0.05
# Analyze different initial states
python -m emergence.main initial --coupling-strength 0.05
# Analyze environment scaling effects
python -m emergence.main env-scaling --max-size 4 --coupling-type xxLaunch the interactive web application:
streamlit run app.pyThis provides a user-friendly interface for:
- Running 3D Ising model simulations
- Exploring SYK model properties
- Visualizing results dynamically
-
emergence/: Page-Wootters mechanism and emergent time simulationsmain.py: Command-line interfacequantum_core.py: Core quantum mechanics functionsquantum_simulator.py: Quantum system simulatoranalysis.py: Analysis toolsvisualization.py: Plotting functions
-
ising/: Ising model implementationising_simulation.py: Monte Carlo simulations of the 3D Ising model
-
syk/: Sachdev-Ye-Kitaev model implementationsyk_simulation.py: Random matrix theory approach to quantum chaos
-
notebooks/: Jupyter notebooks for research and explorationemergent_time.ipynb: Explorations of emergent time dynamicsEntropyInequality.ipynb: Investigations of entropy inequalitiesdistance_matrices.ipynb: Analysis of quantum state distances
-
app.py: Streamlit web application for interactive simulations
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.