{'fraction_non_alphanumeric': 0.011025358324145534, 'fraction_numerical': 0.0, 'mean_word_length': 5.34965034965035, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Order of Convergence of Splitting Schemes for Both Deterministic and Stochastic Nonlinear Schrödinger Equations

We first prove the second order convergence of the Strang-type splitting scheme for the nonlinear Schrodinger equation. The proof does not require commutator estimates but crucially relies on an integral representation of the scheme. It reveals the connection between Strang-type splitting and the midpoint rule. We then show that the integral representation idea can also be used to study the stochastic nonlinear Schrodinger equation with multiplicative noise of Stratonovich type. Even though the nonlinear term there is not globally Lipschitz, we prove the first order convergence of a splitting scheme of it. Both schemes preserve the mass. They are very efficient because they use explicit formulas to solve the subproblems containing the nonlinear or the nonlinear plus stochastic terms.