Giter Site home page Giter Site logo

kir-kalinin / complexity-continuum-within-ising-formulation-of-np-problems Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 43 KB

The optimisation of the Ising model on various coupling matrices with various methods

License: MIT License

Jupyter Notebook 100.00%
optimisation hopfield-networks hopfield-neural-network gurobi ising-model ising-hamiltonian physics-inspired-optimisation

complexity-continuum-within-ising-formulation-of-np-problems's Introduction

Complexity-continuum-within-Ising-formulation-of-NP-problems

The minimisation of the Ising Hamiltonian for sparse and dense interaction matrices with exact and physics-inspired algorithms.

The implemented interaction models include:

  • the Sherrington-Kirkpatrick,
  • the 3-regular maximum cut,
  • the Mobius ladder graphs,
  • the rewired Mobius ladder graphs.

The interaction strengths can be considered unweighted or can be taken from the bimodal and Gaussian distributions.

The available methods for solving the Ising model are:

  • the exact commercial solver Gurobi (the free academic license is available at Gurobi website),
  • the Hopfield-Tank neural networks (implemented in python and accelerated with numba).

Requirements: numpy, scipy, numba, gurobipy.

More details about simple and hard problems for the Ising optimisation could be found in the article:

Kalinin, Kirill P., and Natalia G. Berloff. "Complexity continuum within Ising formulation of NP problems." arXiv preprint arXiv:2008.00466 (2020).

Ps If you find the code useful for your studies please consider citing the above paper.

complexity-continuum-within-ising-formulation-of-np-problems's People

Contributors

kir-kalinin avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

jaimepsantos

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.