Skip to main content
kUPS
kUPS demo

A toolkit for building high-performance molecular simulations on JAX

kUPS provides composable, differentiable primitives — samplers, potentials, and propagators — with hardware acceleration on CPU, GPU, and TPU.

Documentation | Quick Start | Features | Examples

License Python JAX


Installation

Standard Installation
pip install kups
GPU Support
pip install kups[cuda]
Development
git clone https://github.com/cusp-ai-oss/kups.git
cd kUPS
uv sync

Quick Start

[!TIP] The repository includes example applications built with kUPS in the examples/ directory.

Monte Carlo Simulation (GCMC)
cd examples
kups_mcmc_rigid mcmc_rigid.yaml
Molecular Dynamics (Lennard-Jones)
cd examples
kups_md md_lj_argon_nvt.yaml

Features

Simulation Methods

  • Monte Carlo — NVT and GCMC ensembles with translation, rotation, reinsertion, and exchange moves
  • Molecular Dynamics — NVE, NVT, NPT ensembles
  • Geometry Optimization — FIRE and L-BFGS relaxation

Force Fields & Potentials

  • Lennard-Jones potential
  • Coulomb interactions (Ewald summation)
  • Harmonic bonds and angles
  • Morse potential
  • MACE and UMA ML force fields

Core Capabilities

  • Composable — shared propagator interface; methods and potentials snap together freely
  • Batched — run thousands of independent simulations as vectorized computations

Performance & Integration

  • GPU-native — JIT-compiled on CPU, GPU, and TPU with no code changes
  • Differentiable — full automatic differentiation via JAX
  • PyTorch interop — bring PyTorch models into JAX via Tojax

Documentation

Full documentation is available at cusp-ai-oss.github.io/kUPS.

Building docs locally

To build the docs locally run ./docs/scripts/build.sh, which executes and renders all documentation notebooks and generates API pages in markdown.

./docs/scripts/build.sh           # build into site/
./docs/scripts/build.sh --serve   # serve with live updates on http://127.0.0.1:8000

Citation

If you use kUPS in your research, please cite:

@software{kups2026,
  author = {Gao, Nicholas
    and K{\"o}hler, Jonas
    and Hanke, Felix
    and Ramanan, Anita
    and Moubarak, Elias
    and Morrow, Joe
    and de Haan, Pim
    and Openshaw, Hannah
    and Welling, Max
    and CuspAI Team},
  title = {kUPS - a universal particle simulation toolkit},
  year = {2026},
  url = {https://github.com/cusp-ai-oss/kups}
}

License

Apache License 2.0 — see LICENSE.

Download files

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

Source Distribution

kups-1.0.4.tar.gz (313.5 kB view details)

Uploaded Source

Built Distribution

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

kups-1.0.4-py3-none-any.whl (424.3 kB view details)

Uploaded Python 3

File details

Details for the file kups-1.0.4.tar.gz.

File metadata

  • Download URL: kups-1.0.4.tar.gz
  • Upload date:
  • Size: 313.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for kups-1.0.4.tar.gz
Algorithm Hash digest
SHA256 c28a8803d298ecfa661672dff07664470e9d3248a9afd732adb489b4fe5a0821
MD5 973a130be85fcf8eca49de2cb67d34ae
BLAKE2b-256 22f1d4f6118e46a6f4f31b8d3cae8df10c094ce1ba6983c573506afdb9396b38

See more details on using hashes here.

Provenance

The following attestation bundles were made for kups-1.0.4.tar.gz:

Publisher: release.yaml on cusp-ai-oss/kUPS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kups-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: kups-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 424.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for kups-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 668e051cd9138eb8ea3b409c0653dfc99860a384671c89b6da19e55977b9b162
MD5 f993534eb22fee18ae9cb6726c9aa5a9
BLAKE2b-256 5d47e4815ac1e5b779942babb3cf41dee464561e08b879f8c61c72a1fab432cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for kups-1.0.4-py3-none-any.whl:

Publisher: release.yaml on cusp-ai-oss/kUPS

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

1.0.5

2 files

This release

1.0.4 This release

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0.post1

2 files

1.0.0

2 files

0.1.1

2 files

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