|
| 1 | +\documentclass{beamer} |
| 2 | + |
| 3 | +\usepackage{amsmath,amsfonts,amssymb} |
| 4 | +\usepackage{physics} |
| 5 | +\usepackage{bm} |
| 6 | +\usepackage{quantikz} |
| 7 | +\usepackage{listings} |
| 8 | + |
| 9 | +\title{Quantum Phase Estimation} |
| 10 | +\author{Morten Hjorth-Jensen} |
| 11 | +\date{Additional notes spring 2026} |
| 12 | + |
| 13 | +\lstset{ |
| 14 | +language=Python, |
| 15 | +basicstyle=\ttfamily\small, |
| 16 | +keywordstyle=\color{blue}, |
| 17 | +commentstyle=\color{green!60!black} |
| 18 | +} |
| 19 | + |
| 20 | +\begin{document} |
| 21 | + |
| 22 | +\frame{\titlepage} |
| 23 | + |
| 24 | +\section{Quantum Phase Estimation} |
| 25 | + |
| 26 | +\begin{frame}{Eigenvalue Problem} |
| 27 | + |
| 28 | +Suppose |
| 29 | + |
| 30 | +\[ |
| 31 | +U|\psi\rangle=e^{2\pi i\phi}|\psi\rangle |
| 32 | +\] |
| 33 | + |
| 34 | +Goal |
| 35 | + |
| 36 | +\[ |
| 37 | +\phi |
| 38 | +\] |
| 39 | + |
| 40 | +\end{frame} |
| 41 | + |
| 42 | +%------------------------------------------------ |
| 43 | + |
| 44 | +\begin{frame}{Registers} |
| 45 | + |
| 46 | +Two registers |
| 47 | + |
| 48 | +\begin{itemize} |
| 49 | +\item phase register |
| 50 | +\item eigenstate register |
| 51 | +\end{itemize} |
| 52 | + |
| 53 | +\end{frame} |
| 54 | + |
| 55 | +%------------------------------------------------ |
| 56 | + |
| 57 | +\begin{frame}{Initial State} |
| 58 | + |
| 59 | +\[ |
| 60 | +|0\rangle^{\otimes t}|\psi\rangle |
| 61 | +\] |
| 62 | + |
| 63 | +\end{frame} |
| 64 | + |
| 65 | +%------------------------------------------------ |
| 66 | + |
| 67 | +\begin{frame}{Superposition} |
| 68 | + |
| 69 | +Apply Hadamards |
| 70 | + |
| 71 | +\[ |
| 72 | +\frac{1}{2^{t/2}} |
| 73 | +\sum_k |k\rangle |\psi\rangle |
| 74 | +\] |
| 75 | + |
| 76 | +\end{frame} |
| 77 | + |
| 78 | +%------------------------------------------------ |
| 79 | + |
| 80 | +\begin{frame}{Controlled Powers} |
| 81 | + |
| 82 | +Controlled |
| 83 | + |
| 84 | +\[ |
| 85 | +U^{2^k} |
| 86 | +\] |
| 87 | + |
| 88 | +\end{frame} |
| 89 | + |
| 90 | +%------------------------------------------------ |
| 91 | + |
| 92 | +\begin{frame}{State Before QFT} |
| 93 | + |
| 94 | +\[ |
| 95 | +\frac{1}{2^{t/2}} |
| 96 | +\sum_k e^{2\pi i k\phi}|k\rangle|\psi\rangle |
| 97 | +\] |
| 98 | + |
| 99 | +\end{frame} |
| 100 | + |
| 101 | +%------------------------------------------------ |
| 102 | + |
| 103 | +\begin{frame}{Inverse QFT} |
| 104 | + |
| 105 | +Inverse QFT converts phase to binary digits. |
| 106 | + |
| 107 | +\end{frame} |
| 108 | + |
| 109 | +%------------------------------------------------ |
| 110 | + |
| 111 | +\begin{frame}{Measurement} |
| 112 | + |
| 113 | +Measurement yields |
| 114 | + |
| 115 | +\[ |
| 116 | +\phi \approx 0.\phi_1\phi_2\dots |
| 117 | +\] |
| 118 | + |
| 119 | +\end{frame} |
| 120 | + |
| 121 | +%================================================ |
| 122 | +\section{Error Analysis} |
| 123 | + |
| 124 | +\begin{frame}{Finite Precision} |
| 125 | + |
| 126 | +If |
| 127 | + |
| 128 | +\[ |
| 129 | +\phi\neq k/2^t |
| 130 | +\] |
| 131 | + |
| 132 | +measurement yields nearest integer. |
| 133 | + |
| 134 | +\end{frame} |
| 135 | + |
| 136 | +%------------------------------------------------ |
| 137 | + |
| 138 | +\begin{frame}{Probability Distribution} |
| 139 | + |
| 140 | +\[ |
| 141 | +P(y)= |
| 142 | +\frac{1}{2^{2t}} |
| 143 | +\left| |
| 144 | +\sum_k e^{2\pi i k(\phi-y/2^t)} |
| 145 | +\right|^2 |
| 146 | +\] |
| 147 | + |
| 148 | +\end{frame} |
| 149 | + |
| 150 | +%------------------------------------------------ |
| 151 | + |
| 152 | +\begin{frame}{Success Bound} |
| 153 | + |
| 154 | +Probability |
| 155 | + |
| 156 | +\[ |
| 157 | +P \ge 4/\pi^2 |
| 158 | +\] |
| 159 | + |
| 160 | +\end{frame} |
| 161 | + |
| 162 | +%================================================ |
| 163 | +\section{Iterative Phase Estimation} |
| 164 | + |
| 165 | +\begin{frame}{Motivation} |
| 166 | + |
| 167 | +Standard QPE requires many qubits. |
| 168 | + |
| 169 | +Iterative version uses one ancilla. |
| 170 | + |
| 171 | +\end{frame} |
| 172 | + |
| 173 | +%------------------------------------------------ |
| 174 | + |
| 175 | +\begin{frame}{Iterative Circuit} |
| 176 | + |
| 177 | +\begin{center} |
| 178 | +\begin{quantikz} |
| 179 | +\lstick{}&\gate{H}&\ctrl{1}&\meter{}\\ |
| 180 | +\lstick{psi}&\qw&\gate{U2k}&\qw |
| 181 | +\end{quantikz} |
| 182 | +\end{center} |
| 183 | + |
| 184 | +\end{frame} |
| 185 | + |
| 186 | +%================================================ |
| 187 | +\section{Hamiltonian Eigenvalue Estimation} |
| 188 | + |
| 189 | +\begin{frame}{Hamiltonian Simulation} |
| 190 | + |
| 191 | +If |
| 192 | + |
| 193 | +\[ |
| 194 | +U=e^{-iHt} |
| 195 | +\] |
| 196 | + |
| 197 | +then |
| 198 | + |
| 199 | +\[ |
| 200 | +U|\psi_k\rangle=e^{-iE_k t}|\psi_k\rangle |
| 201 | +\] |
| 202 | + |
| 203 | +\end{frame} |
| 204 | + |
| 205 | +%------------------------------------------------ |
| 206 | + |
| 207 | +\begin{frame}{Energy Extraction} |
| 208 | + |
| 209 | +\[ |
| 210 | +E_k = |
| 211 | +\frac{2\pi\phi}{t} |
| 212 | +\] |
| 213 | + |
| 214 | +\end{frame} |
| 215 | + |
| 216 | +%------------------------------------------------ |
| 217 | + |
| 218 | +\begin{frame}{Applications} |
| 219 | + |
| 220 | +\begin{itemize} |
| 221 | +\item quantum chemistry |
| 222 | +\item materials science |
| 223 | +\item nuclear physics |
| 224 | +\end{itemize} |
| 225 | + |
| 226 | +\end{frame} |
| 227 | + |
| 228 | +%================================================ |
| 229 | +\section{Connection to VQE} |
| 230 | + |
| 231 | +\begin{frame}{Comparison} |
| 232 | + |
| 233 | +Phase estimation |
| 234 | + |
| 235 | +\begin{itemize} |
| 236 | +\item exact |
| 237 | +\item deep circuits |
| 238 | +\end{itemize} |
| 239 | + |
| 240 | +VQE |
| 241 | + |
| 242 | +\begin{itemize} |
| 243 | +\item shallow circuits |
| 244 | +\item classical optimization |
| 245 | +\end{itemize} |
| 246 | + |
| 247 | +\end{frame} |
| 248 | + |
| 249 | +%================================================ |
| 250 | +\section{Python Simulation} |
| 251 | + |
| 252 | +\begin{frame}[fragile]{QFT Matrix} |
| 253 | + |
| 254 | +\begin{lstlisting} |
| 255 | +import numpy as np |
| 256 | + |
| 257 | +def qft_matrix(n): |
| 258 | + |
| 259 | + N=2**n |
| 260 | + omega=np.exp(2j*np.pi/N) |
| 261 | + |
| 262 | + F=np.zeros((N,N),dtype=complex) |
| 263 | + |
| 264 | + for j in range(N): |
| 265 | + for k in range(N): |
| 266 | + F[j,k]=omega**(j*k) |
| 267 | + |
| 268 | + return F/np.sqrt(N) |
| 269 | +\end{lstlisting} |
| 270 | + |
| 271 | +\end{frame} |
| 272 | + |
| 273 | +%------------------------------------------------ |
| 274 | + |
| 275 | +\begin{frame}[fragile]{Example} |
| 276 | + |
| 277 | +\begin{lstlisting} |
| 278 | +n=3 |
| 279 | +F=qft_matrix(n) |
| 280 | + |
| 281 | +state=np.zeros(2**n) |
| 282 | +state[1]=1 |
| 283 | + |
| 284 | +result=F@state |
| 285 | +print(result) |
| 286 | +\end{lstlisting} |
| 287 | + |
| 288 | +\end{frame} |
| 289 | + |
| 290 | +%================================================ |
| 291 | +\section{Summary} |
| 292 | + |
| 293 | +\begin{frame}{Summary} |
| 294 | + |
| 295 | +\begin{itemize} |
| 296 | +\item QFT efficiently computes Fourier transforms |
| 297 | +\item central primitive in quantum algorithms |
| 298 | +\item phase estimation extracts eigenvalues |
| 299 | +\item widely used in quantum simulation |
| 300 | +\end{itemize} |
| 301 | + |
| 302 | +\end{frame} |
| 303 | + |
| 304 | +\end{document} |
0 commit comments