Classical vs. Quantum Portfolio Optimization
Quant-Squared explores the application of quantum computing to financial portfolio optimization by comparing classical Mean-Variance Optimization (MVO) with the Quantum Approximate Optimization Algorithm (QAOA).
The project uses historical stock data to compare portfolio selection, expected returns, volatility, and risk-adjusted performance.
- MVO: Uses continuous optimization to minimize portfolio volatility or maximize the Sharpe ratio.
- QAOA: Uses binary optimization to select a fixed number of assets, which are assigned equal weights.
- Classical Benchmark: Uses exhaustive search to identify the optimal binary asset selection and evaluate QAOA's performance.
Python · NumPy · Pandas · SciPy · Matplotlib · Qiskit · Qiskit Finance
Harvey Ren
- Collected approximately one year of daily closing prices for publicly traded stocks.
- Ensured matching dates and organized ticker symbols, dates, and prices.
- Developed the Mean-Variance Optimization algorithm (
portOpt.py).
Lucille Tijerina
- Calculated daily percentage returns and average daily returns for each stock.
Alexa Linares-Rivas
- Calculated the variance and volatility of each stock's returns.
Ben Rochlitz
- Calculated covariance and correlation between stocks.
- Organized and formatted the CSV files.
Ripley Sinclair
- Implemented QAOA using Qiskit.
- Developed the Jupyter notebook and comparative analysis.
This project uses a small asset universe and historical financial data. QAOA performs binary asset selection rather than continuous weight optimization. The experiment does not demonstrate a practical quantum computational advantage.
For educational and research purposes only.