Quantum-Dot Semiconductor Optical Amplifiers: State Space Model versus Rate Equation Model