Solving the Optimal Trading Trajectory Problem Using a Quantum Annealer Gili Rosenberg, Poya Haghnegahdar, Phil Goddard, Peter Carr, Kesheng Wu, and Marcos.

Slides:



Advertisements
Similar presentations
Nonnegative Matrix Factorization with Sparseness Constraints S. Race MA591R.
Advertisements

Orthogonal Drawing Kees Visser. Overview  Introduction  Orthogonal representation  Flow network  Bend optimal drawing.
VSMC MIMO: A Spectral Efficient Scheme for Cooperative Relay in Cognitive Radio Networks 1.
Fast Algorithms For Hierarchical Range Histogram Constructions
Sensitivity Analysis Sensitivity analysis examines how the optimal solution will be impacted by changes in the model coefficients due to uncertainty, error.
1 Optimization Algorithms on a Quantum Computer A New Paradigm for Technical Computing Richard H. Warren, PhD Optimization.
5/4/2006BAE Analog to Digital (A/D) Conversion An overview of A/D techniques.
Applications of Numbered Undirected Graphs Gary s. Bloom and Solomon w. Golomb.
Aspects of Conditional Simulation and estimation of hydraulic conductivity in coastal aquifers" Luit Jan Slooten.
1 Minimum Ratio Contours For Meshes Andrew Clements Hao Zhang gruvi graphics + usability + visualization.
Lecture Presentation Software to accompany Investment Analysis and Portfolio Management Seventh Edition by Frank K. Reilly & Keith C. Brown Chapter.
Chien Hsing James Wu David Gottesman Andrew Landahl.
Curve-Fitting Regression
Approximation Algorithms
The Integration Algorithm A quantum computer could integrate a function in less computational time then a classical computer... The integral of a one dimensional.
Code and Decoder Design of LDPC Codes for Gbps Systems Jeremy Thorpe Presented to: Microsoft Research
More on Asset Allocation
A Fault-tolerant Architecture for Quantum Hamiltonian Simulation Guoming Wang Oleg Khainovski.
1 Software Testing Techniques CIS 375 Bruce R. Maxim UM-Dearborn.
©2003/04 Alessandro Bogliolo Background Information theory Probability theory Algorithms.
Lecture 1 Signals in the Time and Frequency Domains
Roman Keeney AGEC  In many situations, economic equations are not linear  We are usually relying on the fact that a linear equation.
© 2012 Cengage Learning. All Rights Reserved. May not scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Chapter.
Neurons, Neural Networks, and Learning 1. Human brain contains a massively interconnected net of (10 billion) neurons (cortical cells) Biological.
1 Hybrid methods for solving large-scale parameter estimation problems Carlos A. Quintero 1 Miguel Argáez 1 Hector Klie 2 Leticia Velázquez 1 Mary Wheeler.
Alternative Measures of Risk. The Optimal Risk Measure Desirable Properties for Risk Measure A risk measure maps the whole distribution of one dollar.
Version 1.2 Copyright © 2000 by Harcourt, Inc. All rights reserved. Requests for permission to make copies of any part of the work should be mailed to:
Portfolio Management-Learning Objective
Lecture Presentation Software to accompany Investment Analysis and Portfolio Management Seventh Edition by Frank K. Reilly & Keith C. Brown Chapter 7.
Finding the Efficient Set
Some Background Assumptions Markowitz Portfolio Theory
Investment Analysis and Portfolio Management Chapter 7.
ENCI 303 Lecture PS-19 Optimization 2
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Scheduling Many-Body Short Range MD Simulations on a Cluster of Workstations and Custom VLSI Hardware Sumanth J.V, David R. Swanson and Hong Jiang University.
New Modeling Techniques for the Global Routing Problem Anthony Vannelli Department of Electrical and Computer Engineering University of Waterloo Waterloo,
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Deterministic vs. Random Maximum A Posteriori Maximum Likelihood Minimum.
ENM 503 Lesson 1 – Methods and Models The why’s, how’s, and what’s of mathematical modeling A model is a representation in mathematical terms of some real.
Investment Analysis and Portfolio Management First Canadian Edition By Reilly, Brown, Hedges, Chang 6.
1 Dorit Aharonov Hebrew Univ. & UC Berkeley Adiabatic Quantum Computation.
Risk Analysis & Modelling
A Study of Error-Correcting Codes for Quantum Adiabatic Computing Omid Etesami Daniel Preda CS252 – Spring 2007.
CHAPTER 5 SIGNAL SPACE ANALYSIS
ECE-7000: Nonlinear Dynamical Systems Overfitting and model costs Overfitting  The more free parameters a model has, the better it can be adapted.
Monte-Carlo based Expertise A powerful Tool for System Evaluation & Optimization  Introduction  Features  System Performance.
Discrete optimisation problems on an adiabatic quantum computer
Recursive Architectures for 2DLNS Multiplication RESEARCH CENTRE FOR INTEGRATED MICROSYSTEMS - UNIVERSITY OF WINDSOR 11 Recursive Architectures for 2DLNS.
Rate Distortion Theory. Introduction The description of an arbitrary real number requires an infinite number of bits, so a finite representation of a.
Adiabatic Quantum Computing Josh Ball with advisor Professor Harsh Mathur Problems which are classically difficult to solve may be solved much more quickly.
Efficient Point Coverage in Wireless Sensor Networks Jie Wang and Ning Zhong Department of Computer Science University of Massachusetts Journal of Combinatorial.
Error Detecting and Error Correcting Codes
Marilyn Wolf1 With contributions from:
Biointelligence Laboratory, Seoul National University
Bounded Nonlinear Optimization to Fit a Model of Acoustic Foams
Invitation to Computer Science, C++ Version, Fourth Edition
Digital Control CSE 421.
Basic Computer Organization and Design
Compressive Coded Aperture Video Reconstruction
Combinational Logic Design&Analysis.
Deep Feedforward Networks
Lecture No. 4 Number Systems
Asset Allocation Methods
Computing and Compressive Sensing in Wireless Sensor Networks
Saif Ullah Lecture Presentation Software to accompany Investment Analysis and.
Quantum One.
Efficient Graph Cut Optimization for Full CRFs with Quantized Edges
Estimation Error and Portfolio Optimization
Registers.
Estimation Error and Portfolio Optimization
Part 4 - Chapter 13.
Presentation transcript:

Solving the Optimal Trading Trajectory Problem Using a Quantum Annealer Gili Rosenberg, Poya Haghnegahdar, Phil Goddard, Peter Carr, Kesheng Wu, and Marcos Lopez de Prado

Objective Give a brief introduction to the portfolio optimization problem Give a brief introduction to quantum annealing Illustrate how the portfolio optimization problem can be solved on the D-Wave's quantum annealer Look at the experimental results Describe the problems faced and the limitations of the work Think about whether it makes sense to actually execute real life problems on the D-Wave, based on the experimental results obtained

Portfolio Optimization Process of selecting the best portfolio out of multiple portfolios, according to some objective Objective typically involves maximizing expected return and minimizing risk Constrained utility-maximization problem NP-complete problem Central to the solution of this problem is the construction of a covariance matrix

Crux of the Problem Asset manager wants to invest K dollars in a set of N assets with an investment horizon divided into T time steps Asset manager has to decide how much to invest in each asset at each time step Has to take into account transaction costs, and the behavior of the market

Solution Compute the portfolio that maximizes the return subject to a level of risk at each time step Results in a series of statically optimal portfolios Cost of rebalancing from a portfolio that is locally optimal at t  to a portfolio that is locally optimal at t+1  Might result in the formulation of a less optimal portfolio than the globally optimal portfolio Traditionally solved as continuous-variable problems However for large assets, a discrete solution yields better results

Definition of Symbols

Integer Formulation The first term is the sum of the returns at each time step, which is given by the forecast returns μ times the holdings w. The second term is the risk, in which the forecast covariance tensor is given by Σ, and γ is the risk aversion. The third and fourth terms encapsulate transaction costs

What is Quantum Annealing Way of using the intrinsic effects of quantum physics to solve Optimization Problems Find best configuration amongst many possible configurations Can be represented as an energy minimization problem Probabilistic Sampling Related to optimization problems Instead of finding minimum energy state, sample many low energy states to characterize the shape of energy landscape

Use of Quantum Annealers are designed to solve certain problems using a quantum annealing algorithm that belongs to the adiabatic quantum model of computation and is implemented in hardware that exploits quantum properties

Adiabatic Quantum Optimization Perspective Slide taken from Joel Gottlieb's talk:  Introduction to the Physics of D-Wave and Comparison to the Gate Mode

Adiabatic Quantum Computation Steps for adiabatic quantum computation First, a Hamiltonian is found whose ground state describes the solution to the problem of interest Then, a system with a simple Hamiltonian is prepared and initialized to the ground state Finally the simple Hamiltonian is adiabatically evolved to the desired complicated Hamiltonian

D-Wave Quantum Annealer Device which minimizes unconstrained binary quadratic functions Cooled to 15 mK to keep disturbances at a minimum Shielded from RF signals Shielded from external magnetic fields larger than 1 nT Operates in a high vacuum environment

D-Wave application flow Recast variables in original problem as binary variables Convert to Quadratic Unconstrained Binary Optimization (QUBO) Solve QUBO with qbsolv Convert bit vector back to variables in problem domain Interpret qbsolv results and adjust accordingly Steps taken from Joel Gottlieb's talk: Driving to the 48 USA State Capitals: Programming the D-Wave QPU

Chimera Graph

Chimera Graph(contd.) Describes the connectivity of D-Wave's quantum annealer Sparsely connected graph with a well-defined structure of edges For square Chimera hardware graphs, the size V of the largest fully dense problem that can be embedded on a chip with q qubits is V = √2q +1=4s + 1, where s is the number of unit cells along an edge To solve problems that are denser than the hardware graph, multiple physical qubits are identified with a single logical qubit, at the cost of using many more physical qubits

From Integer to Binary To solve the optimization problem on the Quantum annealer, the variables in the equation given on slide 8 have to be recast as binary variables Four different encodings investigated for the purpose: Binary - representation of symbols in a source alphabet by strings of binary digits Unary - representation a natural number, n, with n ones followed by a zero Sequential - approximate decoding algorithm for long constraint-length convolutional codes Partitioning – find all partitions of K into N assets, and assign a binary variable to each encoding at each time step 

Binary Encoding Number of variables required to represent a particular problem is T*N*log2(K' + 1) Largest integer that can be represented is  [2n] - 1 Most efficient in number of variables Allows representation of the second-lowest integer Requires the least number of variables Most sensitive to noise

Unary Encoding Number of variables required to represent a particular problem is T*N*K' No limit on the largest integer that can be represented Biases the quantum annealer due to differing redundancy of code words for each value Encoding coefficients are even, giving no dependence on noise, so it allows representing of the largest integer Requires the second largest number of variables

Sequential Encoding Number of variables required to represent a particular problem is ½*T*N*(√(1+8K') − 1)  Largest integer that can be represented is  ½*[n]*([n] + 1) Biases the quantum annealer (but less than unary encoding) Second-most-efficient in number of variables  Allows representing of the second-largest integer

Partition Encoding Number of variables required to represent a particular problem is less than or equal to T*(K+N-1) or T*(N-1) Largest integer that can be represented is  [n] Can incorporate complicated constraints easily Least efficient in number of variables  Only applicable for problems in which groups of variables are required to sum to a constant  Allows representing the lowest integer.

Number of Binary Variables Used As we can see, unary encoding requires the maximum number of variables, compared to the other two encodings

Success rate increases while using 1Qbit's solver Results Success rate increases while using 1Qbit's solver

Results(contd.) The 1152-Qubit Quantum Annealer has a higher success rate than the 512-Qubit Quantum Annealer

Success Rate As a solution metric, the percentage of instances for each problem for which the quantum annealer’s result fell within perturbation magnitude α% of the optimal solution were used The metric was evaluated by perturbing each instance at least 100 times, by adding Gaussian noise with standard deviation given by α% of each eigenvalue of the problem matrix Q Each perturbed problem was solved by an exhaustive solver, and the optimal solutions were collected If the quantum annealer’s result for that instance fell within the range of optimal values collected, then it was deemed successful

Problems Level of intrinsic noise which manifests as a misspecification error Coefficients of the problem that the quantum annealer actually solves differ from the problem coefficients by up to Ɛ. Problem coefficients on the chip have a defined coefficient range, and if the specified problem has coefficients outside this range, the entire problem is scaled down, resulting in coefficients becoming smaller than Ɛ, affecting the success rate

Problems(contd.) To solve problems that are denser than the hardware graph, multiple physical qubits are identified with a single binary variable, at the cost of using more physical qubits To force the identified qubits to all have the same value, a strong coupling is needed More qubits needed, as more qubits would allow the use of an encoding scheme that is less sensitive to noise levels Better error correction required

Speedup There is an ongoing debate on how to define quantum speedup For the small-scale problems solved in this study, the time to solution, on both classical hardware and using the quantum annealer, is COMPARABLE Only after quantum speedup has been demonstrated for general problems, and specifically those requiring a high precision of couplings, is it expected that a quantum speedup for the optimal trading trajectory problem will be observed

Conclusion Demonstrated the potential of D-Wave’s quantum annealer to achieve high success rates while solving the portfolio optimization problem Possible to achieve a considerable improvement in success rates by finetuning the operation of the quantum annealer Technological improvements in future generations of quantum annealers are expected to provide the ability to solve larger problems, and at higher success rates