Skip to main content

A software framework for the duck (operator learning) renormalization group.

Project description

Duck - a package for the duck (operator learning) renormalization group

CI codecov

This package is a Python implementation of the duck (operator learning) renormalization group in JAX.

[!NOTE] There was an older implementation of the duck RG in teal, which was used for the first 2 versions of the duck RG theory paper.

[!IMPORTANT] This package is still under development in alpha stage, and the API may change in the future.

Installation

This package is available on PyPI, thus can be installed via pip:

pip install rogerluo-duck

However, we highly recommend using uv to install the package, run the following in your Python project.

uv add rogerluo-duck

Features

  • a simple symbolic system for defining operators
  • a set of differentiable local solvers defined on top of the above symbolic system
  • implementation of the duck RG loss function
  • a set of utilities for training and evaluating the machine learning model in the duck RG

Documentation

The documentation is available at https://rogerluo.dev/duck/.

License

This package is licensed under the Apache License 2.0.

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

rogerluo_duck-0.3.2.tar.gz (123.2 kB view details)

Uploaded Source

Built Distribution

rogerluo_duck-0.3.2-py3-none-any.whl (56.1 kB view details)

Uploaded Python 3

File details

Details for the file rogerluo_duck-0.3.2.tar.gz.

File metadata

  • Download URL: rogerluo_duck-0.3.2.tar.gz
  • Upload date:
  • Size: 123.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rogerluo_duck-0.3.2.tar.gz
Algorithm Hash digest
SHA256 f7bbdc9875896be696d7633536900aa7595fb76aa1c8d77db997bfee70c247a1
MD5 1a55601d64427ff5dbab2d74bae3ab49
BLAKE2b-256 0c784d64fff1afea767915978fcbecea499cbb99e8e5ba9f48bc1ec7476b2d38

See more details on using hashes here.

Provenance

The following attestation bundles were made for rogerluo_duck-0.3.2.tar.gz:

Publisher: release.yml on Roger-luo/duck

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

File details

Details for the file rogerluo_duck-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: rogerluo_duck-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 56.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rogerluo_duck-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c656e8b31a0d6b2692273479a9d67207be3e051b523adcca260b7de67874ec05
MD5 e578254d793625c06b57f54b62ad1132
BLAKE2b-256 2eae8a75cf66aada65c6b9df06627ab7bf7d9363ef0c8b5ac076f95c6f27a2e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rogerluo_duck-0.3.2-py3-none-any.whl:

Publisher: release.yml on Roger-luo/duck

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

Supported by

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