Symbolic Computation in Theoretical Physics with Python
Physics
Computational Physics
Part 1: Open-source libraries
Introduction
Symbolic computation simplifies complex equations and helps solve problems in various fields. Python and open-source tools like SageMath make it easier to work on quantum field theory, general relativity, and beyond.
Main libraries
- SageMath A comprehensive system for algebra, calculus, and numerical analysis. It’s widely used for symbolic computation in physics.
- Cadabra A tool for tensor calculations, especially in general relativity. It simplifies complex tensor equations.
- EinsteinPy A Python library for general relativity, with tools to work with Einstein’s equations and relativistic phenomena.
Other libraries
- PyRate
- A Python library for the computation of renormalization group equations for general, non-supersymmetric gauge theories.
- munuSSM
- A Python package for studying the phenomenology of the μ-from-ν Supersymmetric Standard Model (μνSSM).
- Wilson
- A framework for effective field theory calculations in lattice gauge theory.
- Flavio
- A Python library focused on flavor physics, studying mesons and baryons.
- TorchPhysics
- A Python library of deep learning methods for solving differential equations.
- PyFeyn
- A Python library for generating and visualizing Feynman diagrams, used in quantum field theory.