#9 · Primary category: Scientific Computing & Data Notebooks
neurodiffeq
A library for solving differential equations using neural networks based on PyTorch, used by multiple research groups around the world, including at Harvard IACS.
Project last updated:04/22/26
GitHub Stars
789
Forks
106
Contributors
22
License
MIT
Why we included this project
Solving a differential equation numerically usually means laying down a grid and stepping through it, which gets awkward when you want the solution to plug straight into a PyTorch training loop. NeuroDiffEq takes a different route: you give it the equation plus its initial or boundary conditions, and it trains a neural network to approximate the solution directly. The API stays small, you define the system as a Python function, choose a network and condition type, and a solver hands back a callable solution object you can evaluate at any point. It covers ODE systems like Lotka-Volterra and 2D PDEs such as Laplace's equation, and it can also handle solution bundles and reverse problems, so it is not limited to textbook cases. The project is already used by research groups including Harvard's IACS, and teams working in PyTorch will find it a natural fit when they want a smooth, continuous approximation rather than a gridded numerical result.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
julia
The Julia Programming Language
root
The official repository for ROOT: analyzing, storing and visualizing big data, scientifically
deepmd-kit
A deep learning package for many-body potential energy representation and molecular dynamics
Enzyme
High-performance automatic differentiation of LLVM and MLIR.
PhiFlow
A differentiable PDE solving framework for machine learning