Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,948 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPIN GLASS SIMULATIONS

Changed files

  • ./core/src/engine/Method_MC.cpp: Changed Metropolis algorithm logic to replace kT with gamma*B^2.
Screenshot 2025-08-28 at 10 06 05 PM Screenshot 2025-08-28 at 10 06 22 PM

Need to re-compile cpp using cmake to use the changes. For me these worked:

cd build
cmake ..
make
make install
cd ../
cp build/install/bin/libSpirit.dylib /Users/jiakai/Desktop/SURF/code/venv/lib/python3.13/site-packages/spirit/

New files

  • quantum_memory_dip.py : To simulate spin glass in a decreasing transverse field, with long relaxation at some intermediate field H_relax. Script will generate csv file of susceptibility against Ht, and a corresponding html plot. Example of html generated: Screenshot 2025-08-26 at 10 19 20 PM

  • quantum_memory_dip_ref.py : Similar to quantum_memory_dip.py but now without a relaxation phase when Ht ramps down. A second curve is also generated by ramping Ht back to original value after it hits 0. Example of html generated:

Screenshot 2025-08-26 at 10 20 01 PM
  • negative_field_cycle.py : To simulate negative field cycle experiment, where sample was relaxed at some H_t = H_high, then H_t was suddenly reduced to H_t = H_low, and after relaxing for some time again H_t was ramped back up to H_high
Screenshot 2025-08-26 at 10 20 19 PM
  • /utils : Some usefull Jupyter notebooks. Mainly to combine data from different runs to reduce noise

About

Atomistic Spin Simulation Framework

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages