A method for forming a photonic integrated circuit comprising at least three photonic heterogeneous devices, the method comprising: forming, for the at least three heterogeneous devices, at least three respective silicon device waveguides on a silicon semiconductor layer of a silicon-on-insulator wafer substrate ; forming, for each of the at least three heterogeneous devices, a respective material stack made from non-silicon semiconductor wafer substrates comprising different respective non-silicon materials, each material stack including a plurality of nonsilicon device component layers, the plurality of nonsilicon device component layers of each material stack including a top contact layer , a cladding layer , an active layer , and a bottom contact layer (414, 424, 434, 15 514, 524, 534); bonding, for each of the at least three heterogeneous devices, the respective material stack to the respective silicon device component of the silicon-on-insulator wafer substrate , thereby forming a plurality of bonded material stacks on the silicon-on-insulator wafer substrate ; and performing, after bonding the respective materials stacks to the respective silicon device components of the silicon-on-insulator wafer substrate , a shared processing operation to process all of the plurality of bonded non-silicon device component layers to form the at least three heterogeneous devices, wherein the shared processing operation comprises a dry-etch operation, and wherein the compositions and layer thicknesses of the top contact layer , cladding layer , active layer , and bottom contact layer of the plurality of bonded materials stacks are configured such that when the shared processing operation is applied there are simultaneously defined combinations of deep and surface-type ridge structures in the device component stacks. forming, for the at least three heterogeneous devices, at least three respective silicon device waveguides on a silicon semiconductor layer of a silicon-on-insulator wafer substrate ; forming, for each of the at least three heterogeneous devices, a respective material stack made from non-silicon semiconductor wafer substrates comprising different respective non-silicon materials, each material stack including a plurality of nonsilicon device component layers, the plurality of nonsilicon device component layers of each material stack including a top contact layer , a cladding layer , an active layer , and a bottom contact layer (414, 424, 434, 15 514, 524, 534); bonding, for each of the at least three heterogeneous devices, the respective material stack to the respective silicon device component of the silicon-on-insulator wafer substrate , thereby forming a plurality of bonded material stacks on the silicon-on-insulator wafer substrate ; and performing, after bonding the respective materials stacks to the respective silicon device components of the silicon-on-insulator wafer substrate , a shared processing operation to process all of the plurality of bonded non-silicon device component layers to form the at least three heterogeneous devices, wherein the shared processing operation comprises a dry-etch operation, and wherein the compositions and layer thicknesses of the top contact layer , cladding layer , active layer , and bottom contact layer of the plurality of bonded materials stacks are configured such that when the shared processing operation is applied there are simultaneously defined combinations of deep and surface-type ridge structures in the device component stacks. <EOS>