Boron with STO6G

Variational Quantum Monte Carlo

Introduction   I’ll try to describe here briefly another project I have on GitHub1. There will not be much except links, but hopefully those will be useful. The project is far from being perfect, the simple averaging used there for example could be improved, as there are autocorrelations that one should be aware of, but … Read more



Introduction This is a very brief post, with a simulation written in javascript. It’s a very simple model of how a dissease can spread into a population. You may get the code, adjust the parameters and watch different outcomes. The idea of this project came from this: Why outbreaks like coronavirus spread exponentially, and how … Read more


Ray Tracing

Introduction The idea of this project1 came at the time when Nvidia released the RTX graphic cards. I’ve seen lots of comments on various sites about them and realized that many people do not understand what Ray Tracing is about. Since it has Monte Carlo, including importance sampling and obviously it is related with optics, … Read more

Magnetization for 2D Ising Model

Metropolis for 2D Ising and spin block renormalization

Introduction After quite a bit of time, here is the C++ program I promised. I’ve made a youtube video just to present it, for more meaningful results it must run with way more sweeps than in the video: It turned out that the program I used for making the video had some troubles with the … Read more