The theory of ultrafast nonlinear interferometer which is a single-arm interferometer based on a semiconductor laser amplifier is described in Jones matrix. The device is suitable to be a demultiplexer in future optical time-division-multiplexing systems, which utilizes the phase shift induced by the refractive index nonlinearities of SLA.