Quantum and classical algorithms for nonlinear unitary dynamics | Synapse