HomeQuantum PhysicsQuantum Portfolio Optimizer (QAOA)

Quantum Portfolio Optimizer (QAOA) — 2D

Interactive 2D QAOA simulator: a real 32-state statevector engine plus a real classical coordinate-search optimizer that tunes the cost/mixer angles step by step, with a live convergence plot and measurement-probability bar chart.

Quantum Physics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-qe-topic-14 ↗ Open standalone

Encode a five-asset portfolio-selection problem into a five-qubit register and run real QAOA on its exact 32-dimensional statevector, then watch a real classical coordinate-search optimizer tune the cost angle γ and mixer angle β of every layer, sweep by sweep, to raise the expectation value of the portfolio's risk-adjusted score. The bar chart shows the true Born-rule measurement probability of all 32 candidate portfolios under the best angles found so far; the convergence plot tracks that expectation value climbing toward the brute-force optimum. Tune the number of layers p and the risk-aversion λ, then run Optimize Step or Auto-Optimize to watch the same alternating cost/mixer circuit — and the same classical-optimizer outer loop — that IBM, Rigetti, and Google run on real superconducting qubits for combinatorial optimization.

⚙ Under the hood

Encode a 5-asset portfolio-selection problem into 5 qubits and run real QAOA on the exact 32-state amplitude distribution, watching alternating cost and mixer unitaries concentrate probability on the best risk-adjusted portfolio.

qaoaquantum-optimizationportfolio-optimizationquantum-computingvariational-algorithmfinance

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)