Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QML-TensorNet-ManyBody

Quantum Many-Body Ground State Simulation via Tensor Networks (MPS)

This project implements a from-scratch Matrix Product State (MPS) simulation of the 1D Transverse-Field Ising Model (TFIM), one of the most fundamental quantum many-body systems in condensed matter physics.

The ground state energy is computed using variational MPS optimization and validated against exact diagonalization, demonstrating the power and accuracy of tensor network methods for simulating quantum systems classically.


🧪 Physics Background

The Transverse-Field Ising Model Hamiltonian is:

H = -J Σᵢ Zᵢ Zᵢ₊₁ - h Σᵢ Xᵢ

where:

  • J is the nearest-neighbor coupling strength
  • h is the transverse magnetic field
  • Zᵢ, Xᵢ are Pauli operators on site i

This model exhibits a quantum phase transition at h/J = 1.0 between a ferromagnetic phase (h < J) and a paramagnetic phase (h > J).


🚀 Features

  • From-scratch MPS implementation using only NumPy (no external tensor network libraries)
  • Exact diagonalization for validation on small system sizes
  • Ground state energy computation via variational optimization
  • Quantum phase transition visualization as a function of h/J
  • Entanglement entropy calculation from the MPS bond structure
  • Publication-quality plots saved automatically

📦 Requirements

pip install -r requirements.txt

▶️ Usage

python main.py

This will:

  1. Compute the exact ground state energy using exact diagonalization (up to N=12 spins)
  2. Compute the MPS-approximated ground state energy
  3. Plot the ground state energy and magnetization across the phase transition
  4. Save the plot as results/phase_transition.png

📊 Output

The script generates:

  • Console output comparing exact vs MPS energies
  • A plot showing the quantum phase transition

🔬 Relevance

This project demonstrates core competencies in:

  • Tensor Network methods (MPS representation, SVD truncation)
  • Quantum many-body physics (Ising model, phase transitions)
  • Numerical simulation of quantum systems using classical methods

📄 License

MIT License

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages