= Solution
Let $H_h$ be the periodic centered second-difference matrix minus the real diagonal matrix containing $V(x_m)$. It is a <Hermitian matrix>, so the <method of lines>[semidiscrete system] is
$$
\mathbf u'=-iH_h\mathbf u
$$
with a <skew-Hermitian matrix> generator. Consequently
$$
\frac d{dt}\|\mathbf u(t)\|_2^2
=2\operatorname{Re}\langle\mathbf u,-iH_h\mathbf u\rangle=0.
$$
Its exact propagator $e^{-itH_h}$ is a <unitary matrix>, and therefore the semidiscretization is stable in the discrete $2$-norm, uniformly for all times and mesh sizes.
Back to article page