Research Article | Open Access
Hui Li, Zhanzhan Zhang, "Research on Palmprint Identification Method Based on Quantum Algorithms", The Scientific World Journal, vol. 2014, Article ID 670328, 8 pages, 2014. https://doi.org/10.1155/2014/670328
Research on Palmprint Identification Method Based on Quantum Algorithms
Quantum image recognition is a technology by using quantum algorithm to process the image information. It can obtain better effect than classical algorithm. In this paper, four different quantum algorithms are used in the three stages of palmprint recognition. First, quantum adaptive median filtering algorithm is presented in palmprint filtering processing. Quantum filtering algorithm can get a better filtering result than classical algorithm through the comparison. Next, quantum Fourier transform (QFT) is used to extract pattern features by only one operation due to quantum parallelism. The proposed algorithm exhibits an exponential speed-up compared with discrete Fourier transform in the feature extraction. Finally, quantum set operations and Grover algorithm are used in palmprint matching. According to the experimental results, quantum algorithm only needs to apply square of operations to find out the target palmprint, but the traditional method needs times of calculation. At the same time, the matching accuracy of quantum algorithm is almost 100%.
Biological recognition technology is more and more important in this modern society . Palmprint as a new biometric feature has several advantages compared to other available features: low-resolution images can be used, low cost capture devices can be used, it is very difficult or impossible to fake a palmprint, and the line features of the palmprints are stable, and so forth . Zhang et al. summarized and compared the common palmprint recognition algorithms . Jing et al. proposed an optimal subset-division based discrimination (OSDD) approach to enhance the classification performance of discriminant analysis technique . It employs the kernel -means algorithm to divide the sample set in the kernel space and obtains the nonlinear projection transformation. Guo et al. presented a study on feature band selection by analyzing hyperspectral palmprint data (520–1050 nm) . Their research could be used as the guidance for designing new online multispectral palmprint systems. Palmprint recognition includes three important steps: palmprint preprocessing, feature extraction, and matching. Line feature extraction and line matching are proposed to detect whether a couple of palmprints are from the same palm. General recognition process has been shown in Figure 1.
Quantum computing and quantum information is a perfect product which combines quantum mechanics theory and classical computing theory. Quantum algorithm can solve some classical nonpolynomial problems in polynomial time and has many advantages of the superposition, coherence, and entanglement of the quantum state. So far, the most representative quantum algorithms are the large prime numbers factorization algorithm proposed by Shor  and the quantum searching algorithms in database proposed by Grover  in 1997. Grover algorithm is the kind of quantum searching method which can search a particular element in an unsorted database. This method can exponentially speed up the searching speed. Applying quantum algorithms to image processing is still in the stage of development; studies show that it is feasible to use quantum information and quantum computation in the image processing. Vlasov et al.  proposed a simple model which applied quantum computing method in the image recognition in 1997. In 2003, Schutzhold  pointed out that the specific mode could be identified and searched from the macrostructure images on a quantum computer. In May 2006, Pang et al.  proposed an algorithm which can successfully check out the best matching pattern between input image and sample collection. Subsequently, Pang [11, 12] proposed a series of quantum image compression algorithm. In this paper, quantum algorithms are used in the recognition steps including filtering processing, feature extraction, and palmprint matching. Every application step has been experimented and analyzed. According to the experiment results, applying quantum algorithm to palmprint recognition can decrease the numbers of repetition and raise the probability of success.
2. Palmprint Filtering Processing Based on Quantum Adaptive Median Filtering Algorithm
Before palmprint filter, an original palmprint is needed to be segmented and normalized. A palmprint is extracted from palmprint database which is shown in Figure 2. The palmprint after segmentation and normalization is shown in Figure 3.
Traditional gray pretreatment methods include histogram equalization, median filter, mean filter, and Gaussian filter . In this paper we propose a quantum adaptive median filtering algorithm on palmprint pretreatment. Based on quantum measurements and collapse tenet, median filtering algorithm is applied on the framework of the quantum signal processing. It is an adaptive median filter because it can adaptively adjust the neighbor size and shape; it is based on the local features of translational position of operation template. The size is the number of elements and the shape is the distribution of elements.
For a normalized digital palmprint image , stands for the pixel gray value of this palmprint at the position of . At the same time and , respectively, denote the probability when the pixel gray-scale value is 1 and 0. Palmprint gray values of 1 and 0 can be represented by and ; the quantum bit form of the image is Traditional filter window can be expressed as the following equation: where and represent the -axis and -axis coordinates of the image. It can be translated into quantum bit form as where is transformed as and . We use a quantum Hadamard operation  in each pixel; the quantum Hadamard operation is The operated results are where The overall effect of formula (1) on formula (6) is In other words, the gray values which are 1 and 0 in the traditional palmprint window are converted to After all of the operations, the distribution of gray range in the palmprint image is compressed. It is conducive to generate the median operator template.
Then of numbers are randomly generated; if , then in formula (5); else . Then we can get the readjusted binary window . Quantum adaptive median filter can be expressed as where and belong to and are the pixels located on - and -axes in binary window . Figures 4 and 5 are the comparison figures which are based on the filtering effect of adaptive median filtering algorithm and traditional adaptive median filtering algorithm.
Obviously, by using quantum adaptive median filtering algorithm, not only the image details can be better preserved but also the filtering ability is improved. Next we apply the binarization processing and pixel flip operation to filtered palmprint in order to benefit from the feature extraction.
3. Palmprint Feature Extraction Based on Quantum Fourier Transform
Figure 6 shows a palmprint image extracted after binarization figure ( dimensions) which has a lot of black spots and white dots after amplification; all white dots form a pattern or image. Our purpose is to extract the characteristic of fingerprint image, composed of all the white dots to match operation.
Traditional feature extraction method is mainly based on discrete Fourier transform. For a given dimension the traditional discrete Fourier transform  is a linear operator on mapping to , where The quantum Fourier transform (QFT) algorithm can be obtained from the traditional discrete Fourier transform  which is QFT can be used in novel image encryption and decryption , where the quantum bit numbers of the quantum state are , is a unitary operator, and QFT is a -dimensional unitary transformation [18, 19]. The effect of (11) is to transform a unit quantum state into a superposition state. After once QFT we can get multiple quantum states. Some coefficients quantum states are negative number and the others are positive number. The result of amplitude distribution shows significant concentration. When we measure the quantum state and then the state collapses, we can produce a better probability of success. Then we use QFT method to extract the palmprint feature.
The dimension of the filtered palmprint is ; we need to build numbers of quantum registers; elements in quantum registers are quantum bits on and are -dimensional complex column vectors, and the location of the whiter point can be expressed by the coordinates of and . Let ; are the numbers of white points in each line, and . All the steps of our algorithm are as follows.
A quantum initial state is constructed which expresses the locations of all the white points in palmprint as where is the proportion of the white spot accounting for all pixels and is the white spots divided by the total number of black and white dots; then the QFT is applied to the state : Formula (13) includes items after being expanded. After comparing with formula (10) and formula (13), we can find out the difference between traditional Fourier transform and QFT: traditional method is unitary transformation on -dimensional Euclidean space, QFT is unitary transformation on -dimensional space, and computation method of traditional method is serial computation, but QFT is parallel computing; complex vector has become one row of the quantum state matrix which facilitates high-speed processing. If we apply traditional feature extraction method on a palmprint image, the amount of computation will be very large. In this paper, we use the parallel computing features of the quantum algorithm; the numbers of calculations can be completed through using one time of Fourier transform operation. Compared with traditional algorithm, the calculation speed of our method shows exponential improvement. By using formula (13) in Figure 6, Let ; transform formula (13) to where is the additional phase. Finally, formula (13) is measured and the probability state is selected which is . represents the positions of all white points, so we extract all the positions of white points of palmprint, and then we can reconstruct the normalization grayscale of palmprint. Then we can extract the characteristic parameters and finish the feature extraction step.
4. Palmprint Matching Algorithm Based on Grover Algorithm and Quantum Set Operations
4.1. Palmprint Matching Processing
Palmprint feature matching algorithm matches between identifying palmprint characteristics and registered palmprint characteristics in signature database; this algorithm makes the final identification decision on the basis of feature extraction. Finally we can determine the identity of a person. The most important part of this process is to select the appropriate feature matching strategy . Assume that the identifying palmprint feature vectors are , a palmprint feature vector in the database is , and is the dimension of feature vectors. Then the Hamming distance between the two feature vectors is  where represents the exclusive or operation between two vectors. When the two vectors and are not the same, the result is 1; otherwise the result is 0. When we calculate all the elements in the vector, the dimension size of these two palmprint feature vectors is very large and calculation efficiency is very low. Therefore, in this paper, we propose a matching method by using Grover algorithm and quantum set operations. This method can ensure the matching accuracy and at the same time greatly improves the matching efficiency.
We assume that the identifying palmprint after the characteristics extraction has many feature vectors which are and . If , we add the feature vector number of the identifying palmprint and let the result be . By the same way, we assume that the feature vectors of palmprint image in database are . The matching function in our method is defined as  To see whether the two palmprints are match or not is equivalent to calculate the intersection. The two records and are found out in a feature vector set which meets , that is, to calculate formula (17) which is .
We treat the identifying palmprint feature vector as a database and store it in a memory. Each of the vectors in the database corresponds to only one index . The same method is used to deal with the palmprint vector . Each of the vectors corresponds only to one index . Then we structure five registers which are shown in formula (18); five registers, respectively, save the index , index , vector , vector , and matching function value . Five registers are shown by the following equation: All the five registers are initialized as Hadamard transform is applied to register1 and register2, and the effect is shown as Then is used as a unitary operation; the feature vectors of identifying palmprint and the palmprint from database are loaded in the quantum entanglement state, that is, to transform formula (20) into the following quantum state: A unitary operation is used in formula (22) after computing the matching function between the two palmprints which are shown by the following equation: The next step is to apply Grover algorithm in searching out the location of the matching palmprint in database. The quantum circuit of Grover algorithm  is shown in Figure 7.
The simulation platform is based on MATLAB; we add QCL (quantum computation language) as a toolbox in MATLAB to simulate quantum algorithms. There are lots of basic operations in quantum algorithms in QCL toolbox. QCL is a high level, architecture-independent programming language for quantum computers, with a syntax derived from classical procedural languages like C. This allows for the complete implementation and simulation of quantum algorithms. The key iterative operation of Grover is shown in Figure 7 (see Pseudocode 1).
The number of identifying palmprints is 1, quantum bits, size of searching space is , and the relationship between Grover searching times and the number of quantum bits is shown in Figure 8.
Rossi et al. constructed a link between these initial states and hypergraphs, which provides an illustration of their entanglement properties . In , the flow of quantum search algorithm and the quantum procedure model are shown. And the iteration steps in different quantum search problems are analyzed. Oracle operator is used to flip the phase of target quantum state. The effect is From formula (17) we know that, when the two characteristic vectors are the same, formula (17) is equal to 1. Therefore, when the target palmprint is searched out, the corresponding quantum state will be reversed. And then the unitary transformation matrix is used on the probability amplitude vector of all states; average of all the states’ values is rotated, and matrix can enlarge the probability of quantum state amplitude and greatly reduce the probability of finding out the target quantum states. Matrix is defined as Matrix form is expressed as Compared to times of calculation in traditional method, we just need to apply times of operation from formula (23) to formula (25). Then we measure register1 and the location of the target iris can be found out from palmprint database.
4.2. Palmprint Matching Algorithm Experiment and Analysis
Simulation experiment result is based on the standard library Poly U; Poly U palmprint image library is one of the largest image libraries in palmprint recognition public field. Poly U library has 600 images from 100 people (everyone has 6 images). The experiment is divided into the same palmprint experiment and cross-validation experiment.
In the same palmprint experiment, we extract 64 palmprints and put them in a database; each of the 64 palmprints is from different people. A palmprint in database is selected as an identifying palmprint. We use speed and accuracy to compare our Grover algorithm and quantum set operations with traditional Euclidean distance method. The same palmprint experiment results are shown in Table 1.
In the cross-validation experiment, we extract 64 palmprints which are different from above palmprints and put them in a database; each of the 64 palmprints is from different people. In the cross-validation experiment, we first estimate the number of matched palmprints. We can estimate the number of solutions much more quickly than by traditional method by combining the Grover interation with the phase estimation method.
The essence of Grover searching algorithm is to determinate the phase flip angle; if the angle is known, we can get the number of matched palmprints. In this paper we use phase estimation method to identify the phase of target quantum state. Phase estimation method is needed to build two registers. An overall schematic of the algorithm is shown in Figure 9.
The top line (the “/” denotes a bundle of wires) is the first register; the bottom line is the second register. Unitary operator has an eigenvector with eigenvalue ; this schematic is used to estimate . is inverse QFT.
First we prepare the state ; then we apply a Hadamard transform to the first register, followed by application of controlled operations on the second register, with raised to successive powers of two, . The final state of the first register is easily seen to be then we apply the inverse QFT on the quantum state : After we measure the first register, we can get the estimate value of .
We use phase estimation method to estimate the phase when we search in training palmprints. Then we use Grover to estimate the number of palmprint which is matched with the validation palmprint. The cross-validation experiment results are shown in Table 2.
In Table 1, we can get that the matching numbers of our algorithm which combines the quantum set operations with Grover algorithm only need 8 times, that the traditional algorithm which calculates the Euclidean distance will need 64 times, and that our method has square root of the traditional one. The quantum set operations and Grover matching method needs 0.20 s matching time which has an obvious advantage on efficiency. Additionally, our matching accuracy is almost 100% which is better than Euclidean distance calculation method. In Table 2, by using the cross-validation experiment, we can see that quantum set operations and Grover matching method has good performance with short matching time, which can save more space and time in processing and will be more suitable in applications. We can get higher matching accuracy by using quantum algorithm compared with traditional algorithm too.
Quantum algorithms are applied to palmprint recognition in this paper. Palmprint is filtered by using quantum adaptive median filtering algorithm. Compared with the traditional methods, we can see from the filtering effect chart that this method possesses an enhanced ability of filtering and in the meantime conserves palmprint details. Then, the features of palm print are extracted by means of QFT; the features of pattern can be obtained via quantum parallel characteristics. Analysis shows that the pace of our quantum algorithms has increased exponentially compared with the pace of traditional feature extraction algorithm. Eventually, palmprint matching processing is carried out by using Grover algorithm and quantum set operations. As you can see from the analysis of the experimental result, quantum algorithms can increase matching accuracy and shorten the matching time. Therefore, it gets a marvelous matching effect.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
This work is supported by Henan Provincial Department of Education Science and Technology Research Key Project (no. 13A510330) and the Young Scientists Fund of the National Natural Science Foundation of China (Grant no. 11105042).
- D. Zhang, Z. Guo, G. Lu, L. Zhang, Y. Liu, and W. Zuo, “Online joint palmprint and palmvein verification,” Expert Systems with Applications, vol. 38, no. 3, pp. 2621–2631, 2011.
- G. S. Badrinath and P. Gupta, “Palmprint based recognition system using phase-difference information,” Future Generation Computer Systems, vol. 28, no. 1, pp. 287–305, 2012.
- D. Zhang, W. M. Zuo, and F. Yue, “A comparative study of palmprint recognition algorithms,” ACM Computing Surveys, vol. 44, no. 1, article 2, 2012.
- X. Jing, S. Li, D. Zhang, C. Lan, and J. Yang, “Optimal subset-division based discrimination and its kernelization for face and palmprint recognition,” Pattern Recognition, vol. 45, no. 10, pp. 3590–3602, 2012.
- Z. H. Guo, D. Zhang, L. Zhang, and W. H. Liu, “Feature band selection for online multispectral palmprint recognition,” IEEE Transactions on Information Forensics and Security, vol. 7, no. 3, pp. 1094–1099, 2012.
- P. W. Shor, “Introduction to quantum algorithms,” in Proceedings of Symposia in Applied Mathematics, vol. 58, pp. 143–161, 2002.
- L. K. Grover, “Quantum computers can search arbitrarily large databases by a single query,” Physical Review Letters, vol. 79, pp. 4709–4704, 1997.
- Y. A. Vlasov, V. N. Astratov, O. Z. Karimov, A. A. Kaplyanskii, V. N. Bogomolov, and A. V. Prokofiev, “Existence of a photonic pseudogap for visible light in synthetic opals,” Physical Review B, vol. 55, no. 20, pp. R13357–R13360, 1997.
- R. Schutzhold, “On slow light as a black hole analogue,” Physical Review D, vol. 68, Article ID 024008, 2003.
- C. Pang, Z. Zhou, P. Chen, and G. Guo, “Design of quantum VQ iteration and quantum VQ encoding algorithm taking O(N1/2) steps for data compression,” Chinese Physics, vol. 15, no. 3, pp. 618–623, 2006.
- C. Y. Pang, Z. W. Zhou, and G. C. Guo, “A hybrid quantum encoding algorithm of vector quantization for image compression,” Chinese Physics, vol. 15, no. 12, pp. 3039–3045, 2006.
- P. Chao-Yang and H. Ben-Qiong, “A quantum search algorithm of two entangled registers to realize quantum discrete Fourier transform of signal processing,” Chinese Physics B, vol. 17, no. 9, pp. 3220–3226, 2008.
- K. F. Xie, Quantum Derivative Image Processing Method Research, Middle and Southern University, Hunan, China, 2007.
- P. W. Shor, “Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer,” SIAM Review, vol. 41, no. 2, pp. 303–332, 1999.
- T. Kamei, Image Filter Design for Fingerprint Enhancement, Springer, New York, NY, USA, 2004.
- B. G. Sherlock, D. M. Monro, and K. Millard, “Fingerprint enhancement by directional Fourier filtering,” IEE Proceedings: Vision, Image and Signal Processing, vol. 141, no. 2, pp. 87–94, 1994.
- X. H. Song and X. M. Niu, “Comment on: novel image encryption/decryption based on quantum fourier transform and double phase encoding,” Quantum Information Processing, vol. 13, no. 6, pp. 1301–1304, 2014.
- M. Nielsen, Quantum Computation and Quantum Information, 2003.
- R. G. Zhou, S. Q. Yang, X. W. Xu, Y. Z. Cao, and Q. L. Ding, “Pattern feature extraction algorithm based on quantum Fourier transform,” Journal of Nanjing University of Aeronautics and Astronautics, vol. 40, no. 1, pp. 134–136, 2008.
- A. K. Jain and J. J. Feng, “Latent palmprint matching,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 31, no. 6, pp. 1032–1047, 2009.
- Y. C. Eldar and A. V. Oppenheim, “Quantum signal processing,” IEEE Signal Processing Magazine, vol. 19, no. 6, pp. 12–32, 2002.
- A. Y. Vlasov, “Quantum computations and images recognition,” http://arxiv.org/abs/quant-ph/9703010.
- S. E. Venegas-Andraca, Discrete Quantum Walks and Quantum Image Processing, University of Oxford, Oxford, UK, 2005.
- M. Rossi, D. Bruß, and C. Macchiavello, “Hypergraph states in Grover's quantum search algorithm,” Physica Scripta, vol. 2014, article T160, Article ID 014036, 2014.
- J. Zhuang Y, J. Zhao S, and J. Xu F, “Quantum search algorithm based on fuzzy problem,” in Advanced Materials and Information Technology Processing, vol. 87, pp. 759–764, WIT Press, 2014.
Copyright © 2014 Hui Li and Zhanzhan Zhang. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.