SlideShare a Scribd company logo
1 of 22
Download to read offline
Marcos López de Prado
Multi-Period Integer Portfolio Optimization
Using a Quantum Annealer
Electronic copy available at: https://ssrn.com/abstract=2848632
Key Points
2
• The problem: For large portfolio managers, a sequence of single-
period optimal positions is rarely multi-period optimal.
• A major cause: Transaction costs can prevent large portfolio
managers from monetizing most of their forecasting power.
• The solution: Compute the trading trajectory that comes sufficiently
close to the single-period optima while minimizing turnover costs.
• A few solutions exist that compute trading trajectories, under
rather idealistic/simplistic scenarios.
• Computing a trading trajectory in general terms is a NP-Complete
problem.
• In this presentation we will illustrate how quantum computers can
solve this problem in the most general terms.
Electronic copy available at: https://ssrn.com/abstract=2848632
SECTION I
The Trading Trajectory Problem
Electronic copy available at: https://ssrn.com/abstract=2848632
The Trading Trajectory Problem
4
• Large portfolio managers need to optimize their portfolio over
multiple forecasted horizons, in order to properly account for
significant market impact (temporary & permanent).
• Some positions can only be traded in blocks (e.g., ETF units, real
estate, private offerings, etc.), thus requiring integer solutions.
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 2 4 6 8 10 12
Optimal
Weight
Time of Rebalance
Single-period Optimal Weight --- Multi-period Optimal Weight
• Rebalancing the portfolio to
align it with each single-step
optimum (blue dots) is often
prohibitively expensive.
• We could instead compute a
trajectory that maximizes
overall risk-adjusted
performance after all
transaction costs (black line).
Electronic copy available at: https://ssrn.com/abstract=2848632
How “hard” is this problem?
5
• Single-period:
– Jobst et al. [2001] showed that the efficient frontier of
the integer problem is discontinuous.
– Bonami and Lejeune [2009] have solved the single-period
problem with integer holdings without transaction costs.
– The single-period integer portfolio optimization problem
has been shown to be NP-complete, regardless of the risk
measure used (Kellerer, Mansini, Speranza [2000]).
• Multi-period:
– Garleanu and Pedersen [2013] solved a continuous multi-period problem for
a Brownian motion via dynamic programming (Bellman equations), deriving
a closed-form solution when the covariance matrix is positive definite and
transaction costs are proportional to market risk.
– Lopez de Prado [2014] showed that the integer problem is, in its most
general formulations, amenable to quantum computing.
Electronic copy available at: https://ssrn.com/abstract=2848632
Integer Optimization Formulation
6
• This multi-period integer optimization problem may be written as
𝑤 = argmax𝑤 𝜇𝑡
𝑇
𝑤𝑡
returns
−
𝛾
2
𝑤𝑡
𝑇
Σ𝑡𝑤𝑡
risk
− Δ𝑤𝑡
𝑇
Λ𝑡Δ𝑤𝑡
direct costs,
temp.impact
− Δ𝑤𝑡
𝑇
Λ𝑡
′
Δ𝑤𝑡
perm.impact
𝑇
𝑡=1
s.t.:
∀𝑡: 𝑤𝑛,𝑡 ≤ 𝐾
𝑁
𝑛=1
; ∀𝑡, ∀𝑛: 𝑤𝑛,𝑡 ≤ 𝐾′
Temporary t-costs c are
represented using the
tensor Λ, where
Λ𝑡,𝑛,𝑛′ = 𝑐𝑛,𝑡𝛿𝑛,𝑛′, and
similarly for the
permanent price impact
𝑐′
and Λ′
.
Electronic copy available at: https://ssrn.com/abstract=2848632
SECTION II
How does a Quantum Annealer solve this problem?
Electronic copy available at: https://ssrn.com/abstract=2848632
What is combinatorial optimization?
8
• Combinatorial optimization problems can be described as problems
where there is a finite number of feasible solutions, which result
from combining the discrete values of a finite number of variables.
• As the number of feasible combinations grows, an exhaustive search
becomes impractical.
• The traveling salesman problem is an example of a combinatorial
optimization problem that is known to be NP-hard.
• Digital computers evaluate and store
feasible solutions sequentially.
– The bits of a standard computer can
only adopt one of two possible
states ({0,1}) at once.
• This is a major disadvantage for finding
path-dependent solutions.
Electronic copy available at: https://ssrn.com/abstract=2848632
How do Quantum Computers work? (1/2)
9
• Quantum computers rely on qubits, which are memory elements
that may hold a linear superposition of both states ({0,1}).
– This allows them to evaluate and store all feasible solutions simultaneously.
Superposition States
𝛿 | 1,1 >
𝛾 | 0,1 >
𝛽 | 1,0 >
𝛼 | 0,0 >
• The state of a 2-bit digital system is determined by
2 binary digits.
• The state of a 2-bit quantum system is determined
by 4 coefficients: 𝛼, 𝛽, 𝛾, 𝛿 , normalized.
• N-qubits contain 2𝑁
units of classical information.
• Quantum computers may require an exponentially smaller number
of operations to reach a solution.
• Quantum effects such as tunneling and entanglement, may help
speed up the convergence of the procedure.
Electronic copy available at: https://ssrn.com/abstract=2848632
How do Quantum Computers work? (2/2)
10
• The digital-computer game “Angry Birds” uses
mathematics to solve a physics problem.
– A PDE library solves classical mechanics problems as
demanded by the user.
• Conversely, Quantum Computers use physics to
solve a mathematical problem.
• The Quantum Computing analogue of “Angry
Birds” is to program the chip to behave like
gravity, toss the bird, measure how it bounces.
• In order to keep external disturbances to a
minimum, the D-Wave machine is cooled to 15
mK (about 180 times colder than interstellar
space), and operates in a near vacuum shielded
from electromagnetic fields.
• This makes the D-Wave machine one of the
coolest things in the Galaxy… quite literally!
Electronic copy available at: https://ssrn.com/abstract=2848632
How does a Quantum Annealer work? (1/2)
11
• A Quantum Annealer is a quantum computer that solves
optimization problems that can be encoded as a Hamiltonian.
• D-Wave Systems has developed a device which minimizes
unconstrained binary quadratic functions of the form
min
𝑥
𝑥𝑇
𝑄𝑥
𝑠. 𝑡. ∶ 𝑥 ∈ 0,1 𝑁
where 𝑄 ∈ ℝ𝑁x𝑁
.
• The connectivity of the qubits in D-Wave’s quantum
annealer is currently described by a squared Chimera
graph (left figure, a 128-Qubit architecture).
• The hardware graph is sparse and in general does
not match the problem graph, which is defined by
the adjacency matrix of Q.
• Minor embedding: Several physical qubits can be
treated as a single logical qubit.
Electronic copy available at: https://ssrn.com/abstract=2848632
How does a Quantum Annealer work? (2/2)
12
• Superposition is useful to reach a solution quickly, however the final
result must be representable in terms of the basis states.
• Encoding: Integer variables are recast as binary variables.
Electronic copy available at: https://ssrn.com/abstract=2848632
SECTION III
Experimental Results
Electronic copy available at: https://ssrn.com/abstract=2848632
Experiment Design
14
Why do we need to repeat the procedure multiple times?:
• Remember, Quantum Computers will not return the
exact solution, because of hardware limitations.
• They are non-deterministic devices that search for the
optimal linear combinations of basis states!
• In addition, they are physical devices, and the solution is
recovered with a measurement error.
1. Generate a random multi-period integer optimization problem.
2. Using a digital computer:
a) Compute the exact solution by brute force.
b) Compute the variance of that solution by perturbating the covariance matrix.
3. Solve the problem using the Quantum Annealer.
4. Evaluate whether the Quantum solution falls within the exact
solution’s margin of error.
Electronic copy available at: https://ssrn.com/abstract=2848632
Accuracy
15
• The Quantum Annealer’s solution was within the margin of error in
a large majority of experiments.
Electronic copy available at: https://ssrn.com/abstract=2848632
Why is this relevant?
16
• Our approach is general and scalable:
– It computes integer (discrete) solutions (a NP-complete problem) that are
globally optimal over multiple-periods.
– We don’t impose a particular returns process.
– The procedure accepts very general transaction cost functions, and there is no
need to impose simplifying assumptions such as costs proportional to risk.
– The covariance matrix does not need to be positive definite. The solution does
not even require covariance invertibility!
The size of problems currently solvable by
Quantum computers is relatively small.
Numerous challenges need to be addressed.
The purpose of our work is to show that, in
the near future, Quantum computers will
solve many currently intractable problems,
and render obsolete some existing
approaches.
Electronic copy available at: https://ssrn.com/abstract=2848632
For Additional Details
17
The first wave of quantitative innovation in finance
was led by Markowitz optimization. Machine Learning
is the second wave and it will touch every aspect of
finance. López de Prado’s Advances in Financial
Machine Learning is essential for readers who want to
be ahead of the technology rather than being
replaced by it.
— Prof. Campbell Harvey, Duke University. Former
President of the American Finance Association.
Financial problems require very distinct machine
learning solutions. Dr. López de Prado’s book is the
first one to characterize what makes standard
machine learning tools fail when applied to the field
of finance, and the first one to provide practical
solutions to unique challenges faced by asset
managers. Everyone who wants to understand the
future of finance should read this book.
— Prof. Frank Fabozzi, EDHEC Business School. Editor
of The Journal of Portfolio Management.
Electronic copy available at: https://ssrn.com/abstract=2848632
THANKS FOR YOUR ATTENTION!
18
Electronic copy available at: https://ssrn.com/abstract=2848632
SECTION IV
The stuff nobody reads
Electronic copy available at: https://ssrn.com/abstract=2848632
Notice:
The research contained in this presentation is the result of a
continuing collaboration with
Peter Carr (Morgan Stanley, NYU), Phil Goddard (1QBit),
Poya Haghnegahdar (1QBit), Gili Rosenberg (1QBit),
Kesheng Wu (Berkeley Lab)
The full paper is available at:
http://ssrn.com/abstract=2649376
For additional details, please visit:
http://ssrn.com/author=434076
www.QuantResearch.info
Electronic copy available at: https://ssrn.com/abstract=2848632
Bio
Dr. Marcos López de Prado is the chief executive officer of True Positive Technologies. He founded
Guggenheim Partners’ Quantitative Investment Strategies (QIS) business, where he developed high-
capacity machine learning (ML) strategies that consistently delivered superior risk-adjusted returns.
After managing up to $13 billion in assets, Marcos acquired QIS and spun-out that business from
Guggenheim in 2018.
Since 2011, Marcos has been a research fellow at Lawrence Berkeley National Laboratory (U.S.
Department of Energy, Office of Science). One of the top-10 most read authors in finance (SSRN's
rankings), he has published dozens of scientific articles on ML and supercomputing in the leading
academic journals, and he holds multiple international patent applications on algorithmic trading.
Among several books, Marcos is the author of "Advances in Financial Machine Learning" (Wiley, 2018).
Marcos earned a PhD in Financial Economics (2003), a second PhD in Mathematical Finance (2011) from
Universidad Complutense de Madrid, and is a recipient of Spain's National Award for Academic
Excellence (1999). He completed his post-doctoral research at Harvard University and Cornell University,
where he teaches a Financial ML course at the School of Engineering. Marcos has an Erdős #2 and an
Einstein #4 according to the American Mathematical Society.
21
Electronic copy available at: https://ssrn.com/abstract=2848632
Disclaimer
• The views expressed in this document are the authors’
and do not necessarily reflect those of the
organizations he is affiliated with.
• No investment decision or particular course of action is
recommended by this presentation.
• All Rights Reserved.
22
Electronic copy available at: https://ssrn.com/abstract=2848632

More Related Content

Similar to Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Presentacion).pdf

A weighted-sum-technique-for-the-joint-optimization-of-performance-and-power-...
A weighted-sum-technique-for-the-joint-optimization-of-performance-and-power-...A weighted-sum-technique-for-the-joint-optimization-of-performance-and-power-...
A weighted-sum-technique-for-the-joint-optimization-of-performance-and-power-...Cemal Ardil
 
Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Khusro Kamaluddin
 
Paper review: Learned Optimizers that Scale and Generalize.
Paper review: Learned Optimizers that Scale and Generalize.Paper review: Learned Optimizers that Scale and Generalize.
Paper review: Learned Optimizers that Scale and Generalize.Wuhyun Rico Shin
 
Overview of quantum computing and it's application in artificial intelligence
Overview of quantum computing and it's application in artificial intelligenceOverview of quantum computing and it's application in artificial intelligence
Overview of quantum computing and it's application in artificial intelligenceBincySam2
 
Dynamic programming prasintation eaisy
Dynamic programming prasintation eaisyDynamic programming prasintation eaisy
Dynamic programming prasintation eaisyahmed51236
 
On the Numerical Solution of Differential Equations
On the Numerical Solution of Differential EquationsOn the Numerical Solution of Differential Equations
On the Numerical Solution of Differential EquationsKyle Poe
 
Algorithm Using Divide And Conquer
Algorithm Using Divide And ConquerAlgorithm Using Divide And Conquer
Algorithm Using Divide And ConquerUrviBhalani2
 
Parallel Artificial Bee Colony Algorithm
Parallel Artificial Bee Colony AlgorithmParallel Artificial Bee Colony Algorithm
Parallel Artificial Bee Colony AlgorithmSameer Raghuram
 
Analysis of Algorithm II Unit version .pptx
Analysis of Algorithm  II Unit version .pptxAnalysis of Algorithm  II Unit version .pptx
Analysis of Algorithm II Unit version .pptxrajesshs31r
 
Operation Research Techniques
Operation Research Techniques Operation Research Techniques
Operation Research Techniques Lijin Mathew
 
Technical Trends_Study of Quantum
Technical Trends_Study of QuantumTechnical Trends_Study of Quantum
Technical Trends_Study of QuantumHardik Gohel
 
Data Structures - Lecture 1 [introduction]
Data Structures - Lecture 1 [introduction]Data Structures - Lecture 1 [introduction]
Data Structures - Lecture 1 [introduction]Muhammad Hammad Waseem
 
19IS402_LP1_LM_22-23.pdf
19IS402_LP1_LM_22-23.pdf19IS402_LP1_LM_22-23.pdf
19IS402_LP1_LM_22-23.pdfGOWTHAMR721887
 
IRJET- Economic Load Dispatch using Metaheuristic Algorithms
IRJET-  	  Economic Load Dispatch using Metaheuristic AlgorithmsIRJET-  	  Economic Load Dispatch using Metaheuristic Algorithms
IRJET- Economic Load Dispatch using Metaheuristic AlgorithmsIRJET Journal
 

Similar to Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Presentacion).pdf (20)

A weighted-sum-technique-for-the-joint-optimization-of-performance-and-power-...
A weighted-sum-technique-for-the-joint-optimization-of-performance-and-power-...A weighted-sum-technique-for-the-joint-optimization-of-performance-and-power-...
A weighted-sum-technique-for-the-joint-optimization-of-performance-and-power-...
 
Power systemsilablri
Power systemsilablriPower systemsilablri
Power systemsilablri
 
Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)
 
CFD & ANSYS FLUENT
CFD & ANSYS FLUENTCFD & ANSYS FLUENT
CFD & ANSYS FLUENT
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Paper review: Learned Optimizers that Scale and Generalize.
Paper review: Learned Optimizers that Scale and Generalize.Paper review: Learned Optimizers that Scale and Generalize.
Paper review: Learned Optimizers that Scale and Generalize.
 
Overview of quantum computing and it's application in artificial intelligence
Overview of quantum computing and it's application in artificial intelligenceOverview of quantum computing and it's application in artificial intelligence
Overview of quantum computing and it's application in artificial intelligence
 
Dynamic programming prasintation eaisy
Dynamic programming prasintation eaisyDynamic programming prasintation eaisy
Dynamic programming prasintation eaisy
 
On the Numerical Solution of Differential Equations
On the Numerical Solution of Differential EquationsOn the Numerical Solution of Differential Equations
On the Numerical Solution of Differential Equations
 
Algorithm Using Divide And Conquer
Algorithm Using Divide And ConquerAlgorithm Using Divide And Conquer
Algorithm Using Divide And Conquer
 
Daa unit 2
Daa unit 2Daa unit 2
Daa unit 2
 
Daa unit 2
Daa unit 2Daa unit 2
Daa unit 2
 
Parallel Artificial Bee Colony Algorithm
Parallel Artificial Bee Colony AlgorithmParallel Artificial Bee Colony Algorithm
Parallel Artificial Bee Colony Algorithm
 
Analysis of Algorithm II Unit version .pptx
Analysis of Algorithm  II Unit version .pptxAnalysis of Algorithm  II Unit version .pptx
Analysis of Algorithm II Unit version .pptx
 
Operation Research Techniques
Operation Research Techniques Operation Research Techniques
Operation Research Techniques
 
Technical Trends_Study of Quantum
Technical Trends_Study of QuantumTechnical Trends_Study of Quantum
Technical Trends_Study of Quantum
 
Data Structures - Lecture 1 [introduction]
Data Structures - Lecture 1 [introduction]Data Structures - Lecture 1 [introduction]
Data Structures - Lecture 1 [introduction]
 
11 generalsisation of fluent
11 generalsisation of fluent11 generalsisation of fluent
11 generalsisation of fluent
 
19IS402_LP1_LM_22-23.pdf
19IS402_LP1_LM_22-23.pdf19IS402_LP1_LM_22-23.pdf
19IS402_LP1_LM_22-23.pdf
 
IRJET- Economic Load Dispatch using Metaheuristic Algorithms
IRJET-  	  Economic Load Dispatch using Metaheuristic AlgorithmsIRJET-  	  Economic Load Dispatch using Metaheuristic Algorithms
IRJET- Economic Load Dispatch using Metaheuristic Algorithms
 

Recently uploaded

Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...narwatsonia7
 
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...narwatsonia7
 
(Rocky) Jaipur Call Girl - 9521753030 Escorts Service 50% Off with Cash ON De...
(Rocky) Jaipur Call Girl - 9521753030 Escorts Service 50% Off with Cash ON De...(Rocky) Jaipur Call Girl - 9521753030 Escorts Service 50% Off with Cash ON De...
(Rocky) Jaipur Call Girl - 9521753030 Escorts Service 50% Off with Cash ON De...indiancallgirl4rent
 
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.MiadAlsulami
 
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...Taniya Sharma
 
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...astropune
 
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort ServiceCall Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Serviceparulsinha
 
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service ChennaiCall Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service ChennaiNehru place Escorts
 
Call Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
Call Girl Bangalore Nandini 7001305949 Independent Escort Service BangaloreCall Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
Call Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalorenarwatsonia7
 
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...Miss joya
 
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort ServicePremium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Servicevidya singh
 
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...Garima Khatri
 
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...astropune
 
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night EnjoyCall Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoybabeytanya
 
VIP Call Girls Pune Vani 9907093804 Short 1500 Night 6000 Best call girls Ser...
VIP Call Girls Pune Vani 9907093804 Short 1500 Night 6000 Best call girls Ser...VIP Call Girls Pune Vani 9907093804 Short 1500 Night 6000 Best call girls Ser...
VIP Call Girls Pune Vani 9907093804 Short 1500 Night 6000 Best call girls Ser...Miss joya
 
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...Miss joya
 
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls JaipurCall Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipurparulsinha
 
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore EscortsVIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escortsaditipandeya
 
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls AvailableVip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls AvailableNehru place Escorts
 

Recently uploaded (20)

Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...Bangalore Call Girls Nelamangala Number 7001035870  Meetin With Bangalore Esc...
Bangalore Call Girls Nelamangala Number 7001035870 Meetin With Bangalore Esc...
 
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...High Profile Call Girls Coimbatore Saanvi☎️  8250192130 Independent Escort Se...
High Profile Call Girls Coimbatore Saanvi☎️ 8250192130 Independent Escort Se...
 
(Rocky) Jaipur Call Girl - 9521753030 Escorts Service 50% Off with Cash ON De...
(Rocky) Jaipur Call Girl - 9521753030 Escorts Service 50% Off with Cash ON De...(Rocky) Jaipur Call Girl - 9521753030 Escorts Service 50% Off with Cash ON De...
(Rocky) Jaipur Call Girl - 9521753030 Escorts Service 50% Off with Cash ON De...
 
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
Artifacts in Nuclear Medicine with Identifying and resolving artifacts.
 
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
 
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
 
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort ServiceCall Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
Call Girls Service In Shyam Nagar Whatsapp 8445551418 Independent Escort Service
 
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service ChennaiCall Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
Call Girls Service Chennai Jiya 7001305949 Independent Escort Service Chennai
 
Call Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
Call Girl Bangalore Nandini 7001305949 Independent Escort Service BangaloreCall Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
Call Girl Bangalore Nandini 7001305949 Independent Escort Service Bangalore
 
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
Russian Call Girls in Pune Tanvi 9907093804 Short 1500 Night 6000 Best call g...
 
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCREscort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
Escort Service Call Girls In Sarita Vihar,, 99530°56974 Delhi NCR
 
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort ServicePremium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
Premium Call Girls Cottonpet Whatsapp 7001035870 Independent Escort Service
 
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
VIP Mumbai Call Girls Hiranandani Gardens Just Call 9920874524 with A/C Room ...
 
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
Best Rate (Hyderabad) Call Girls Jahanuma ⟟ 8250192130 ⟟ High Class Call Girl...
 
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night EnjoyCall Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
Call Girl Number in Panvel Mumbai📲 9833363713 💞 Full Night Enjoy
 
VIP Call Girls Pune Vani 9907093804 Short 1500 Night 6000 Best call girls Ser...
VIP Call Girls Pune Vani 9907093804 Short 1500 Night 6000 Best call girls Ser...VIP Call Girls Pune Vani 9907093804 Short 1500 Night 6000 Best call girls Ser...
VIP Call Girls Pune Vani 9907093804 Short 1500 Night 6000 Best call girls Ser...
 
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
VIP Call Girls Pune Sanjana 9907093804 Short 1500 Night 6000 Best call girls ...
 
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls JaipurCall Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
 
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore EscortsVIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
 
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls AvailableVip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
Vip Call Girls Anna Salai Chennai 👉 8250192130 ❣️💯 Top Class Girls Available
 

Multi-Period Integer Portfolio Optimization Using a Quantum Annealer (Presentacion).pdf

  • 1. Marcos López de Prado Multi-Period Integer Portfolio Optimization Using a Quantum Annealer Electronic copy available at: https://ssrn.com/abstract=2848632
  • 2. Key Points 2 • The problem: For large portfolio managers, a sequence of single- period optimal positions is rarely multi-period optimal. • A major cause: Transaction costs can prevent large portfolio managers from monetizing most of their forecasting power. • The solution: Compute the trading trajectory that comes sufficiently close to the single-period optima while minimizing turnover costs. • A few solutions exist that compute trading trajectories, under rather idealistic/simplistic scenarios. • Computing a trading trajectory in general terms is a NP-Complete problem. • In this presentation we will illustrate how quantum computers can solve this problem in the most general terms. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 3. SECTION I The Trading Trajectory Problem Electronic copy available at: https://ssrn.com/abstract=2848632
  • 4. The Trading Trajectory Problem 4 • Large portfolio managers need to optimize their portfolio over multiple forecasted horizons, in order to properly account for significant market impact (temporary & permanent). • Some positions can only be traded in blocks (e.g., ETF units, real estate, private offerings, etc.), thus requiring integer solutions. 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 2 4 6 8 10 12 Optimal Weight Time of Rebalance Single-period Optimal Weight --- Multi-period Optimal Weight • Rebalancing the portfolio to align it with each single-step optimum (blue dots) is often prohibitively expensive. • We could instead compute a trajectory that maximizes overall risk-adjusted performance after all transaction costs (black line). Electronic copy available at: https://ssrn.com/abstract=2848632
  • 5. How “hard” is this problem? 5 • Single-period: – Jobst et al. [2001] showed that the efficient frontier of the integer problem is discontinuous. – Bonami and Lejeune [2009] have solved the single-period problem with integer holdings without transaction costs. – The single-period integer portfolio optimization problem has been shown to be NP-complete, regardless of the risk measure used (Kellerer, Mansini, Speranza [2000]). • Multi-period: – Garleanu and Pedersen [2013] solved a continuous multi-period problem for a Brownian motion via dynamic programming (Bellman equations), deriving a closed-form solution when the covariance matrix is positive definite and transaction costs are proportional to market risk. – Lopez de Prado [2014] showed that the integer problem is, in its most general formulations, amenable to quantum computing. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 6. Integer Optimization Formulation 6 • This multi-period integer optimization problem may be written as 𝑤 = argmax𝑤 𝜇𝑡 𝑇 𝑤𝑡 returns − 𝛾 2 𝑤𝑡 𝑇 Σ𝑡𝑤𝑡 risk − Δ𝑤𝑡 𝑇 Λ𝑡Δ𝑤𝑡 direct costs, temp.impact − Δ𝑤𝑡 𝑇 Λ𝑡 ′ Δ𝑤𝑡 perm.impact 𝑇 𝑡=1 s.t.: ∀𝑡: 𝑤𝑛,𝑡 ≤ 𝐾 𝑁 𝑛=1 ; ∀𝑡, ∀𝑛: 𝑤𝑛,𝑡 ≤ 𝐾′ Temporary t-costs c are represented using the tensor Λ, where Λ𝑡,𝑛,𝑛′ = 𝑐𝑛,𝑡𝛿𝑛,𝑛′, and similarly for the permanent price impact 𝑐′ and Λ′ . Electronic copy available at: https://ssrn.com/abstract=2848632
  • 7. SECTION II How does a Quantum Annealer solve this problem? Electronic copy available at: https://ssrn.com/abstract=2848632
  • 8. What is combinatorial optimization? 8 • Combinatorial optimization problems can be described as problems where there is a finite number of feasible solutions, which result from combining the discrete values of a finite number of variables. • As the number of feasible combinations grows, an exhaustive search becomes impractical. • The traveling salesman problem is an example of a combinatorial optimization problem that is known to be NP-hard. • Digital computers evaluate and store feasible solutions sequentially. – The bits of a standard computer can only adopt one of two possible states ({0,1}) at once. • This is a major disadvantage for finding path-dependent solutions. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 9. How do Quantum Computers work? (1/2) 9 • Quantum computers rely on qubits, which are memory elements that may hold a linear superposition of both states ({0,1}). – This allows them to evaluate and store all feasible solutions simultaneously. Superposition States 𝛿 | 1,1 > 𝛾 | 0,1 > 𝛽 | 1,0 > 𝛼 | 0,0 > • The state of a 2-bit digital system is determined by 2 binary digits. • The state of a 2-bit quantum system is determined by 4 coefficients: 𝛼, 𝛽, 𝛾, 𝛿 , normalized. • N-qubits contain 2𝑁 units of classical information. • Quantum computers may require an exponentially smaller number of operations to reach a solution. • Quantum effects such as tunneling and entanglement, may help speed up the convergence of the procedure. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 10. How do Quantum Computers work? (2/2) 10 • The digital-computer game “Angry Birds” uses mathematics to solve a physics problem. – A PDE library solves classical mechanics problems as demanded by the user. • Conversely, Quantum Computers use physics to solve a mathematical problem. • The Quantum Computing analogue of “Angry Birds” is to program the chip to behave like gravity, toss the bird, measure how it bounces. • In order to keep external disturbances to a minimum, the D-Wave machine is cooled to 15 mK (about 180 times colder than interstellar space), and operates in a near vacuum shielded from electromagnetic fields. • This makes the D-Wave machine one of the coolest things in the Galaxy… quite literally! Electronic copy available at: https://ssrn.com/abstract=2848632
  • 11. How does a Quantum Annealer work? (1/2) 11 • A Quantum Annealer is a quantum computer that solves optimization problems that can be encoded as a Hamiltonian. • D-Wave Systems has developed a device which minimizes unconstrained binary quadratic functions of the form min 𝑥 𝑥𝑇 𝑄𝑥 𝑠. 𝑡. ∶ 𝑥 ∈ 0,1 𝑁 where 𝑄 ∈ ℝ𝑁x𝑁 . • The connectivity of the qubits in D-Wave’s quantum annealer is currently described by a squared Chimera graph (left figure, a 128-Qubit architecture). • The hardware graph is sparse and in general does not match the problem graph, which is defined by the adjacency matrix of Q. • Minor embedding: Several physical qubits can be treated as a single logical qubit. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 12. How does a Quantum Annealer work? (2/2) 12 • Superposition is useful to reach a solution quickly, however the final result must be representable in terms of the basis states. • Encoding: Integer variables are recast as binary variables. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 13. SECTION III Experimental Results Electronic copy available at: https://ssrn.com/abstract=2848632
  • 14. Experiment Design 14 Why do we need to repeat the procedure multiple times?: • Remember, Quantum Computers will not return the exact solution, because of hardware limitations. • They are non-deterministic devices that search for the optimal linear combinations of basis states! • In addition, they are physical devices, and the solution is recovered with a measurement error. 1. Generate a random multi-period integer optimization problem. 2. Using a digital computer: a) Compute the exact solution by brute force. b) Compute the variance of that solution by perturbating the covariance matrix. 3. Solve the problem using the Quantum Annealer. 4. Evaluate whether the Quantum solution falls within the exact solution’s margin of error. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 15. Accuracy 15 • The Quantum Annealer’s solution was within the margin of error in a large majority of experiments. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 16. Why is this relevant? 16 • Our approach is general and scalable: – It computes integer (discrete) solutions (a NP-complete problem) that are globally optimal over multiple-periods. – We don’t impose a particular returns process. – The procedure accepts very general transaction cost functions, and there is no need to impose simplifying assumptions such as costs proportional to risk. – The covariance matrix does not need to be positive definite. The solution does not even require covariance invertibility! The size of problems currently solvable by Quantum computers is relatively small. Numerous challenges need to be addressed. The purpose of our work is to show that, in the near future, Quantum computers will solve many currently intractable problems, and render obsolete some existing approaches. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 17. For Additional Details 17 The first wave of quantitative innovation in finance was led by Markowitz optimization. Machine Learning is the second wave and it will touch every aspect of finance. López de Prado’s Advances in Financial Machine Learning is essential for readers who want to be ahead of the technology rather than being replaced by it. — Prof. Campbell Harvey, Duke University. Former President of the American Finance Association. Financial problems require very distinct machine learning solutions. Dr. López de Prado’s book is the first one to characterize what makes standard machine learning tools fail when applied to the field of finance, and the first one to provide practical solutions to unique challenges faced by asset managers. Everyone who wants to understand the future of finance should read this book. — Prof. Frank Fabozzi, EDHEC Business School. Editor of The Journal of Portfolio Management. Electronic copy available at: https://ssrn.com/abstract=2848632
  • 18. THANKS FOR YOUR ATTENTION! 18 Electronic copy available at: https://ssrn.com/abstract=2848632
  • 19. SECTION IV The stuff nobody reads Electronic copy available at: https://ssrn.com/abstract=2848632
  • 20. Notice: The research contained in this presentation is the result of a continuing collaboration with Peter Carr (Morgan Stanley, NYU), Phil Goddard (1QBit), Poya Haghnegahdar (1QBit), Gili Rosenberg (1QBit), Kesheng Wu (Berkeley Lab) The full paper is available at: http://ssrn.com/abstract=2649376 For additional details, please visit: http://ssrn.com/author=434076 www.QuantResearch.info Electronic copy available at: https://ssrn.com/abstract=2848632
  • 21. Bio Dr. Marcos López de Prado is the chief executive officer of True Positive Technologies. He founded Guggenheim Partners’ Quantitative Investment Strategies (QIS) business, where he developed high- capacity machine learning (ML) strategies that consistently delivered superior risk-adjusted returns. After managing up to $13 billion in assets, Marcos acquired QIS and spun-out that business from Guggenheim in 2018. Since 2011, Marcos has been a research fellow at Lawrence Berkeley National Laboratory (U.S. Department of Energy, Office of Science). One of the top-10 most read authors in finance (SSRN's rankings), he has published dozens of scientific articles on ML and supercomputing in the leading academic journals, and he holds multiple international patent applications on algorithmic trading. Among several books, Marcos is the author of "Advances in Financial Machine Learning" (Wiley, 2018). Marcos earned a PhD in Financial Economics (2003), a second PhD in Mathematical Finance (2011) from Universidad Complutense de Madrid, and is a recipient of Spain's National Award for Academic Excellence (1999). He completed his post-doctoral research at Harvard University and Cornell University, where he teaches a Financial ML course at the School of Engineering. Marcos has an Erdős #2 and an Einstein #4 according to the American Mathematical Society. 21 Electronic copy available at: https://ssrn.com/abstract=2848632
  • 22. Disclaimer • The views expressed in this document are the authors’ and do not necessarily reflect those of the organizations he is affiliated with. • No investment decision or particular course of action is recommended by this presentation. • All Rights Reserved. 22 Electronic copy available at: https://ssrn.com/abstract=2848632