Overview of Methods in Course

(Left to Right): Avalanche activity cascades in a sandpile automaton; a vortex street formed by flow past a cylinder; and Turing patterns in a reaction-diffusion model. All simulations from the course homeworks; a higher-resolution video may be viewed here

Computational Physics


Materials for UT Austin’s graduate computational physics course, taught in Fall 2022 by William Gilpin.

This course aims to provide a very broad survey of computational methods that are particularly relevant to modern physics research. We will aim to cover efficient algorithm design and performance analysis, traditional numerical recipes such as integration and matrix manipulation, and emerging methods in data analysis and machine learning. Our goal by the end of the class will be to feel comfortable approaching diverse, open-ended computational problems that arise during research, and to be ready to design and share new algorithms with the broader research community.

The class website is located here. If you are enrolled in the course at UT, the syllabus and calendar are here


Homework Assignments

Laboratory Exercises

Lecture Slides and Notes

Additional Notes

Fixes, typos, and improvements

If you find any errors or typos, please open an issue or submit a correction as a pull request on GitHub.

Please let us know if you find these materials helpful, so that we can keep track of the course’s impact, which could potentially help us expand this course’s offering in future years.

Course-related questions are best posted on GitHub as Discussions or Issues on the course repository; for other issues, I be reached via email


Portions of the material in this course are adapted or inspired by other open-source classes, including: Pankaj Mehta’s Machine Learning for Physics Course, Chris Rycroft’s Numerical Recipe’s Course, Volodymyr Kuleshov’s Applied Machine Learning course, Fei-Fei Li’s Deep Learning for Computer Vision course, Lorena Barba’s CFD course and Jim Crutchfield’s Nonlinear Dynamics course


We will primarily use Python 3 with the following packages

  • numpy
  • matplotlib
  • scipy
  • scikit-learn
  • jupyter

For projects and other parts of the class, you might also need

  • ipykernel
  • scikit-image
  • umap-learn
  • statsmodels
  • pytorch
  • jax
  • numba