The dissipative property of a cubic non-linear Schrödinger equation