An apparatus for use in calibrating a photonic integrated circuit comprising an optical phased array, the optical phased array comprising multiple unit cells, each unit cell comprising (i) an antenna element configured to transmit or receive optical signals and (ii) a modulator configured to modify phases of the optical signals, the apparatus comprising:
- at least one processing device configured to:
- identify center wavelengths of the modulators in the optical phased array;
- cause ultraviolet illumination to be directed onto at least a subset of the unit cells simultaneously in order to change the center wavelengths of at least a subset of the modulators in the optical phased array;
- and
- monitor changes to the center wavelengths of at least the subset of the modulators in the optical phased array.