Quantum Modeler · Portfolio Selection

Portfolio Selection

Select exactly K assets using supplied expected returns and covariance. Minimize riskWeight × xᵀΣx − returnsᵀx. Binary asset holdings only; no fractional allocation, market feeds, or trading.

Execute at most 8 total qubits using an ideal classical statevector simulator. Symbolic scaling does not execute or solve a larger instance.

Build your problem

Presets replace problem inputs. Your execution and projection settings stay as entered. Edit any input, then build to calculate new results.

Problem inputsSpace or comma-separated finite numbers. The API checks symmetry and positive semidefiniteness within documented tolerances.
Large-target projection (optional)

Leave blank to project the current instance. Supply both size fields for a separate target; only the small problem is executed.

Grey examples are suggestions; enter values for your own target.
Execution settings

Depth 1 QAOA, at most 64 parameter evaluations. One completed build uses one run when usage limits are enabled.

Qubit budget

All decision and auxiliary variables count toward the limit. The API validates all constraints before reserving a run.

Read the mathematical methodology

Ready to validate a small instance.

Routing and scheduling models

TSP · Job Scheduling · Vehicle Routing. Tiny validated examples execute within eight total qubits; larger inputs use the Problem Compiler.

No quantum advantage, real-QPU performance, physical-qubit requirement, or production-scale solution quality is claimed.