Time-Implicit Differentiable PDE Solvers in JAX.
Installation • Quickstart • Design • Features • Documentation • Background
🚨 This is a pre-release for me to cite in my dissertation. It is based on code from the PRDP paper and Emulator Superiority Paper slightly rewritten and enhanced. Please check back end of May 2026 for a full release with extended features, documentation, and examples.
Picardax is a sister project to
Exponax (which provides explicit and
exponential time steppers). Where Exponax sidesteps nonlinear solves entirely,
Picardax embraces them: it solves the implicit system arising from theta-method
(and similar) time discretizations using iterative nonlinear solvers (Picard
iteration, Newton's method) that themselves rely on iterative linear solvers
(CG, GMRES, BiCGStab). Built on JAX and
Equinox, every solver is
automatically differentiable, JIT-compilable, and GPU/TPU-ready.
Installation
pip install picardax
Requires Python 3.10+ and JAX 0.4.13+. See the JAX install guide.
Quickstart
Use a convenience stepper for common PDEs:
import picardax
from picardax.periodic.stepper import Diffusion
stepper = Diffusion(
num_spatial_dims=1,
domain_extent=1.0,
num_points=64,
dt=0.01,
diffusivity=0.01,
)
u_next = stepper(u)
Or assemble components manually for full control:
from picardax import CG, Picard, Stepper, ThetaResiduum
from picardax.periodic import CollocatedDerivatives
from picardax.periodic.rhs import Diffusion
derivatives = CollocatedDerivatives(
num_spatial_dims=1, num_points=64, domain_extent=1.0
)
rhs = Diffusion(derivatives=derivatives, diffusivity=0.01)
residuum = ThetaResiduum(rhs=rhs, theta=0.5, dt=0.01)
solver = Picard(linear_solver=CG(), maxiter=10, tol=1e-6)
stepper = Stepper(residuum=residuum, solver=solver)
u_next = stepper(u)
# Diagnose convergence
n_iters = stepper.diagnose(u)
errors = stepper.get_error_iterates(u)
Design
TODO
Features
TODO
Documentation
Documentation is available at fkoehler.site/picardax.
Background
TODO
Related
TODO
License
MIT, see here
fkoehler.site · GitHub @ceyron · X @felix_m_koehler · LinkedIn Felix Koehler
Metadata
Release files for picardax 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| picardax-0.0.2.tar.gz | 80.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| picardax-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 107.0 kB
Release files / picardax-0.0.2.tar.gz
| Download URL | picardax-0.0.2.tar.gz |
|---|---|
| Size | 80.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee79fc4e65da9342a332b736cdd99940c06dd47c404c9d5faa85520b0a933d20
|
|
BLAKE2b-256 checksum How to use checksums |
1ea4a30624d76b2e160cfa2aa7b01b33387837fe46e79c74fff847de8405d403
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 11, 2026.
Transparency logRelease files / picardax-0.0.2-py3-none-any.whl
| Download URL | picardax-0.0.2-py3-none-any.whl |
|---|---|
| Size | 26.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
452242767ab3705278d88ddd7245875d5833ea7a0c04fc58c8ad7b3cd0e566b4
|
|
BLAKE2b-256 checksum How to use checksums |
ae4055a5d85bb78161476015399be5c45160a2aa57b7526647bdfc1f0dfc0517
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Apr 11, 2026.
Transparency log