This paper analyzes the relationship between initialization error and recall of a specific memory in the Grover algorithm for quantum database search. It is shown that the correct memory is obtained with high probability even when the initial state is far removed from the correct one. The analysis is done by relating the variance of error in the initial state to the recovery of the correct memory and the surprising result is obtained that the relationship between the two is essentially linear.
Quantum algorithms (like Shor's and Grover's) require the state of the quantum register to be precisely defined. Since any engineered system is bound to have errors, this represents what has been called the initialization problem [1] of quantum computing. In order for a quantum algorithm to run properly, the initialization error must be minimized and the influence of the residual error on the performance of the algorithm must be determined to estimate the level by which the performance will fall short of expectation. This article considers Grover's data base search algorithm [2]- [4] for further characteristics of its performance. It has been argued that there are additional conditions that need to be kept in mind while considering its suitability [5]. Quantum data base search also has implications for how human memory works [6]- [9] and related to the walk of a quantum particle on a graph [10].
Here we determine the impact of the initialization error on the performance of the Grover algorithm for data base search [2]. We find an essentially linear relationship between the error variance associated with the initial state and the probability of finding the correct memory. The paper also sheds light on the idea of randomness in a quantum state.
We assume that there is an initial vector that is able to estimate the quality of the initial sate since the actual specific state cannot be measured. One can only assume a specific error model that leads to the actual state to be different from the ideal one, which in both the Shor and the Grover algorithms should be the state where each cell of the register is in the diagonal state.
Let a i be the probability amplitudes of the elements that constitute the state. We assume that the values are real and we use the constant k to normalize the sum of the squares of the components to unit.
The initial vector matrix is designed such that the summation of the squares of all elements is unity. While for calculating the variance of the matrix, one of the necessary conditions is that the summation of all elements must also be equal to unity. Since the root of summation of squares of all elements in an initial vector is unity, for a N*1 initial state vector, µ = k(a 1 + a 2 + a 3 +……. + a N) / N, √(a 1 2 + a 2 2 + a 3 2 + ……. + a N 2 ) = 1
Hence the variance will be, σ 2 = 1/N Σ (ka i -Σ ka i /N) 2 (1)
To maximize the variance, (a 1 + a 2 + a 3 +……. + a N ) 2 /N 2 = 0, hence the maximum variance
The maximum value of k will be 1 and hence σ max 2 = 1/N.
The above equation holds true only if the elements of the initial vector are real numbers.
Our simulations corroborate that the variance increases or approaches the maximum value, the probability decreases and reaches a minimum of about 50% near σ max 2 .
We now use Markov’s inequality, according t which, if X is a nonnegative random variable and a > 0, then
Using this equation for the variance of initial vector matrix, since,
We can now write,
Consider N unsorted items in a database, out of which just one item is to be retrieved. By reviewing the item, it is easily possible to guess whether the item satisfies the required condition or it is the exact item which is to be looked for. The main drawback of the search is that the database is unsorted and hence there is no easier way in classical algorithm to find the specific item than by reviewing each item one at a time. Due to its unorderly state, the user has to keep track of the items reviewed and proceed to next item in the database so that the same item is not reviewed again. Therefore, the user will have to examine around N/2 items before reaching the looked-for item. The classical algorithm will take O(N) steps to reach to the desired item.
Grover’s algorithm requires O(√N) steps. A system has N=2 n (S 1 , S 2 ,…..,S n ) states out of which only one state satisfies the condition C(S v )=1, while all others states have C(S)=0. The problem is to search for the state S v. The algorithm works as follows:
Step 1: Set up the problem.
Initialize the system to the distribution (1/√N, 1/√N,……,1/√N) = (a 1 ,a 2 ,…..,a N ) where the amplitude is same for each of the N states and the root of summation of the squares of all elements is unity. This is the Initial vector, which essentially is a device having the ability to recognize the solutions to search problems. Initial state of initial vector is |0>.
Step
Grover algorithm has huge potential benefits when searching very large, disorderly data sets. But in practical systems, the initial vector will not be as accurate as defined in the algorithm. There will always be dissimilarities between all elements, although the condition of root of sum of squares of all elements being one will be preserved.
Suppose that an initial vector is generated randomly and then a specific item is to be searched for in a data base then how would that affect the probability of finding the item. This means that instead of having the initial s
This content is AI-processed based on open access ArXiv data.