Quantum Image Edge Detection PDF
Quantum Image Edge Detection PDF
net/publication/329218670
CITATION READS
1 628
4 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Bikash K. Behera on 27 November 2018.
1 0 1 0
1 0 1 0 1
M1 = √
2 2 1 0 1 0
0 1 0 1
N
2
ÛF ourier = QF T4 ,
N
ÛHadamard = H 4 ,
N
2
ÛHaar = A4 (5)
1 1 1 1
1 1 i −1 −i
QF T4 =
2 1 −1 1 −1
1 −i −1 i
FIG. 3. Optimized quantum circuit for transformation
1 1 1
of image. (A) Haar transform (B) Fourier transform (C)
H=√ Hadamard Transform. Here we take q[4], q[2], q[1] and q[0]
2 1 −1 as the 1st, 2nd, 3rd and 4th qubit respectively.
1 1 1 1
1√1 1
√ −1 −i
A4 =
2 2 − 2 1 −1
1 −i −1 i
FIG. 4. Experimental results of quantum image transforms. Simulated and run pixel 3D view of (A) Input chessboard
image (B) Haar transform (C) Fourier transform (D) Hadamard Transform.
1 1 0 0 ··· 0 0
1 −1 0 0 ··· 0 0
0 0 1 1 ··· 0 0
1 0 0 1 −1 ··· 0 0
I2n−1 ⊗H = √ , (6)
2
.. .. .. .. .. .. ..
. . .
. . . .
0 0 0 0 ··· 1 1
0 0 0 0 · · · 1 −1
FIG. 5. Quantum Circuit for edge detection of chess-
where I2n−1 is the 2n−1 ×2n−1 unit matrix. The transfor- board image. Initially, a chessboard image with the state,
mation of pixel values after the above operation is given |vi is prepared. Then a Hadamard gate is applied on the
as last qubit (q[0]) converting the image to a 4 × 4 pixel image
pattern as shown in the Fig. 6.
b0 b0 + b1
b1 b0 − b1
b2 b + b
1 2 3
b3 7→ √ b2 − b3 . (7)
··· 2 ···
3/4, etc, we apply the n-qubit amplitude permutation
b n b n +b n
2 −2 2 −2 2 −1
b2n −1 b2n −2 − b2n −1 [34] to the input image, |vi, which converts to |v 0 i con-
taining even (odd) elements equal to the odd (even) el-
The even positions in the output state are the differ- ements of the state, |vi (i.e., b02l = b02l+1 , b02l+1 = b02l+2 ).
ences in the coefficients that determine the boundary be- At first, we have the input with |0000i state with prob-
tween the regions. If the difference vanishes, the two pix- ability 1, then we apply the quantum circuit as shown
els belong to the same region, whereas if the difference in Fig. 5. After preparing the state, |v1 i, we apply the
is nonvanishing, then it signifies a boundary region. The Hadamard operation on the last qubit (q[0]), then we will
edge information between the pixels can be extracted by have all the four-qubit computational basis state (|0000i,
measuring on the last qubit. If the measurement out- |0001i . . . |1111i) with equal probability amplitude. The
come is 1, i.e., the difference is nonvanishing, hence there 3D bar graph plot for the output state is shown in Fig.
are horizontal boundaries between the pixels at positions 6. It is clearly observed that there are no nonvanishing
0/1, 2/3, etc. However, to identify the boundaries be- terms in the state, which indicates all the pixels have
tween the other pairs, i.e., the pixels at positions, 1/2, boundaries adjacent to each other.
5
[1] D. Marr, Vision: A Computational Investigation into [18] R. Gerritsma, G. Kirchmair, F. Zahringer, E. Solano, R.
the Human Representation and Processing of Visual In- Blatt and C. F. Roos, Nature 463, 68–71 (2010).
formation (W. H. Freeman and Company, San Francisco, [19] M. Kapil, B. K. Behera, and P. K. Panigrahi,
1982). arXiv:1807.00521.
[2] R. C. Gonzalez and R. E. Woods, Digital Image Process- [20] Y. Mohanta, D. S. Abhishikth, K. Pruthvi, V. Kumar,
ing (Prentice-Hall, London, 2007). B. K. Behera, and P. K. Panigrahi, arXiv:1807.00323.
[3] B. M. Lake, R. Salakhutdinov, and J. B. Tenenbaum, [21] Manabputra, B. K. Behera, and P. K. Panigrahi,
Science 350, 1332 (2015). arXiv:1806.10229.
[4] N. Jean, M. Burke, M. Xie, W. M. Davis, D. B. Lobell, [22] D. Aggarwal, S. Raj, B. K. Behera, and P. K. Panigrahi,
and S. Ermon, Science 353, 790 (2016). arXiv:1806.00781.
[5] R. Horodecki, P. Horodecki, M. Horodecki, and K. [23] N. N. Hegade, B. K. Behera, and P. K. Panigrahi,
Horodecki, Rev. Mod. Phys. 81, 865 (2009). arXiv:1712.07326.
[6] S. Lloyd, M. Mohseni, and P. Rebentrost, Nat. Phys. 10, [24] K. Srinivasan, S. Satyajit, B. K. Behera, P. K. Panigrahi,
631 (2014). arXiv:1805.10928.
[7] N. Wiebe, D. Braun, and S. Lloyd, Phys. Rev. Lett. 109, [25] P. W. Shor, in Proceedings of the 35th Annual Sympo-
050505 (2012). sium on Foundations of Computer Science(IEEE Com-
[8] D. Deutsch, Proc. R. Soc. A 400, 97 (1985). puter Society Press, New York, 1994), pp. 124-134.
[9] D. Aasen, M. Hell, R. V. Mishmash, A. Higginbotham, [26] X. H. Peng, Z. Y. Liao, N. Xu, G. in, X. Zhou, D. Suter,
J. Danon, M. Leijnse, T. S. Jespersen, J. A. Folk, and J. Du, Phys. Rev. Lett. 101, 220405 (2008).
C. M.Marcus, K. Flensberg, and J. Alicea, Phys. Rev [27] X.-W. Yao, H. Wang, Z. Liao, M.-C. Chen, J. Pan, J. Li,
X 6, 031016 (2016). K. Zhang, X. Lin, Z. Wang, Z. Luo, W. Zheng, J. Li, M.
[10] S. K. Liao et al., Nature (London) 549, 43 (2017). Zhao, X. Peng, and D. Suter, Phys. Rev. X 7, 031041
[11] J. G. Ren et al., Nature (London) 549, 70 (2017). (2017).
[12] D. E. Browne and T. Rudolph, Phys. Rev. Lett. 95, [28] F. Yan, A. M. Iliyasu, and S. E. Venegas-Andraca, Quan-
010501 (2005). tum. Inf. Process. 15, 1 (2016).
[13] X. L. Wang, X. D. Cai, Z. E. Su, M. C. Chen, D. Wu, L. [29] S. E. Venegas-Andraca and S. Bose, Proc. SPIE Int. Soc.
Li, N. L. Liu, C. Y. Lu, and J. W. Pan, Nature (London) Opt. Eng. 5105, 137 (2003).
518, 516 (2015). [30] P. Le, F. Dong, and K. Hirota, Quantum Inf. Process.
[14] D. Suter and G. A. Alvarez, Rev. Mod. Phys. 88, 041001 10, 63 (2011).
(2016). [31] Y. Zhang, K. Lu, Y. Gao, and M. Wang, Quantum Inf.
[15] L. M. K. Vandersypen, M. Steffen, G. Breyta, C. S. Yan- Process. 12, 2833 (2013).
noni, M. H. Sherwood, and I. L. Chuang, Nature 414, [32] S. P. Nanavati and P. K. Panigrahi, Reson. 10, 52 (2005).
883—887 (2001). [33] P. Hoyer, arXiv:quant-ph/9702028.
[16] A. Dash, D. Sarmah, B. K. Behera, and P. K. Panigrahi, [34] A. Fijany and C. Williams, in Proceedings of the 1st
arXiv:1805.10478. NASA International Conference on Quantum Computing
[17] K. Halder, N. N. Hegade, B. K. Behera, and P. K. Pani- and Quantum Communications (Springer, Berlin, 1998),
grahi, arXiv:1808.00021. pp.10-33.
6
[35] H. Buhrman, R. Cleve, J. Watrous, and R. de Wolf, Phys. [37] D. Hubel, Eye, Brain and Vision (Scientific American
Rev. Lett. 87, 167902 (2001). Press, New York, 1995).
[36] D. Marr and E. Hildreth, Proc. R. Soc. B 207, 187
(1980).