Skip to main content

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.

Metadata

Release files for rogerluo-duck 0.3.0

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

Source distribution (sdist)

Source distribution for rogerluo-duck 0.3.0
File Size Uploaded
rogerluo_duck-0.3.0.tar.gz 122.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rogerluo-duck 0.3.0
File Interpreter ABI Platform
rogerluo_duck-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 179.1 kB

Release files / rogerluo_duck-0.3.0.tar.gz

Download URL rogerluo_duck-0.3.0.tar.gz
Size 122.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0fa1225c417e0f5b3f82fc232a20638c5413970925b74c3b482805a98260c9aa
BLAKE2b-256 checksum
How to use checksums
6374f3a13bdd8fa3a0c0e35e66f3b5358bf37a60f5c3f63a37788fd3662b5597
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.

Transparency log

Release files / rogerluo_duck-0.3.0-py3-none-any.whl

Download URL rogerluo_duck-0.3.0-py3-none-any.whl
Size 56.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5526c1744d09a87acb666fdc12f9e4ed000f923db6c595b596dc04dfe416e72e
BLAKE2b-256 checksum
How to use checksums
a6b87942b2a2f0fdd5c05b0a58161a1b1d027fd9969c82866893fa95788d7ed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 4, 2024.

Transparency log

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

This release

0.3.0 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.0

2 release 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