Coder Social home page Coder Social logo

Problem in acceptance ratio about spirit HOT 2 CLOSED

Sayan611 avatar Sayan611 commented on June 27, 2024
Problem in acceptance ratio

from spirit.

Comments (2)

MSallermann avatar MSallermann commented on June 27, 2024 1

Hi,

at a first glance it seems like you are running the MC simulation at 0K.

For an MC simulation at finite temperatures, energy increasing spin moves are accepted with a probability that increases with temperature. If that temperature is 0K however, any move that increases the energy is rejected. So in that way the MC algorithm at 0K, acts as a probabilistic energy minimization.

As you approach a local minimum, the acceptance ratio will always tend towards zero at 0K. This becomes clear if you consider that exactly at the local minimum any infinitesimal move will increase the energy (as per the definition of a local minimum) and will thus be rejected. The way Spirit normally tries to increase the acceptance ratio is to reduce the sampling cone angle (in your Log the angle starts out at 30 deg and ends up at 0.2 deg). Usually it is a valid strategy but near a local minimum at 0K this will obviously not help.

I assume you want to find the ground state of your system. To do so it would be better to start with MC at higher temperatures and gradually decrease the temperature until you get close to 0K. This way you should get near the ground state. Sadly, it is not exactly trivial to figure out what gradually means in this context. It requires some fiddling with the start temperature, the number of temperature steps and the number of MC iterations at each temperature step. Then you can follow up the MC calculation with a direct energy minimization, which will bring you to the exact ground state.

from spirit.

Sayan611 avatar Sayan611 commented on June 27, 2024

Thank you. I got it.

from spirit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.