Monte Carlo-simuloinnit / Monte Carlo simulations

Basics of Monte Carlo Simulations / Monte Carlo simulointien perusteet, 530006

Monte Carlo Simulations in Physics / Monte Carlo simuloinnit fysiikassa, 530153


Timetable part II: Monte Carlo Simulations in Physics

Mon 12.3 Lecture 1 Thu 15.3 -
Mon 19.3 Lecture 2 Thu 22.3 Lecture 3
Mon 26.3 Exercise 1 Thu 29.3 -
Mon 2.4 Lecture 4 Thu 5.4 Lecture 5
Mon 9.4 Holiday Thu 12.4 Exercise 2
Mon 16.4 Lecture 6 Thu 19.4 Exercise 3
Mon 23.4 - Thu 26.4 Lecture 7
Mon 30.4 Consultation Thu 3.5 Exercise 4
Mon 14.5 Exam, Phy. E207


Grading: 50% exercises, 50% exam

The Exam - 14.05, PHYSICUM E207, 10:00-14:00

The admission to the exam after the course requires 25% of all the exercise points.

List of students who are allowed to attend to the exam

  • 013305912
  • 013752727
  • 013983114
  • 013712880
  • 013326577
  • 013311168
  • 012073559
  • 013463676
  • 013456353
  • 013580177
  • 013326836
  • 013709738
  • 013758970
  • 013470025
  • 013598318
  • 013861249
  • 013461788
  • 013865973
  • 012607404
  • 013861252


  • If you fail the course, in accordance with the department rules, you have the right to try again at a departmental exam only if you have at least 25% of the total points (exercises+exam).


    Lectures. Part 1.

  • 1. Monte Carlo Methods: Introduction [PDF 4up]
  • 2. Monte Carlo Methods: Generation of Random Numbers [PDF 4up]
  • 2a. Monte Carlo Methods: Generation of Random Numbers (cont'd) [PDF 4up]
  • 3. Monte Carlo Methods: Generation of Non-Uniform Random Numbers [PDF 4up]
  • 4. Monte Carlo Methods: Quasi-random Numbers [PDF 4up]
  • 5. Monte Carlo Methods: Monte Carlo Integration [PDF 4up]
  • 5b. Monte Carlo Methods: Markov Chain Sampling [PDF 4up]
  • 6. Monte Carlo Methods: MC Data Analysis [PDF 4up]
  • 6b. Monte Carlo Data Analysis: Simulation of Underlying Physical Process [PDF 4up]
  • 7. Cellular Automata [PDF 4up]
  • Lectures. Part 2.

  • 1. Random walks [PDF 4up]
  • 2. Kinetic Monte Carlo [PDF 4up]
  • 2a. Lattice Kinetic Monte Carlo [PDF 4up]
  • 3. Simulation of thermodynamic ensembles [PDF 4up]
  • 4. Simulated annealing [PDF 4up]

  • Exercises

    To be handed in by email to the course assistant, konstantin.avchachovhelsinki.fi

  • [PDF] Exercise 1: Random walks. Xorshift RNG. Python script
  • [PDF] Exercise 2: Kinetic Monte Carlo
  • [PDF] Exercise 3: The Ising model
  • [PDF] Exercise 4: Simulated annealing. Data file 20cities.dat

  • Exercise solutions

    Students' points


    List of course contents: Basics of MC. Part 1

    1. Introduction (1/2 hours)

    2. Monte Carlo - introduction (1 hour)

    3. Generating random numbers (4 hours)

    4. Monte Carlo integration (2-3 hours)

    5. MC simulation of experimental data (2 hours)

    6. Cellular automata (2-4 hours)

    List of contents: MC simulations in physics. Part 2

    1. Random walks: introduction (2 hours)

    2. Kinetic Monte Carlo (2 hours)

    3. MC simulation of ensembles (4 hours)

    4. Simulated annealing (1 hour)

    Course description. Part 2

  • Lecturing time: Spring 2012: Mon 10-12, Thu 10-12. First lecture Monday 12.03.
  • Place: Kiihdytinlab room 115

  • Lecturer: Dr. Flyura Djurabekova
  • Assistant: M.Sc. Konstantin Avchaciov

  • Extent of course: 5 credits

  • Duration: 8 weeks

  • Normal year to be taken: Specialization phase, third year and up.

  • Prerequisites: Mathematics. Knowledge of the Fortran, C programming language.

  • Language: English.

  • Exercises

    Programming and mathematical exercises are given during the course, but not every week. They are graded by the assistant. For the more demanding exercises, more than one week of solution time is given.

    The programming exercises should be preferably solved in an Unix environment, but also solutions written under other environments in strict adherence to the Fortran90, ANSI C (so that they can be compiled anywhere) are acceptable.

  • Evaluation:

    Exercises (50 %)
    Final exam (50 %)

  • Literature:

    Lecture notes.

    Some parts of the material are well described in

    • W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery, Numerical Recipes in C; The Art of Scientific Computing, Cambridge University Press, New York, second edition, 1995
    • M. P. Allen and D. J. Tildesley, Computer Simulation of Liquids, Oxford University Press, Oxford, England, 1989
    • Gould, Tobochnik: An Introduction to Computer Simulation Methods : Applications to Physical Systems, Harvey Gould, et al
    but acquiring one of these is not necessary for the course.


    Background information

  • Course material from 2002
  • Course material from 2004
  • Course material from 2005

  • Proof of the Schrage trick for the Park-Miller generator

  • Standard deviation of mean value

  • Veikko Karimäen aiemman vastaavan kurssin materiaalia

  • The Mersenne twister pages

  • Ising model java applet (with good comments on science)

  • Game of life java applet

  • Xtoys as xtoys.tar package

  • Stephen Wolfram's book on CA's
  • Numerical recipes online
  • Gould and Tobochnik's book: Related material; see especially list of errors!
  • Rand Corp's one million random digits