Metadata-Version: 2.3
Name: jaxlatt
Version: 0.0.3
Summary: Add your description here
Author: Rodrigo Calderon
Author-email: Rodrigo Calderon <calderon.cosmology@gmail.com>
Requires-Dist: jax>=0.8.1
Requires-Dist: jaxlib>=0.8.1
Requires-Dist: h5py>=3.10.0
Requires-Dist: matplotlib>=3.10.7
Requires-Dist: numpy>=2.3.5
Requires-Dist: rich>=13.9.4
Requires-Dist: scipy>=1.16.3
Requires-Dist: typer>=0.20.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown

<p align="center">
  <img src="docs/assets/logo-gh.png" alt="JaxLatt Logo" width="600"/>
</p>

[![image](https://img.shields.io/pypi/v/jaxlatt.svg)](https://pypi.python.org/pypi/jaxlatt)
[![image](https://img.shields.io/badge/arXiv-260X.0XXXX%20-red.svg)](https://arxiv.org/abs/260X.0XXXX)
[![image](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/rcalderonb6/JaxLatt/blob/main/LICENSE) 

`JaxLatt` is a high-performance lattice field theory simulation library built on JAX, designed for researchers in cosmology and high-energy physics. It provides efficient implementations of scalar and gauge field dynamics on discrete lattices, leveraging JAX's automatic differentiation and GPU acceleration capabilities.

## Example: Scalar Field Evolution in 2D

Let's consider the simple example of a 2D scalar field evolving under a double-well potential:

$\mathcal{L} = \frac{1}{2} \partial_\mu \varphi \partial^\mu \varphi - V(\varphi)$ , where $V(\varphi)= -\frac12\mu ^2 \varphi ^2 + \frac{\lambda}{4} \varphi ^4$

<p align="center">
  <!-- <img src="examples/animations/field_2d_evolution.gif" alt="2D Field Evolution" width="600"/> -->
  <img src="examples/animations/dark_phase_transition_field_higgs2d.gif" alt="2D Field Evolution" width="600"/>
</p>

This animation shows the evolution of a 2D scalar field undergoing a phase transition, visualized as a heatmap. The simulation captures domain formation and topological defects, demonstrating JaxLatt's capabilities in handling complex field dynamics efficiently.