Solution of the inhomogeneous, viscous Burgers equation, possibly with linear damping, using a direct application of the Carleman method combined with Euler's method. The result is compared with solutions from inbuilt MATLAB solvers.
This script in its current state should reproduce the results in https://arxiv.org/abs/2011.03185, "Efficient quantum algorithm for dissipative nonlinear differential equations" by Jin-Peng Liu, Herman Øie Kolden, Hari K. Krovi, Nuno F. Loureiro, Konstantina Trivisa, Andrew M. Childs.
Code written by Herman Øie Kolden in 2021.