Skip to content

teokem/project-work-2020-tim-jonsson-zz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

The aim of this project is to visualize the quantum and classical ground state of a small magnetic system with the help of jupyter notebook. The idea of this project comes from my research work, treating the magnetic skyrmions quantum mechanically in a frustrated system. The detailed Hamiltonian can be found in the ipynb file.

Finding the ground state of the given Hamiltonian with real system will take long computation time, thus in this project, system with small size (around 10 spin sites) is considered. After diagonalizing the Hamiltonian matrix with the eigh function from the numpy.linalg package, the expectation values of the spin operators  ⟨𝑆𝛼𝑖⟩  is calculated with the ground state. Then the quantum spins can be visualized by plotting the spin expectation values in 3D. The classical ground state, on the other hand, can also be calculated with energy variation method or classical Monte Carlo. The comparison of quantum and classical systems can be used in the teaching of matrix quantum mechanics and electromagnetism.

The packages included is covered in the environment.yml file.

The program can be run by going through each cell and press Ctrl + enter. Parameters can be changed in the cell after the explaining cell "Diagonalization".

-------------Edited after review-------------------
Response to review comments:
doi added: 10.5281/zenodo.3768935
Detailed description of packages added to READ ME (previously in the notebook):
  numpy: generally used.
  time: used to monitor the speed of the diagonalization. 
  eigs (and eigsh): used to diagonalize sparse (and sparse Hermitian) matrices, using Lanczos algorithm. 
  eig (and eigh): used to do full diagonalization. 
  matplotlib.pyplot and Axes3D: used to plot the classical or quantum spins and to visualize the spin texture.
  
Interesting points of my notebook:
The difference between classical and quantum spin interactions is always worth mentioning, especially in the teaching of basic quantum mechanics or electromagnetism. The exact diagonalization and visualization codes can give a direct image about the frequently discussed Heisenberg system. The students can grab the special properties of quantum interactions immediately.
----------------------------------------------------


Best,
Zhen

About

project-work-2020-tim-jonsson-zz created by GitHub Classroom

Resources

Stars

Watchers

Forks

Packages

No packages published