[Paper Review] Classical simulation of quantum algorithms using the tensor product representation
This paper presents a classical simulation method for quantum circuits using tensor product state representation based on the density matrix renormalization group (DMRG) technique. By efficiently handling one- and two-qubit gates—including generalized Toffoli and projective measurements—it enables accurate simulation of Grover’s algorithm on classical computers with up to several tens of qubits, achieving computational complexity comparable to quantum computers when the number of solutions is small.
Using the tensor product representation in the density matrix renormalization group, we show that a quantum circuit of Grover's algorithm, which has one-qubit unitary gates, generalized Toffoli gates, and projective measurements, can be efficiently simulated by a classical computer. It is possible to simulate quantum circuits with several ten qubits.
Motivation & Objective
- To develop a classical simulation method for quantum circuits that efficiently handles complex gate operations and measurements.
- To enable simulation of large-scale quantum circuits with several tens of qubits using classical computing resources.
- To demonstrate the feasibility of simulating Grover’s algorithm with generalized Toffoli gates and projective measurements on classical hardware.
- To analyze the computational complexity of the simulation method and compare it with quantum computation performance.
- To provide a practical tool for studying quantum circuits under decoherence and operational errors.
Proposed method
- The method uses a tensor product state representation where a quantum state is decomposed into L tensors, each associated with a qubit and entanglement variables between neighboring qubits.
- It employs a graphical representation of tensors (triangles for tensors, circles for qubit indices, squares for entanglement indices) with Einstein summation convention for contractions.
- The simulation computes inner products and state evolutions via sequential contraction of tensors, with computational cost scaling as O(Lm³) per operation, where m is the maximum bond dimension.
- Generalized Toffoli gates (Ck-NOT) are applied directly without decomposition into elementary gates, preserving efficiency.
- Projective measurements are simulated probabilistically by computing qubit expectation values and sampling outcomes using random number generation.
- The method leverages the DMRG framework to maintain low computational cost even for entangled states by truncating the entanglement space.
Experimental results
Research questions
- RQ1Can Grover’s algorithm be efficiently simulated on a classical computer using tensor product state representation?
- RQ2How does the computational complexity of the simulation scale with the number of qubits and the number of solutions?
- RQ3To what extent can generalized Toffoli gates be efficiently incorporated into the simulation without decomposition?
- RQ4What is the relationship between the bond dimension m and the number of solutions t in the simulation?
- RQ5Can this method simulate quantum circuits with decoherence and operational errors effectively?
Key findings
- The simulation of Grover’s algorithm using the tensor product state method achieves computational complexity O(√N t³.⁵ log₂N), which is comparable to the quantum algorithm’s O(√N) complexity when t is small.
- The bond dimension m is bounded by m ≤ t + 1, indicating that the simulation cost scales moderately with the number of solutions.
- The method successfully simulates Grover’s algorithm up to n = 35 qubits on a classical computer, with execution time scaling as A√N log N, consistent with theoretical predictions.
- The amplitude evolution of the marked state matches the analytical solution |sin((2k+1)θ/2)|²/t, confirming the simulation’s accuracy.
- The memory requirement scales as O(t² log₂N), making the method feasible for circuits with a moderate number of solutions.
- The method enables efficient simulation of quantum circuits with one- and two-qubit gates, including projective measurements and generalized Toffoli gates, without gate decomposition.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.