| Due to the characteristics of quantum computing,quantum computer has parallel computing capabilities that far exceed those of classical computers.In today’s era of data explosion,quantum computing has undoubtedly been highly valued by all parties.Quantum qubits and quantum gates are the main information for completing quantum circuit calculations.Quantum gates are used to implement logical operations on quantum qubits and complete quantum calculations.The continuous improvement of quantum algorithms is undoubtedly constantly challenging the efficiency of quantum computing,so studying the optimization of quantum simulation is an important research direction.The research content of this article is mainly divided into the following aspects:1、Quick solution of the unitary matrix of quantum circuitResearch the method of quickly solving the unitary matrix of quantum circuits,and abandon the traditional method of optimizing the continuous multiplication of quantum gate unitary matrix.Starting from the logical effect of the quantum gate unitary matrix on the qubit,the quantum circuit-related information is stored in a two-dimensional array,and the matrix multiplication conversion is converted into data conversion,combined with the method of using the truth table to quickly calculate the unitary matrix of the quantum circuit,and realize the research purpose of calculating the unitary matrix of quantum circuits more efficiently.The algorithm is applied to NCV gate library(including NOT gate,Controlled-V gate,Controlled-V+ gate,CNOT gate,Toffoli gate).2、Realization of fast simulation of quantum circuit based on undirected graph modelGive solutions to efficiently simulate quantum circuits.Explained in detail the Feynman path integral method applied to quantum information-the quantum mechanics path integral method.The Feynman path integral method is a theoretical method to solve the probability problem from one point to another.Combined with the method of converting the quantum circuit to the corresponding undirected graph model,in practical applications,the vertices of the undirected graph represent the quantum state components of the qubits,and the edges of the undirected graph correspond to a quantum gate.Further determine the tensor elements corresponding to the edges of the undirected graph according to the quantum gate unitary matrix,and finally,the quantum mechanics path integral method and the undirected graph model are combined to realize fast simulation of quantum computing.3、Realizing quantum algorithm simulation platformAt the end of this article,the quantum algorithm simulation platform is introduced in detail,and the classical quantum algorithm is used as an example to show how to standardize the input quantum circuit information and operate to obtain the corresponding quantum amplitude probability map and quantum circuit diagram to verify the accuracy of the quantum algorithm simulation platform. |