| With the advent of the big data era,people have set higher requirements for data processing methods.Quantum computing is featured with faster processing capabilities than classical computing on data retrieval and logistics optimization.Currently,the physical realization of quantum computers is still in its infancy,because the verification of quantum algorithms is mostly performed on classical computers,and the characteristic of classical computers executing commands fails to simulate the parallel characteristics of quantum.In this article,a field programmable gate array(FPGA)is adopted to design a quantum simulator and an interface to exchange information with the simulator.Firstly,the current development status of quantum computers at home and abroad is analyzed.To address the shortcomings of the harsh working conditions of quantum computers and the inability of mass popularization,the necessity and significance of studying FPGA quantum simulators are proposed.We give a description on the concepts of qubits,quantum gates,quantum measurements,and the connections of quantum circuit models,laying a foundation for the establishment of simulators;Secondly,the model based on FPGA quantum simulator is analyzed.Aiming at the shortcomings of slow data transmission and high resource consumption of programmable simulator,an FPGA quantum simulator model with coefficient generator,measuring device and vector multiplication structure is introduced.Based on the improved simulator model,the communication module,data verification module,coefficient generation module,matrix multiplication module,random measurement module and LCD display module are also designed.These modules realize the hardware part of the simulator.A host computer application program is designed,which can be used to transmit commands and display results.In this way,the design of the entire simulator is entirely completed.Finally,we analyze the performance of the simulator.The programmability,calculation error and simulation scale of the simulator are verified through performing Deutsch algorithm,Deutsch-Jozsa algorithm,Grover algorithm and QFT algorithms.The results show that the simulator can simulate several algorithms;it enables quantum measurement operations and no more than 5 qubits of algorithm simulation. |