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.2.2

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.2.2
File Size Uploaded
rogerluo_duck-0.2.2.tar.gz 123.0 kB Details

Built distribution (wheel)

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

Total release size: 179.1 kB

Release files / rogerluo_duck-0.2.2.tar.gz

Download URL rogerluo_duck-0.2.2.tar.gz
Size 123.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c93b739834f9f1321d017efe3a0083a0a6d53dc337008f8f4260ba474d055fbb
BLAKE2b-256 checksum
How to use checksums
6ef305b08622bf87d2b8e28818cd620b05541c05091e7834c0a733a2dc656f11
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 3, 2024.

Transparency log

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

Download URL rogerluo_duck-0.2.2-py3-none-any.whl
Size 56.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9ccaeba4702e8722a17c315c9679f036a5dc716b6ea660b1ae889f472794e38
BLAKE2b-256 checksum
How to use checksums
21b870cd3f3c2d8043bd2d0fd1b06c89267413c5a0315e6c62a87d20b21e79be
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 3, 2024.

Transparency log

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

This release

0.2.2 This release

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