Photonic chip transforms single beam of light into multiple