|
| 1 | + |
| 2 | +\documentclass[aspectratio=169]{beamer} |
| 3 | + |
| 4 | +\usepackage{amsmath,amssymb,amsfonts,bm} |
| 5 | +\usepackage{physics} |
| 6 | +\usepackage{braket} |
| 7 | +\usepackage{hyperref} |
| 8 | +\usepackage{tikz} |
| 9 | +\usepackage{quantikz} |
| 10 | + |
| 11 | +\usetheme{Madrid} |
| 12 | + |
| 13 | +\title{QAOA in Finance: A Research-Level Treatment} |
| 14 | +\subtitle{From S\&P Data to Spin Glasses and Quantum Circuits} |
| 15 | +\author{Morten Hjorth-Jensen} |
| 16 | +\date{Spring 2026} |
| 17 | + |
| 18 | +\begin{document} |
| 19 | + |
| 20 | +\frame{\titlepage} |
| 21 | + |
| 22 | +%================================================ |
| 23 | +\section{Overview} |
| 24 | +%================================================ |
| 25 | + |
| 26 | +\begin{frame}{Full Pipeline} |
| 27 | +\[ |
| 28 | +\text{Financial Data} |
| 29 | +\rightarrow (\mu,\Sigma) |
| 30 | +\rightarrow \text{QUBO} |
| 31 | +\rightarrow \text{Ising Hamiltonian} |
| 32 | +\rightarrow \text{Pauli operators} |
| 33 | +\rightarrow \text{QAOA} |
| 34 | +\] |
| 35 | +\end{frame} |
| 36 | + |
| 37 | +%================================================ |
| 38 | +\section{Finance Formulation} |
| 39 | +%================================================ |
| 40 | + |
| 41 | +\begin{frame}{Mean-Variance Optimization} |
| 42 | +\[ |
| 43 | +\min_x \left( -\mu^\top x + \lambda x^\top \Sigma x \right) |
| 44 | +\] |
| 45 | + |
| 46 | +\begin{itemize} |
| 47 | +\item $\mu_i$: expected return |
| 48 | +\item $\Sigma_{ij}$: covariance |
| 49 | +\item $x_i \in \{0,1\}$ |
| 50 | +\end{itemize} |
| 51 | +\end{frame} |
| 52 | + |
| 53 | +\begin{frame}{Constraint: Fixed Budget} |
| 54 | +Add constraint: |
| 55 | +\[ |
| 56 | +\sum_i x_i = K |
| 57 | +\] |
| 58 | + |
| 59 | +Penalty: |
| 60 | +\[ |
| 61 | +C(x) \rightarrow C(x) + A\left(\sum_i x_i - K\right)^2 |
| 62 | +\] |
| 63 | +\end{frame} |
| 64 | + |
| 65 | +%================================================ |
| 66 | +\section{QUBO} |
| 67 | +%================================================ |
| 68 | + |
| 69 | +\begin{frame}{QUBO Form} |
| 70 | +\[ |
| 71 | +C(x) = x^\top Q x |
| 72 | +\] |
| 73 | + |
| 74 | +\[ |
| 75 | +Q = \lambda \Sigma - \text{diag}(\mu) + \text{constraint terms} |
| 76 | +\] |
| 77 | +\end{frame} |
| 78 | + |
| 79 | +%================================================ |
| 80 | +\section{Ising Mapping} |
| 81 | +%================================================ |
| 82 | + |
| 83 | +\begin{frame}{Binary to Spin} |
| 84 | +\[ |
| 85 | +x_i = \frac{1 - z_i}{2}, \quad z_i \in \{-1,1\} |
| 86 | +\] |
| 87 | + |
| 88 | +Insert into $C(x)$ |
| 89 | +\end{frame} |
| 90 | + |
| 91 | +\begin{frame}{Resulting Hamiltonian} |
| 92 | +\[ |
| 93 | +H = \sum_i h_i z_i + \sum_{i<j} J_{ij} z_i z_j |
| 94 | +\] |
| 95 | + |
| 96 | +\[ |
| 97 | +h_i = -\frac{\mu_i}{2} + \text{penalty} |
| 98 | +\] |
| 99 | + |
| 100 | +\[ |
| 101 | +J_{ij} = \frac{\lambda \Sigma_{ij}}{4} |
| 102 | +\] |
| 103 | +\end{frame} |
| 104 | + |
| 105 | +\begin{frame}{Spin Glass Interpretation} |
| 106 | +\begin{itemize} |
| 107 | +\item Disorder: covariance matrix |
| 108 | +\item Frustration: conflicting correlations |
| 109 | +\item Many local minima |
| 110 | +\end{itemize} |
| 111 | +\end{frame} |
| 112 | + |
| 113 | +%================================================ |
| 114 | +\section{Quantum Mapping} |
| 115 | +%================================================ |
| 116 | + |
| 117 | +\begin{frame}{Pauli Mapping} |
| 118 | +\[ |
| 119 | +z_i \rightarrow Z_i |
| 120 | +\] |
| 121 | + |
| 122 | +\[ |
| 123 | +H_C = \sum_i h_i Z_i + \sum_{i<j} J_{ij} Z_i Z_j |
| 124 | +\] |
| 125 | +\end{frame} |
| 126 | + |
| 127 | +%================================================ |
| 128 | +\section{QAOA} |
| 129 | +%================================================ |
| 130 | + |
| 131 | +\begin{frame}{Ansatz} |
| 132 | +\[ |
| 133 | +\ket{\psi(\gamma,\beta)} = e^{-i\beta H_M} e^{-i\gamma H_C} \ket{+}^{\otimes n} |
| 134 | +\] |
| 135 | + |
| 136 | +\[ |
| 137 | +H_M = \sum_i X_i |
| 138 | +\] |
| 139 | +\end{frame} |
| 140 | + |
| 141 | +\begin{frame}{p-layer QAOA} |
| 142 | +\[ |
| 143 | +\prod_{k=1}^{p} e^{-i\beta_k H_M} e^{-i\gamma_k H_C} |
| 144 | +\] |
| 145 | +\end{frame} |
| 146 | + |
| 147 | +\begin{frame}{Variational Principle} |
| 148 | +\[ |
| 149 | +E(\gamma,\beta) = \bra{\psi} H_C \ket{\psi} |
| 150 | +\] |
| 151 | +\end{frame} |
| 152 | + |
| 153 | +%================================================ |
| 154 | +\section{Quantum Circuit} |
| 155 | +%================================================ |
| 156 | + |
| 157 | +\begin{frame}{Circuit (p=1)} |
| 158 | +\begin{quantikz} |
| 159 | +\lstick{$q_1$} & \gate{H} & \gate{e^{-i\gamma H_C}} & \gate{R_x(2\beta)} & \meter{} \\ |
| 160 | +\lstick{$q_2$} & \gate{H} & \gate{e^{-i\gamma H_C}} & \gate{R_x(2\beta)} & \meter{} |
| 161 | +\end{quantikz} |
| 162 | +\end{frame} |
| 163 | + |
| 164 | +%================================================ |
| 165 | +\section{Worked Example} |
| 166 | +%================================================ |
| 167 | + |
| 168 | +\begin{frame}{Real Data Workflow} |
| 169 | +\begin{enumerate} |
| 170 | +\item Download S\&P data (AAPL, MSFT, AMZN, GOOG) |
| 171 | +\item Compute returns |
| 172 | +\item Compute covariance |
| 173 | +\item Build Q matrix |
| 174 | +\item Map to Hamiltonian |
| 175 | +\item Run QAOA |
| 176 | +\end{enumerate} |
| 177 | +\end{frame} |
| 178 | + |
| 179 | +\begin{frame}{Returns} |
| 180 | +\[ |
| 181 | +r_i(t) = \frac{P_i(t+1)-P_i(t)}{P_i(t)} |
| 182 | +\] |
| 183 | +\end{frame} |
| 184 | + |
| 185 | +\begin{frame}{Covariance} |
| 186 | +\[ |
| 187 | +\Sigma_{ij} = \langle r_i r_j \rangle - \langle r_i \rangle \langle r_j \rangle |
| 188 | +\] |
| 189 | +\end{frame} |
| 190 | + |
| 191 | +\begin{frame}{Example Hamiltonian} |
| 192 | +\[ |
| 193 | +H = \sum_i h_i Z_i + \sum_{i<j} J_{ij} Z_i Z_j |
| 194 | +\] |
| 195 | + |
| 196 | +Coefficients computed from real data. |
| 197 | +\end{frame} |
| 198 | + |
| 199 | +%================================================ |
| 200 | +\section{Statistical Physics Connection} |
| 201 | +%================================================ |
| 202 | + |
| 203 | +\begin{frame}{Partition Function} |
| 204 | +\[ |
| 205 | +Z = \sum_{\{z\}} e^{-\beta H(z)} |
| 206 | +\] |
| 207 | +\end{frame} |
| 208 | + |
| 209 | +\begin{frame}{Free Energy} |
| 210 | +\[ |
| 211 | +F = -\frac{1}{\beta} \ln Z |
| 212 | +\] |
| 213 | +\end{frame} |
| 214 | + |
| 215 | +\begin{frame}{QAOA as Variational Free Energy Minimization} |
| 216 | +\begin{itemize} |
| 217 | +\item QAOA approximates ground state |
| 218 | +\item Equivalent to minimizing energy landscape |
| 219 | +\end{itemize} |
| 220 | +\end{frame} |
| 221 | + |
| 222 | +%================================================ |
| 223 | +\section{Scaling} |
| 224 | +%================================================ |
| 225 | + |
| 226 | +\begin{frame}{Complexity} |
| 227 | +\begin{itemize} |
| 228 | +\item Classical: NP-hard |
| 229 | +\item Quantum: variational heuristic |
| 230 | +\end{itemize} |
| 231 | +\end{frame} |
| 232 | + |
| 233 | +%================================================ |
| 234 | +\section{Summary} |
| 235 | +%================================================ |
| 236 | + |
| 237 | +\begin{frame}{Key Insights} |
| 238 | +\begin{itemize} |
| 239 | +\item Finance maps to spin physics |
| 240 | +\item QAOA is a variational solver |
| 241 | +\item Data $\rightarrow$ Hamiltonian |
| 242 | +\end{itemize} |
| 243 | +\end{frame} |
| 244 | + |
| 245 | +\end{document} |
0 commit comments