2022 Developer Survey is open! Take survey.

New answers tagged

1 vote

Qiskit sample - Portfolio optimization

Well you can fix it also. Like if you want to take 3 assets. THEN TAKE BUDGET=3. [BUDGET IS THE NO OF ASSETS U WANT TO SELECT OUT OF TOTAL ASSETS(num_assets)] Now your number of assets can be 5, 10, ...
user avatar

Top 50 recent answers are included