Skip to main content

Lorentz Invariant Phase Space

Project description

Lorentz Invariant Phase Space

CI Lint CI Test Coverage Docs PyPI PyPI Downloads Binder DOI Python

Lips is a Python 3 library that provides a phase-space generator and manipulator that is tailored to the needs of modern theoretical calculations in quantum field theory. At present, the package is designed to handle the kinematics of scattering processes involving an arbitrary number of massless particles. Use cases include:

  1. generation of phase-space points over complex numbers ($\mathbb{C}$), finite fields ($\mathbb{F}_p$), and $p$-adic numbers ($\mathbb{Q}_p$);
  2. generation of spinor strings representing possible kinematic singularities (related to letter of the symbol alphabet);
  3. on-the-fly evaluation of arbitrary spinor-helicity expressions in any of the above mentioned fields;
  4. construction of special kinematic configurations, with efficient, hard-coded solutions available up to codimension 2;
  5. algebro-geometric analysis of irreducible varieties in kinematic space.

Installation

The package is available on the Python Package Index

pip install lips

Alternativelty, it can be installed by cloning the repo

git clone https://github.com/GDeLaurentis/lips.git path/to/repo
pip install -e path/to/repo

Requirements

pip will automatically install the required packages, which are

numpy, sympy, mpmath, pyadic

The algebraic_gemetry submodule requires Singular through the Python interface syngular. Singular needs to be installed manually (e.g. apt-get install singular).

Testing

pytest --cov lips/ --cov-report html tests/ --verbose

Citation

If you found this library useful, please consider citing it

@inproceedings{DeLaurentis:2023qhd,
    author = "De Laurentis, Giuseppe",
    title = "{Lips: $p$-adic and singular phase space}",
    booktitle = "{21th International Workshop on Advanced Computing and Analysis Techniques in Physics Research}: {AI meets Reality}",
    eprint = "2305.14075",
    archivePrefix = "arXiv",
    primaryClass = "hep-th",
    reportNumber = "PSI-PR-23-14",
    month = "5",
    year = "2023"
}

@phdthesis{DeLaurentis:2020xar,
    author = "De Laurentis, Giuseppe",
    title = "{Numerical techniques for analytical high-multiplicity scattering amplitudes}",
    school = "Durham U.",
    year = "2020"
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lips-0.5.1.tar.gz (104.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lips-0.5.1-py3-none-any.whl (104.0 kB view details)

Uploaded Python 3

File details

Details for the file lips-0.5.1.tar.gz.

File metadata

  • Download URL: lips-0.5.1.tar.gz
  • Upload date:
  • Size: 104.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.3

File hashes

Hashes for lips-0.5.1.tar.gz
Algorithm Hash digest
SHA256 cb3b98b70fd271e83216a8e28909df7b679064150efedefccb2bcda5042cb41d
MD5 d23bb94639f73cff76243f500f2a036e
BLAKE2b-256 576e8cd4b21745c003eaab0b4ba43da1cfd292fd63741f68a6c33eb80bc4c03e

See more details on using hashes here.

File details

Details for the file lips-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: lips-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 104.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.3

File hashes

Hashes for lips-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19f1f4e5590d231a4d7f64e0cdddc8c806b886fe6288ddcb55148d6afdc34579
MD5 f25da078f2a5dbc2b9167d29a5ef961a
BLAKE2b-256 07f74ed0b71cc89ba3e7023125bc77e9a93a895c432c733f199c20c6e12f37d9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page