A photonic integrated circuit (PIC) is grown by epitaxy on a substrate. The PIC includes at least one active element, at least one passive element, and a dielectric waveguide. The at least one active and passive elements are formed over the substrate and are in optical contact with each other. The dielectric waveguide is formed over the substrate, and is in optical contact with the at least one active and passive elements. The at least one active and passive elements each are formed using a III-V compound semiconductor material.