Quantum well-based waveguide for semiconductor lasers