A non-transitory computer-readable storage medium, storing a plurality of computer programs, the computer programs, when executed by a clock synchronization system, the clock synchronization system comprising a quantum control processor (QCP) and N digital/analog mutual conversion devices, the QCP comprising a synchronization signal generator and a clock signal generator distinct from the synchronization signal generator, each digital/analog mutual conversion device comprising a frequency conversion module and a signal synchronization module, the signal synchronization module comprising at least one D flip-flop (DFF), N being an integer greater than 1, being configured to perform a signal control method including:
- generating a global synchronization signal by using the synchronization signal generator in the QCP and N reference clock signals by using the clock signal generator in the QCP, each reference clock signal being corresponding to a respective one of the N digital/analog mutual conversion devices;
- for each one of the N digital/analog mutual conversion devices:
- transmitting, by the synchronization signal generator, the global synchronization signal to the frequency conversion module and the signal synchronization module, respectively, in the corresponding digital/analog mutual conversion device;
- transmitting, by the clock signal generator, a respective one of the N reference clock signals to the frequency conversion module;
- performing, by using the frequency conversion module, frequency conversion processing on the received reference clock signal to obtain a target clock signal, and generating a signal synchronization instruction according to the received global synchronization signal;
- transmitting the signal synchronization instruction and the target clock signal to the signal synchronization module by using the frequency conversion module;
- and
- performing, in response to the signal synchronization instruction and based on the global synchronization signal, signal synchronization on the target clock signal by using the signal synchronization module through the at least one DFF to obtain a synchronized clock signal.