IEEE International Conference on Consumer Electronics - Taiwan (ICCE-Taiwan)
A Quantum State Preparation Method Based on Gram-Schmidt Decomposition
Su‐Ling Lee, Chien‐Cheng Tseng
Abstract
Quantum state preparation (QSP) refers to the process of initializing a quantum circuit into a specific quantum state, which serves as the starting point for several quantum algorithms. In this article, a Gram-Schmidt decomposition (GSD) method is proposed to address the QSP problem. The method involves the following five steps: First, the first column vector of the identity matrix is replaced with the unit-norm data vector to construct an initial matrix. Second, the initial matrix is decomposed into the product of a unitary matrix and an upper triangular matrix using the GSD method. Third, the transpile tool from IBM Qiskit is employed to design a quantum circuit, ensuring that the input and output state vectors correspond to the relationship defined by the obtained unitary matrix. Fourth, when the input state vector of the quantum circuit is set as the zero vector, the output state vector corresponds to the desired data vector to be prepared. Finally, a numerical example using the Iris flower dataset is provided to demonstrate the effectiveness of the proposed method.