Giter VIP home page Giter VIP logo

compphysics / computationalphysics2 Goto Github PK

View Code? Open in Web Editor NEW
155.0 155.0 63.0 436.32 MB

Advanced course in Computational Physics, see texbook at http://compphysics.github.io/ComputationalPhysics2/doc/LectureNotes/_build/html/ with an emphasis on computational quantum mechanics, machine learning and quantum computing.

Home Page: http://compphysics.github.io/ComputationalPhysics2/doc/web/course

License: Creative Commons Zero v1.0 Universal

machine-learning quantum-computing

computationalphysics2's People

Contributors

evenmn avatar gabrielscabrera avatar kristianwold avatar mhjensen avatar mortele avatar schoyen avatar simehaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

computationalphysics2's Issues

Some issues in the vmc c++ code

Hi,

I was looking over your page here: http://compphysics.github.io/ComputationalPhysics2/doc/pub/vmc/html/vmc-bs.html and I noticed some possible issues. I did not compile and test the programs, though.

This line:

QuantumForce(rOld, QForceOld); QForceOld = QForceOld*h/waveFunctionOld;

has a multiplication with h, which is the derivation step (actually, it is 2*h but 2 cancels with the 2 from the quantum force, as the derivative of the square of the wavefunction is involved).

I think it should be a division, not a multiplication, like this:
QForceOld /= h*waveFunctionOld;

A similar issue exists here:

QuantumForce(rNew,QForceNew) = QForceNew*h/waveFunctionNew;
but the situation is worse, because QForceNew is not assigned. Should be:
QForceNew /= h*waveFunctionNew;

double VMCSolver::QuantumForce(const mat &r, mat &QForce) is declared as returning double but it returns nothing. Doesn't seem to be an issue, since the returned value is not used anywhere, but probably it should be declared with void.

It might be the case that you introduced those issues on purpose, to let the students figure them out, in which case I'm sorry I interfered, but I thought I should report those just in case.

Thank you for putting those materials public!

Thijssen book

Hi,

I was browsing the repository and I found Thijssen's book in doc/literature. I'm not really sure if it's ok to put it public like that (there might be some copyright issues), maybe you left it there by mistake?

By the way, it's an awesome book, I started many of my open source projects based on that book, although some went further than that.

Exploring the Melting Process of Ice using Quantum Mechanics

Dear Professor,

I hope this message finds you well. I am a student interested in molecular physics, specifically the melting process of ice. I was wondering if it is possible to use quantum mechanics to solve this problem and if so, if you have any recommendations for resources or tools that I can use to start exploring this topic using a computational approach.
I am fascinated by quantum mechanics but the math is quite challenging for me, so I am looking for a way to start with a more accessible project. Any advice or guidance you can offer would be greatly appreciated.

Thank you for your time and consideration.

Best regards,

Ran

Issues in python code

Hi,

Related with the previous bug report, I was looking over this page:
http://compphysics.github.io/ComputationalPhysics2/doc/pub/vmc/html/vmc-bs.html

I noticed some issues in the python code. I think that the gradient optimization code for the two non interacting particles case should accumulate the DeltaPsi value, so instead of:

        DeltaE = LocalEnergy(PositionOld,alpha)
        DeltaPsi = DerivativeWFansatz(PositionOld,alpha)
        energy += DeltaE
        DerivativePsiE += DeltaPsi*DeltaE

should be something like:

        DeltaE = LocalEnergy(PositionOld,alpha)
        val = DerivativeWFansatz(PositionOld,alpha)
        DeltaPsi += val
        energy += DeltaE
        DerivativePsiE += val*DeltaE

Also the computation of the GreensFunction looks suspicious at a very superficial look, as there, for example, it should be a division with the TimeStep.

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.