Skip to main content

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"
}

Metadata

Release files for lips 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lips 0.6.1
File Size Uploaded Provenance Actions
lips-0.6.1.tar.gz 108.5 kB Without provenance Details for lips-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lips 0.6.1
File Interpreter ABI Platform Actions
lips-0.6.1-py3-none-any.whl Python 3 none any Details for lips-0.6.1-py3-none-any.whl

Total release size: 215.4 kB

Release files / lips-0.6.1.tar.gz

Download URL lips-0.6.1.tar.gz
Size 108.5 kB
Tags Source
SHA-256 checksum
How to use checksums
644fe8e812a7c8766e69e200d1f5275a6df65ade6a28c2d9acc38c0215bf7215
BLAKE2b-256 checksum
How to use checksums
d63d44c3f86bb25e4983d028255e161492df468a19179c550dbd92e044fa326e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.3

Release files / lips-0.6.1-py3-none-any.whl

Download URL lips-0.6.1-py3-none-any.whl
Size 106.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
826e5efcf5417cadb442d698a1361541ef598731658852cf1e9f42f548ee9e78
BLAKE2b-256 checksum
How to use checksums
d0b921cf184999de25e8f6786ae15df141a3040f059a9687c94188f4255a624b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.3

Security for lips 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page