In some embodiments, generally including embodiments where the fiber is attached to a chip output-surface with optical glue, the grating is designed to diffract light at an angle (e.g., 25 degrees) that the difference in indexes of refraction between the semiconductor chip (e.g., GaAs) and the glass of the optical fiber refracts the light down the axis of the fiber.