Write the system in the form

with

:
The matrix
s approximates the second derivative periodic on

on the grid
x:
Propagate the solution of

using a splitting

:
Plot the solution and 10 times the error from the solution of the cubic Schrödinger equation: