Skip to content

Potatoasad/Computational-Physics-Final-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sampling spheres and spins

Notebooks, documentation for the sampler package can be found in the docs site for this repo

Final Project, Computational Physics, Fall 2023

Aditi Pujar, Asad Hussain, Kody Anderson, Shivan Mittal

Imagine a distribution $\rho(\mathbf{x})$ over the domain $\mathbf{x} \in X \subset \mathbb{R}^n.$ Sampling algorithms are answers to the question: Given that we do not have exact knowledge of the functional form of $\rho,$ can we nonetheless generate samples from $\rho?$ In particular, Markov Chain Monte Carlo algorithm is a sampling algorithm that only requires the knowledge of relative likelihood of two samples $\mathbf{x}_1$ and $\mathbf{x}_2$ drawn from the distribution $\rho,$ i.e. knowledge of ${\rm Likelihood} = \rho(\mathbf{x}_1) / \rho(\mathbf{x}_2)).$ Hamiltonian Monte Carlo algorithm is another such sampling algorithm that further requires the knowledge of (a priori or empirically by differentiable ``code'') the gradient of the likelihood. Numerous Physical problems can benefit from sampling algorithms. These range from (Classical and Quantum) many-body problems to data analysis for large scale Physics experiments (LIGO, CERN).

  1. to package our own Markov Chain Monte Carlo algorithm and existing Hamiltonian Monte Carlo algorithm from blackjax library into a single class interface, and
  2. to demonstrate the ease of use of out interface and the utility of the sampling algorithms via the following examples of,
    1. Phase transition in classical soft-sphere packing problem
      1. Applications to classical error correcting codes
    2. Phase transition in 1D quantum spin Hamiltonians
    3. Black hole parameter estimation using real observatory data from LIGO
    4. Phase transitions in 2D Ising ferromagnets and spin glasses

Plots from our work

Phase transition in soft sphere packing correlation function with lowering temperature



Phase transition in 1D Quantum spin chain with increasing parameter "p" of the Hamiltonian (characterizes the Bell-state property of a local term in the Hamiltonian)

Posterior distribution for the hyperparameters of a population model computed by performing hierarchical inference on samples from every confident LIGO binary black hole detection



Phase transition in spin glasses upon decreasing temperature, reflected in both - the Edwards Anderson Order parameter and the rugged energy landscapes



Phase transition in 2D Ising model upon decreasing temperature

About

Final Project for the Computational Physics course at UT Austin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •