Sundarapandian et al. (Eds) : CSE, CICS, DBDM, AIFL, SCOM - 2013
pp. 23–27, 2013. © CS & IT-CSCP 2013 DOI : 10.5121/csit.2013.3303
COMPUTATIONAL PERFORMANCE OF
QUANTUM PHASE ESTIMATION ALGORITHM
Zhuang Jiayu1
, Zhao Junsuo and Xu Fanjiang
1
Science and Technology on Integrated Information System Laboratory,
Institute of Software Chinese Academy of Sciences, Beijing, China
jiayu@iscas.ac.cn
ABSTRACT
A quantum computation problem is discussed in this paper. Many new features that make
quantum computation superior to classical computation can be attributed to quantum coherence
effect, which depends on the phase of quantum coherent state. Quantum Fourier transform
algorithm, the most commonly used algorithm, is introduced. And one of its most important
applications, phase estimation of quantum state based on quantum Fourier transform, is
presented in details. The flow of phase estimation algorithm and the quantum circuit model are
shown. And the error of the output phase value, as well as the probability of measurement, is
analysed. The probability distribution of the measuring result of phase value is presented and
the computational efficiency is discussed.
KEYWORDS
Quantum computation, Quantum Fourier transform, Phase estimation
1. INTRODUCTION
In the past few decades, we have gained more and more ability to access massive amounts of
information and to make use of computers to store, analyse and manage this data. Recent studies
have shown the great progress towards the physical realization of a quantum computer. Deutsch[1]
[2]
systematically described the first universal quantum computer that is accepted by now. In 1982,
Benioff[3]
studied the question whether quantum computer was more computationally powerful
than a conventional classical Turing machine. He mapped the operation of a reversible Turing
machine onto the quantum system and thus exhibited the first quantum-mechanical model of
computation, which discovered the potential power of quantum computer. In 1994, American
scientist Peter Shor[4]
proposed an algorithm that factor a large integer in polynomial time, which
is the first practical quantum algorithm. In 1996, Grover[5] [6]
proposed an algorithm that provides
a speedup of √ܰ in order of magnitude than classic algorithm in searching an unsorted database.
The algorithm caused attention as its potential of solving NP problem. Quantum computation and
quantum information is the study of the information processing task that can be accomplished
using quantum mechanical system. Quantum computation has many features that differ from
classical computing in that quantum state has the characteristic of coherence and entanglement.
2. THE QUANTUM FOURIER TRANSFORM (QFT)
One of the most useful methods of solving problems in mathematics or computer science is to
transform it into some other problem for which a solution is known. The quantum Fourier
transform[7]
is a kind of discrete Fourier transform which plays an important role in many
24 Computer Science & Information Technology (CS & IT)
quantum algorithms. For example, Shor’s algorithm, order finding algorithm and hidden
subgroup problem.
Quantum Fourier Transform is defined as follow: U୕୊୘|xۧ =
ଵ
√ଶ౤
∑ e
మಘ౟౮౯
మ౤
|yۧଶ౤ିଵ
୷ୀ଴ . The QFT is a
unitary operator in 2୬
-dimensional vector space, it is defined as a linear operator in a group of
orthonormal base |0>, |1>…|2୬
− 1>. Since any quantum computation algorithm in an n-qubit
quantum computer is based on operations by matrices in U(2୬
-dimensional), in this sense we
have the universality of the QFT. In the QFT, we used the following basic quantum gates:
Hadmard gate and Controlled-Phase Shift gate. Hadmard gate (H) is acts on one qubit.
Controlled-Phase Shift gate (U୨,୩) is acts on two qubit, k is control qubit and j is target qubit.
Applying the unitary transformation U୨,୩ on the jth
qubit if and only if the kth
qubit is |1>. The
transform matrixes of the gates operator in Hilbert space are presented as follow: (Phase shift
θ୨,୩ =
ଶ஠୶ౡ
ଶౡషౠశభ)
H =
1
√2
ቂ
1 1
1 −1
ቃ U୨,୩ = ൦
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 e୧஘ౠ,ౡ
൪
The QFT can be given the following useful product representation:
U୕୊୘|xଵ ⋯ x୬ିଵx୬ۧ =
1
√2୬
( |0ۧ + eଶ஠୧଴.୶౤ |1ۧ ) ⋯ ( |0ۧ + eଶ஠୧଴.୶భ⋯୶౤షభ୶౤ |1ۧ )
Most of the properties of the quantum Fourier transform follow from the fact that it is a unitary
transformation. From the unitary property it follows that the inverse of the quantum Fourier
transform is the Hermitian adjoint of the Fourier matrix, therefore, U୕୊୘
ିଵ
= U୕୊୘
ற
. Since there
is an efficient quantum circuit implementing the quantum Fourier transform, the circuit can be run
in reverse to perform the inverse quantum Fourier transform. Thus both transforms can be
efficiently performed on a quantum computer. The inverse of QFT is :
U୕୊୘
ற
|xۧ =
ଵ
√ଶ౤
∑ eି
మಘ౟∙౮౯
మ౤
|yۧଶ౤ିଵ
୷ୀ଴ .
The quantum circuit representation of the QFT is show in Figure1.
Figure 1. Circuit of the quantum Fourier transform
Computer Science & Information Technology (CS & IT) 25
3. PHASE ESTIMATION AND SIMULATION
3.1. Phase estimation
Suppose, there is an unitary operator has an eigenvector |aۧ with eigenvalue eଶ஠୧஦
(n-qubit),
U|aۧ = eଶ஠୧஦|aۧ. The quantum phase estimation[8]
procedure uses two registers. The first register
with m-qubit , it used to store the value of phase |φଵφଶ ⋯ φ୫ > (φ୧ = 0 or 1,i = 1,2 … m), in
decimal it equals to ∑
஦౟
ଶ౟
୫
୧ୀଵ . The error of true value and store value is μ which can be expressed:
φ = (∑
஦౟
ଶ౟
୫
୧ୀଵ )+ μ (|μ| ≤
ଵ
ଶౣశభ ). The first register initially in the state |0 ⋯ 0ۧ while the
second is|aۧ. Apply the quantum circuit shown in Figure 2. (ܷ୬ = ܷଶ೙
)
Figure 2. First stage of the phase estimation
Apply the inverse quantum Fourier transform on the first register (|bଵ ⋯ b୫ିଵb୫ۧ), we have the
state:
1
2௡
෍ ෍ ݁
ିଶగ௜௝௞
ଶ೙
ଶ೙ିଵ
௞ୀ଴
ଶ೙ିଵ
௝ୀ଴
eଶ஠୧஦୨|kۧ
And then, read out the state of first register by doing a measurement in the computation basis, the
result is that φ෥ = 0. φଵ ⋯ φ௠ which is an estimator for φ .
3.2. Simulation
We proposed a quantum computation emulator[9] [10]
in classical computer which satisfies the
requirements of quantum computer. Conventional quantum algorithms can be operated in this
simulation system. In this paper, the simulation aimed to analyses the relationship between the
accuracy and probability of observing in phase estimation algorithm. The phase can be written in
n-qubit in the phase estimation algorithm. We will get all the possible states by measuring the
output qubit.
In the first simulation, we provide 8-qubit for the phase estimation. It means the minimum
accuracy is 1/256. Suppose the phase is 1/3. We can get the probability distributions of quantum
state of output from |0 ⋯ 0ۧ to |1 ⋯ 1ۧ which is shown in Figure 3.
26 Computer Science & Information Technology (CS & IT)
Figure 3. The probability distribution of phase estimation
The second simulation is mainly about the different numbers of qubit effect on the probability of
phase estimation which in the same accuracy. Suppose the phase is 1/3 and we wish to
approximate the phase to an accuracy 1/64. And then we provide different number of qubit for the
phase estimation. In Figure 4, (a) is the probability of success estimation by different number of
qubit and (b) is the time steps by different number of qubit.
(a) (b)
Figure 4. The probability and time steps by different number of qubit
4. CONCLUSIONS
This paper describes the phase estimation algorithm based in quantum Fourier transform. And the
algorithm was operated in a simulation system. In Figure3, the result converged to the expectation
value and it proved the phase estimation algorithm is an efficient estimate. In Figure4, we can see
the probability increased with the number of qubit with given accuracy, but the probability
changes slowly when the number of qubit reaches a certain value. Meanwhile, the time steps were
increased in polynomial multiple. We should design appropriate number of qubit for the phase
estimation with high success probability and low cost. In future, our study focuses on the
optimization methods in quantum computation.
Computer Science & Information Technology (CS & IT) 27
REFERENCES
[1] Deutsch D. Quantum theory, the Church-Turing principle and the universal quantum computer[J].
Proc. Royal Soc. Lond, vol, A400, 1985, pp, 97-117
[2] Deutsch D. Quantum computational networks, Proc. Roy. Soc. London, A. 439(1992)553-558
[3] Benioff P. The computer as a physical stystem: a microscopic quantum mechanical Hamiltonian
model of computers as represented by Turing machines. Journal of Statistical Physics, 1982,22:563-
591
[4] Shor P.W. , Algorithms for Quantum Computation: Discrete Logarithms and Factoring, 35th Annual
Symposium on Foundations of Computer Science,New Mexico: IEEE Computer Society Press,
1994,124~134
[5] Grover L K. A fast quantum mechanical algorithm for database search. Proceeding 28th Annual ACM
symposium on the theory of computing, 1996, 212-129
[6] Grover L K. Quantum mechanics helps in searching for a needle in haystack[J]. Phys Rev
Lett,1997,79:325-328
[7] Nilelsen M. A. & Chuang L.L. Quantum computation and Quantum Information[M]. Cambridge Univ.
Press 2000.
[8] B.C.Sanders & G.J.Milburn Optimal quantum measurements for phase estimation, Phys. Rev. Lett.
75, 1995, 2944-2947
[9] Feynman R. Quantum mechanical computers[J]. Science, 1996, vol. 273. No.5278, pp. 1073-1078
[10] I.Buluta, F.Nori Quantum simulators[J]. Science, 2009, vol. 326. No.5949, pp. 108-111
Authors
Zhuang Jiayu is a researcher in Institute of Software Chinese Academy of Sciences.
The author interested in the research of quantum computation and quantum ciruits.

More Related Content

PDF
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
PDF
HEATED WIND PARTICLE’S BEHAVIOURAL STUDY BY THE CONTINUOUS WAVELET TRANSFORM ...
PDF
Chapter26
PDF
Parellelism in spectral methods
PDF
Low Power Adaptive FIR Filter Based on Distributed Arithmetic
PDF
Testing of Matrices Multiplication Methods on Different Processors
PDF
Master's thesis
PDF
1 Aminullah Assagaf_Estimation-of-domain-of-attraction-for-the-fract_2021_Non...
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
HEATED WIND PARTICLE’S BEHAVIOURAL STUDY BY THE CONTINUOUS WAVELET TRANSFORM ...
Chapter26
Parellelism in spectral methods
Low Power Adaptive FIR Filter Based on Distributed Arithmetic
Testing of Matrices Multiplication Methods on Different Processors
Master's thesis
1 Aminullah Assagaf_Estimation-of-domain-of-attraction-for-the-fract_2021_Non...

What's hot (18)

PPTX
Computational Method to Solve the Partial Differential Equations (PDEs)
PDF
Dynamic Economic Dispatch Assessment Using Particle Swarm Optimization Technique
PDF
A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...
PDF
A High Order Continuation Based On Time Power Series Expansion And Time Ratio...
PDF
Design of ternary sequence using msaa
PDF
α Nearness ant colony system with adaptive strategies for the traveling sales...
PDF
On selection of periodic kernels parameters in time series prediction
PDF
Economia01
PDF
Firefly Algorithm: Recent Advances and Applications
PDF
1308.3898
PDF
Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...
PDF
Chaos Suppression and Stabilization of Generalized Liu Chaotic Control System
PDF
Quantum algorithm for solving linear systems of equations
PDF
Cb32492496
PPT
Finite DIfference Methods Mathematica
PDF
Performance Assessment of Polyphase Sequences Using Cyclic Algorithm
PDF
Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...
PDF
Combining Neural Network and Firefly Algorithm to Predict Stock Price in Tehr...
Computational Method to Solve the Partial Differential Equations (PDEs)
Dynamic Economic Dispatch Assessment Using Particle Swarm Optimization Technique
A Combination of Wavelet Artificial Neural Networks Integrated with Bootstrap...
A High Order Continuation Based On Time Power Series Expansion And Time Ratio...
Design of ternary sequence using msaa
α Nearness ant colony system with adaptive strategies for the traveling sales...
On selection of periodic kernels parameters in time series prediction
Economia01
Firefly Algorithm: Recent Advances and Applications
1308.3898
Development, Optimization, and Analysis of Cellular Automaton Algorithms to S...
Chaos Suppression and Stabilization of Generalized Liu Chaotic Control System
Quantum algorithm for solving linear systems of equations
Cb32492496
Finite DIfference Methods Mathematica
Performance Assessment of Polyphase Sequences Using Cyclic Algorithm
Extreme‐Scale Parallel Symmetric Eigensolver for Very Small‐Size Matrices Usi...
Combining Neural Network and Firefly Algorithm to Predict Stock Price in Tehr...
Ad

Viewers also liked (10)

PDF
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
PDF
NEURAL NETWORKS WITH DECISION TREES FOR DIAGNOSIS ISSUES
PDF
SUPERVISED FEATURE SELECTION FOR DIAGNOSIS OF CORONARY ARTERY DISEASE BASED O...
PPTX
السوق عرض
PDF
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
PPT
Histoire de la région
PDF
McGowan - World Congress of Medical Meetings - Is learning the goal of your m...
PDF
MRI IMAGES THRESHOLDING FOR ALZHEIMER DETECTION
KEY
Walt And Wilf
PPT
Learning+goals+and+success+criteria
PLANNING BY CASE-BASED REASONING BASED ON FUZZY LOGIC
NEURAL NETWORKS WITH DECISION TREES FOR DIAGNOSIS ISSUES
SUPERVISED FEATURE SELECTION FOR DIAGNOSIS OF CORONARY ARTERY DISEASE BASED O...
السوق عرض
EDGE DETECTION IN RADAR IMAGES USING WEIBULL DISTRIBUTION
Histoire de la région
McGowan - World Congress of Medical Meetings - Is learning the goal of your m...
MRI IMAGES THRESHOLDING FOR ALZHEIMER DETECTION
Walt And Wilf
Learning+goals+and+success+criteria
Ad

Similar to COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM (20)

PPTX
Ahsan 10X Engineering Talk (Quantum Computing).pptx
PDF
This is presentation about quantum computing
PDF
Quantum computation a review
PPT
A brief introduction of Quantum-computing
PPT
quantum-computing.ppt
PPTX
Shors'algorithm simplified.pptx
PPT
Quantum Computation and Algorithms
PPT
quantum computing (department of computer science WMU).ppt
PPT
osama-quantum-computing and its uses and applications
PPT
osama-quantum-computingoftge quantum.ppt
PPT
osama-quantum-computing.ppt
PDF
Quantum Computing 101, Part 1 - Hello Quantum World
PDF
ML Reading Group (Intro to Quantum Computation)
PDF
Quantum computing meghaditya
PDF
Documents
PDF
The Extraordinary World of Quantum Computing
PPTX
Quantum Computing
PDF
MMath Paper, Canlin Zhang
PPT
full description on quantum computing.ppt
PPT
Matt Purkeypile's Doctoral Dissertation Defense Slides
Ahsan 10X Engineering Talk (Quantum Computing).pptx
This is presentation about quantum computing
Quantum computation a review
A brief introduction of Quantum-computing
quantum-computing.ppt
Shors'algorithm simplified.pptx
Quantum Computation and Algorithms
quantum computing (department of computer science WMU).ppt
osama-quantum-computing and its uses and applications
osama-quantum-computingoftge quantum.ppt
osama-quantum-computing.ppt
Quantum Computing 101, Part 1 - Hello Quantum World
ML Reading Group (Intro to Quantum Computation)
Quantum computing meghaditya
Documents
The Extraordinary World of Quantum Computing
Quantum Computing
MMath Paper, Canlin Zhang
full description on quantum computing.ppt
Matt Purkeypile's Doctoral Dissertation Defense Slides

Recently uploaded (20)

PPTX
Build Your First AI Agent with UiPath.pptx
PDF
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
OpenACC and Open Hackathons Monthly Highlights July 2025
PPTX
Microsoft Excel 365/2024 Beginner's training
PDF
Consumable AI The What, Why & How for Small Teams.pdf
PPTX
Configure Apache Mutual Authentication
PDF
STKI Israel Market Study 2025 version august
DOCX
search engine optimization ppt fir known well about this
PDF
Five Habits of High-Impact Board Members
PPTX
Internet of Everything -Basic concepts details
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
giants, standing on the shoulders of - by Daniel Stenberg
PPTX
TEXTILE technology diploma scope and career opportunities
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Comparative analysis of machine learning models for fake news detection in so...
Build Your First AI Agent with UiPath.pptx
Accessing-Finance-in-Jordan-MENA 2024 2025.pdf
sustainability-14-14877-v2.pddhzftheheeeee
OpenACC and Open Hackathons Monthly Highlights July 2025
Microsoft Excel 365/2024 Beginner's training
Consumable AI The What, Why & How for Small Teams.pdf
Configure Apache Mutual Authentication
STKI Israel Market Study 2025 version august
search engine optimization ppt fir known well about this
Five Habits of High-Impact Board Members
Internet of Everything -Basic concepts details
sbt 2.0: go big (Scala Days 2025 edition)
Convolutional neural network based encoder-decoder for efficient real-time ob...
Custom Battery Pack Design Considerations for Performance and Safety
Basics of Cloud Computing - Cloud Ecosystem
giants, standing on the shoulders of - by Daniel Stenberg
TEXTILE technology diploma scope and career opportunities
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Module 1 Introduction to Web Programming .pptx
Comparative analysis of machine learning models for fake news detection in so...

COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM

  • 1. Sundarapandian et al. (Eds) : CSE, CICS, DBDM, AIFL, SCOM - 2013 pp. 23–27, 2013. © CS & IT-CSCP 2013 DOI : 10.5121/csit.2013.3303 COMPUTATIONAL PERFORMANCE OF QUANTUM PHASE ESTIMATION ALGORITHM Zhuang Jiayu1 , Zhao Junsuo and Xu Fanjiang 1 Science and Technology on Integrated Information System Laboratory, Institute of Software Chinese Academy of Sciences, Beijing, China [email protected] ABSTRACT A quantum computation problem is discussed in this paper. Many new features that make quantum computation superior to classical computation can be attributed to quantum coherence effect, which depends on the phase of quantum coherent state. Quantum Fourier transform algorithm, the most commonly used algorithm, is introduced. And one of its most important applications, phase estimation of quantum state based on quantum Fourier transform, is presented in details. The flow of phase estimation algorithm and the quantum circuit model are shown. And the error of the output phase value, as well as the probability of measurement, is analysed. The probability distribution of the measuring result of phase value is presented and the computational efficiency is discussed. KEYWORDS Quantum computation, Quantum Fourier transform, Phase estimation 1. INTRODUCTION In the past few decades, we have gained more and more ability to access massive amounts of information and to make use of computers to store, analyse and manage this data. Recent studies have shown the great progress towards the physical realization of a quantum computer. Deutsch[1] [2] systematically described the first universal quantum computer that is accepted by now. In 1982, Benioff[3] studied the question whether quantum computer was more computationally powerful than a conventional classical Turing machine. He mapped the operation of a reversible Turing machine onto the quantum system and thus exhibited the first quantum-mechanical model of computation, which discovered the potential power of quantum computer. In 1994, American scientist Peter Shor[4] proposed an algorithm that factor a large integer in polynomial time, which is the first practical quantum algorithm. In 1996, Grover[5] [6] proposed an algorithm that provides a speedup of √ܰ in order of magnitude than classic algorithm in searching an unsorted database. The algorithm caused attention as its potential of solving NP problem. Quantum computation and quantum information is the study of the information processing task that can be accomplished using quantum mechanical system. Quantum computation has many features that differ from classical computing in that quantum state has the characteristic of coherence and entanglement. 2. THE QUANTUM FOURIER TRANSFORM (QFT) One of the most useful methods of solving problems in mathematics or computer science is to transform it into some other problem for which a solution is known. The quantum Fourier transform[7] is a kind of discrete Fourier transform which plays an important role in many
  • 2. 24 Computer Science & Information Technology (CS & IT) quantum algorithms. For example, Shor’s algorithm, order finding algorithm and hidden subgroup problem. Quantum Fourier Transform is defined as follow: U୕୊୘|xۧ = ଵ √ଶ౤ ∑ e మಘ౟౮౯ మ౤ |yۧଶ౤ିଵ ୷ୀ଴ . The QFT is a unitary operator in 2୬ -dimensional vector space, it is defined as a linear operator in a group of orthonormal base |0>, |1>…|2୬ − 1>. Since any quantum computation algorithm in an n-qubit quantum computer is based on operations by matrices in U(2୬ -dimensional), in this sense we have the universality of the QFT. In the QFT, we used the following basic quantum gates: Hadmard gate and Controlled-Phase Shift gate. Hadmard gate (H) is acts on one qubit. Controlled-Phase Shift gate (U୨,୩) is acts on two qubit, k is control qubit and j is target qubit. Applying the unitary transformation U୨,୩ on the jth qubit if and only if the kth qubit is |1>. The transform matrixes of the gates operator in Hilbert space are presented as follow: (Phase shift θ୨,୩ = ଶ஠୶ౡ ଶౡషౠశభ) H = 1 √2 ቂ 1 1 1 −1 ቃ U୨,୩ = ൦ 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 e୧஘ౠ,ౡ ൪ The QFT can be given the following useful product representation: U୕୊୘|xଵ ⋯ x୬ିଵx୬ۧ = 1 √2୬ ( |0ۧ + eଶ஠୧଴.୶౤ |1ۧ ) ⋯ ( |0ۧ + eଶ஠୧଴.୶భ⋯୶౤షభ୶౤ |1ۧ ) Most of the properties of the quantum Fourier transform follow from the fact that it is a unitary transformation. From the unitary property it follows that the inverse of the quantum Fourier transform is the Hermitian adjoint of the Fourier matrix, therefore, U୕୊୘ ିଵ = U୕୊୘ ற . Since there is an efficient quantum circuit implementing the quantum Fourier transform, the circuit can be run in reverse to perform the inverse quantum Fourier transform. Thus both transforms can be efficiently performed on a quantum computer. The inverse of QFT is : U୕୊୘ ற |xۧ = ଵ √ଶ౤ ∑ eି మಘ౟∙౮౯ మ౤ |yۧଶ౤ିଵ ୷ୀ଴ . The quantum circuit representation of the QFT is show in Figure1. Figure 1. Circuit of the quantum Fourier transform
  • 3. Computer Science & Information Technology (CS & IT) 25 3. PHASE ESTIMATION AND SIMULATION 3.1. Phase estimation Suppose, there is an unitary operator has an eigenvector |aۧ with eigenvalue eଶ஠୧஦ (n-qubit), U|aۧ = eଶ஠୧஦|aۧ. The quantum phase estimation[8] procedure uses two registers. The first register with m-qubit , it used to store the value of phase |φଵφଶ ⋯ φ୫ > (φ୧ = 0 or 1,i = 1,2 … m), in decimal it equals to ∑ ஦౟ ଶ౟ ୫ ୧ୀଵ . The error of true value and store value is μ which can be expressed: φ = (∑ ஦౟ ଶ౟ ୫ ୧ୀଵ )+ μ (|μ| ≤ ଵ ଶౣశభ ). The first register initially in the state |0 ⋯ 0ۧ while the second is|aۧ. Apply the quantum circuit shown in Figure 2. (ܷ୬ = ܷଶ೙ ) Figure 2. First stage of the phase estimation Apply the inverse quantum Fourier transform on the first register (|bଵ ⋯ b୫ିଵb୫ۧ), we have the state: 1 2௡ ෍ ෍ ݁ ିଶగ௜௝௞ ଶ೙ ଶ೙ିଵ ௞ୀ଴ ଶ೙ିଵ ௝ୀ଴ eଶ஠୧஦୨|kۧ And then, read out the state of first register by doing a measurement in the computation basis, the result is that φ෥ = 0. φଵ ⋯ φ௠ which is an estimator for φ . 3.2. Simulation We proposed a quantum computation emulator[9] [10] in classical computer which satisfies the requirements of quantum computer. Conventional quantum algorithms can be operated in this simulation system. In this paper, the simulation aimed to analyses the relationship between the accuracy and probability of observing in phase estimation algorithm. The phase can be written in n-qubit in the phase estimation algorithm. We will get all the possible states by measuring the output qubit. In the first simulation, we provide 8-qubit for the phase estimation. It means the minimum accuracy is 1/256. Suppose the phase is 1/3. We can get the probability distributions of quantum state of output from |0 ⋯ 0ۧ to |1 ⋯ 1ۧ which is shown in Figure 3.
  • 4. 26 Computer Science & Information Technology (CS & IT) Figure 3. The probability distribution of phase estimation The second simulation is mainly about the different numbers of qubit effect on the probability of phase estimation which in the same accuracy. Suppose the phase is 1/3 and we wish to approximate the phase to an accuracy 1/64. And then we provide different number of qubit for the phase estimation. In Figure 4, (a) is the probability of success estimation by different number of qubit and (b) is the time steps by different number of qubit. (a) (b) Figure 4. The probability and time steps by different number of qubit 4. CONCLUSIONS This paper describes the phase estimation algorithm based in quantum Fourier transform. And the algorithm was operated in a simulation system. In Figure3, the result converged to the expectation value and it proved the phase estimation algorithm is an efficient estimate. In Figure4, we can see the probability increased with the number of qubit with given accuracy, but the probability changes slowly when the number of qubit reaches a certain value. Meanwhile, the time steps were increased in polynomial multiple. We should design appropriate number of qubit for the phase estimation with high success probability and low cost. In future, our study focuses on the optimization methods in quantum computation.
  • 5. Computer Science & Information Technology (CS & IT) 27 REFERENCES [1] Deutsch D. Quantum theory, the Church-Turing principle and the universal quantum computer[J]. Proc. Royal Soc. Lond, vol, A400, 1985, pp, 97-117 [2] Deutsch D. Quantum computational networks, Proc. Roy. Soc. London, A. 439(1992)553-558 [3] Benioff P. The computer as a physical stystem: a microscopic quantum mechanical Hamiltonian model of computers as represented by Turing machines. Journal of Statistical Physics, 1982,22:563- 591 [4] Shor P.W. , Algorithms for Quantum Computation: Discrete Logarithms and Factoring, 35th Annual Symposium on Foundations of Computer Science,New Mexico: IEEE Computer Society Press, 1994,124~134 [5] Grover L K. A fast quantum mechanical algorithm for database search. Proceeding 28th Annual ACM symposium on the theory of computing, 1996, 212-129 [6] Grover L K. Quantum mechanics helps in searching for a needle in haystack[J]. Phys Rev Lett,1997,79:325-328 [7] Nilelsen M. A. & Chuang L.L. Quantum computation and Quantum Information[M]. Cambridge Univ. Press 2000. [8] B.C.Sanders & G.J.Milburn Optimal quantum measurements for phase estimation, Phys. Rev. Lett. 75, 1995, 2944-2947 [9] Feynman R. Quantum mechanical computers[J]. Science, 1996, vol. 273. No.5278, pp. 1073-1078 [10] I.Buluta, F.Nori Quantum simulators[J]. Science, 2009, vol. 326. No.5949, pp. 108-111 Authors Zhuang Jiayu is a researcher in Institute of Software Chinese Academy of Sciences. The author interested in the research of quantum computation and quantum ciruits.