Quantum Engine Setup
Variational Energy Convergence
$\langle \mathcal{H}_C \rangle \to E_0$Basis State Probabilities $|\langle x | \psi \rangle|^2$
Optimum: |1010⟩Parameterized Quantum Circuit Schematic
Single-Qubit Bloch Vector Projections
$\mathbf{r}_i = (\langle X \rangle, \langle Y \rangle, \langle Z \rangle)$Ising Spin-Glass Coupling Matrix ($J_{ij}$)
$\mathcal{H}_C = \sum h_i Z_i + \sum J_{ij} Z_i Z_j$§ Rigorous Quantum Mechanical Formulation & Spin Mapping
Mathematical mapping of Markowitz portfolio optimization onto quantum transverse-field Ising Hamiltonians
Each binary portfolio decision variable $x_i \in \{0, 1\}$ is represented as a spin operator on the 2-dimensional Hilbert space $\mathcal{H}_2 \cong \mathbb{C}^2$:
Eigenstate $|0\rangle \to x_i = 0$ (unallocated) and $|1\rangle \to x_i = 1$ (allocated).
QAOA prepares the state $|\boldsymbol{\gamma}, \boldsymbol{\beta}\rangle = \prod_{l=1}^p e^{-i \beta_l \mathcal{H}_M} e^{-i \gamma_l \mathcal{H}_C} |+\rangle^{\otimes n}$.
By Farhi et al. (2014), as $p \to \infty$, the state adiabatically converges to the exact ground state with approximation ratio $\alpha \to 1$.
The Variational Quantum Eigensolver evaluates expectation values through the hardware-efficient ansatz $|\psi(\boldsymbol{\theta})\rangle$:
Analytical parameter-shift gradients $\nabla_{\theta_k} \langle \mathcal{H} \rangle = \frac{\langle \mathcal{H} \rangle_{\theta_k + \frac{\pi}{2}} - \langle \mathcal{H} \rangle_{\theta_k - \frac{\pi}{2}}}{2}$ allow gradient descent without classical finite-difference truncation error.