Duck - a package for the duck (operator learning) renormalization group
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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rogerluo_duck-0.1.0.tar.gz | 120.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rogerluo_duck-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 176.6 kB
Release files / rogerluo_duck-0.1.0.tar.gz
| Download URL | rogerluo_duck-0.1.0.tar.gz |
|---|---|
| Size | 120.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c40afda072aedbfd49a0b60a066bcf428d5d6e0c76cd3799415817b03ffdfbce
|
|
BLAKE2b-256 checksum How to use checksums |
8b7ddc9651356265b5236a56b4481b5d77bd46a1416ebcce98d490d623e91836
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|
Release files / rogerluo_duck-0.1.0-py3-none-any.whl
| Download URL | rogerluo_duck-0.1.0-py3-none-any.whl |
|---|---|
| Size | 56.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02cae51387fe36db67a17b34959ac07e05b49c8e60e9dfd2b6541ab0f56e35c5
|
|
BLAKE2b-256 checksum How to use checksums |
15bd9d5fb06fedb2d65d5ce6cceebfac5ff710397c0090dd85bf9696c823223e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.4
|