An embodiment includes a method and device for forming a multi-qubit chip. The method includes forming a plurality of qubits on a chip, where each qubit comprises a Josephson junction. The method includes annealing one or more Josephson junctions. Annealing is performed by one or more of a plurality of laser emission sources on a planar lightwave circuit. Each of the laser emission sources is located above each qubit.