XanaduAI / QHack2022

QHack—The one-of-a-kind quantum computing hackathon
https://qhack.ai
88 stars 124 forks source link

Portfolio Optimization with QAOA and VQE #78

Open rodchaves opened 2 years ago

rodchaves commented 2 years ago

Team Name:

OneManTeam

Project Description:

Portfolio optimization is the optomization problem where you have a number of assets and seek to answer the question: which asset should I acquire to maximize my profit in the future? By doing it so, it minimizes risk and maximizes returns of a collection of assets, also a called a portfolio. The process is not as easy as it seems. In 1952, Markowitz showed that risks and returns are usually linked, so high rewards are usually associated to high risks.

In this project I use both QAOA and VQE in Qiksit and Pennylane to optimize the problem for four assests: VALE, PBR, PFE, and HPE. I gave a brief explanation of how the problem is solved in a quantum computer and how the hydrid algorithms work. We also check that the results obtained in both algorithms are equal.

Presentation:

https://github.com/rodchaves/QHack_Open_Hackaton

Source code:

https://github.com/rodchaves/QHack_Open_Hackaton

Which challenges/prizes would you like to submit your project for?

Quantum Finance Challenge QAOA Challenge

isaacdevlugt commented 2 years ago

Hey @rodchaves thank you for your submission! Just make sure that the hyperlinks direct our team directly to what is asked. It looks like your presentation hyperlink that you provided just goes to your repository. Is there a specific notebook, PDF, etc, that we should look at?

rodchaves commented 2 years ago

Hey, Isaac!

In the notebook with the source code I present the problem and every step necessary for the solution. Everything that is not directly related to the solution, I created python modules which are imported by the notebook. Is that ok?

Em sex., 25 de fev. de 2022 às 13:36, Isaac De Vlugt < @.***> escreveu:

Hey @rodchaves https://github.com/rodchaves thank you for your submission! Just make sure that the hyperlinks direct our team directly to what is asked. It looks like your presentation hyperlink that you provided just goes to your repository. Is there a specific notebook, PDF, etc, that we should look at?

— Reply to this email directly, view it on GitHub https://github.com/XanaduAI/QHack/issues/78#issuecomment-1051008633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUU3XDZ567VS7JAZXGKDDXLU46VXBANCNFSM5PIMRB3Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

isaacdevlugt commented 2 years ago

Jupyter notebooks are totally acceptable for presentation formats and source code 😄