Skip to content

koritsky/markowitz_partitioning

Repository files navigation

Markowitz_partitioning

Following modules are used to build an alorithm to find solution to markowitz portfolio optimization problem via breaking it into smaller ones using hierarchical risk parity method. Both of these problems are formalized in terms of ising model that can be solved using following approaches:

Simplified version of algorithm building is following:

Chart

Class BinaryProblem includes methods - solvers to handle with problems of form BinaryQuadraticModel (BQM). Subclasses Portfolio and Partitioning solve portfolio optimization and matrix partitioning problems accordingly. Portfolio build it's BQM from risk matrix, average and prices. Partitioning for similar purposes takes any square matrix (including risk matrix). Both use inherited method to solve their BQMs.
For more details take a look into examples files in general and main example particularly. Also don't hesitate to explore comments to source code.

About

Quantum hierarchical risk parity for Markowitz problem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published