
You provide historical asset prices. From these we compute expected returns r and the covariance matrix \Sigma. The goal is to find allocation weights w that achieve a target return (\mu) with minimal risk under standard constraints (weights sum to 1). Formally:
To solve it efficiently, we rewrite the optimization as a linear system Ax = b, which collects variables and constraints into one compact problem.
HHL (Harrow–Hassidim–Lloyd) solves Ax = b and—under standard assumptions—offers potential exponential speedups when the goal is to estimate functionals of the solution (e.g., portfolio-level risk \langle x|M|x\rangle) rather than reconstruct every component of x. Today on our platform HHL runs in simulation, so you receive the full allocation weights and constraint verification with high accuracy in a reproducible workflow.
Task: Mean-variance portfolio optimization on 3 assets; target return 2.1%/mo; weights sum to 1.
Execution
Simulator
Qubits
13
Training
Not needed
Expected Return
\approx 2.06\%/ month
Risk
\approx 0.43\%/ month
Feasibility (return constraint)
\|r^\top w - \mu\| \approx 2.0 \times 10^{-6}
Budget
\|\mathbf{1}^\top w - 1\| \approx 1.0 \times 10^{-3}
Classical Residual
\|Ax - b\| \approx 6.2 \times 10^{-5}
As fault-tolerant quantum hardware becomes available in the coming years, HHL-based portfolio optimization will unlock transformative business advantages:
Fewer computational steps per scenario at scale (N ~ 10⁶–10⁸)
When efficient state preparation and time evolution are implemented
More optimization runs for different scenarios per day
Accelerating portfolio strategy testing and validation
Lower computational spending per day
Getting significantly more value from the compute budget.
Simple and transparent: from your brief to quantum results, code, and a paper
Describe your problem in plain language; map it to the right use case
Confirm a domain-adapted quantum/hybrid method and key assumptions
Download the ready-to-run code; execute on a simulator with a fixed seed
Review reproducible results and logs — iterate in the Run → Review loop
Compare against a classical baseline; run on quantum hardware
Run your first HHL portfolio optimization and get transparent, reproducible results in minutes.
Try Your First Use Case for Free