Solving quantum-inspired dynamics on quantum and classical annealers