Giter Club home page Giter Club logo

vmachine's Issues

Create interaction class and move computeLocalEnergy function

In the current version, the interaction energy (inter-particle energy) is restricted to Coulomb interaction, and is located in the Hamiltonian class. At the same time, the kinetic energy is called from the Hamiltonian class, which does not really makes sense.

In order to make VMaChine more flexible and accept other interaction styles, it would be better to create an interaction class where Coulomb is a subclass and None is another subclass (and the default). The local energy should be computed in the sampler.

Torch support

Add support for the PyTorch C++ API. This can be used for setting up models, autograd, optimization and GPU acceleration

Split system.cpp

system.cpp contains the write-functions and the parser. These could with advantage be moved to respective files (ex. write.cpp and read.cpp).

Clean up

The code can be made more transparent. First, the set*-methods in system are no longer needed after the configuration file was made the way to configure the system. When the set*-methods are removed, the initialize-methods found in all classes can be moved to init, making the code more readable.

Documentation

Write up documentation. This is very easy to do using Sphinx

Better VMC

The current VMC algorithm can be improved by allowing for variance minimization and more sophisticated optimization algorithms based on the Hessian

Fix memory leaks

There are a few places where memory is allocated, but never freed up (src/system.cpp and src/initialWeights/automaize.cpp). This is unfortunate and should be fixed asap.

Object representation

Find a neat way to represent the various objects, preferably similar to the built-in repr()-method in Python.

Python interface

A Python interface could be implemented in order to ease the usage of the package. Using PyBind11, this should now take more than a few hours

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.