entropicalabs / openqaoa

Multi-backend SDK for quantum optimisation
MIT License
116 stars 58 forks source link

UF: Adding the portfolio optimization problem #216

Closed alejomonbar closed 1 year ago

alejomonbar commented 1 year ago

Unitary Fund

Adding the portfolio optimization problem to the set of openqaoa problems. This class method comes with the classical solution method and the plot_solution method to visualize specific solutions.

Description

New portfolio optimization class in problems. Test for the problem, random problem generation, classical solution, and plot solution.

Checklist

Type of change

How Has This Been Tested?

./tests/test_problems.py