Computational physics Quantum scattering with a spherically symmetric potential The variational method for the Schrödinger equation The Hartree Fock method Density functional theory Solving the Schrödinger equation in periodic solids Classical equilibrium statistical mechanics Molecular dynamics simulations Quantum molecular dynamics The Monte Carlo method Transfer matrix and diagonalisation of spin chains Quantum Monte Carlo methods The finite element method for partial differential equations The lattice Boltzmann method for fluid dynamics Computational methods for lattice field theories High performance computing and parallelism Numerical methods Random number generators First published in 2007 this second edition describes the computational methods used in theoretical physics. New sections were added to cover finite element methods and lattice Boltzmann simulation density functional theory quantum molecular dynamics Monte Carlo simulation and diagonalisation of one dimensional quantum systems. It covers many different areas of physics research and different computational methodologies including computational methods such as Monte Carlo and molecular dynamics various electronic structure methodologies methods for solving partial differential equations and lattice gauge theory. Throughout the book the relations between the methods used in different fields of physics are emphasised. Several new programs are described and can be downloaded from www.cambridge.org 9781107677135. The book requires a background in elementary programming numerical analysis and field theory as well as undergraduate knowledge of condensed matter theory and statistical physics. It will be of interest to graduate students and researchers in theoretical computational and experimental physics