While quantum computing provides an exponential advantage in solving linear differential equations, there are relatively few algorithms for nonlinear equations. In our work, based on the homotopy perturbation method, we propose a algorithm $n$-dimensional dissipative ordinary equations (ODEs). Our first converts original ODEs into other which can be embedded finite-dimensional ODEs. Then solve ...