1\ Thread:

A Quantum Revolution is Looming.

Why should you care?
Is it going to “break Bitcoin”?

A Trader’s Overview of the Quantum World
2\ You probably have heard of quantum teleportation. No, it is not going to make your girlfriend appear on your bed whilst your parents are sleeping. Whilst it cannot currently destroy your digital coins, it might just be able to do that, sometime soon.
3\ So, what is Quantum Mechanics? It is a fundamental theory in physics that provides a description of the physical properties of nature. The branch of quantum theory dealing with manipulation and computation of quantum bits (qubits) is known as quantum computational theory.
4\ It is known to popular culture and media as some “holy grail”, and much like AI suffers from the buzzword syndrome, no thanks to Einstein and The Big Bang Theory. It also has a long history of overpromising and underdelivering.
5\ Theoretical advances far outpace physical engineering capacities, leaving much to be desired in terms of hardware. It turns out that quantum computers are susceptible to interactions with surroundings (decoherence), and other problems exist.
6\ Error correcting mechanisms are needed, and “circuit depth” is a real challenge for implementing useful algorithms that have already been proposed. Basically, let’s leave the hardware issue discussion for the thread as “it be tough”; quantum theorists have charged ahead.
7\ But, it seems that in recent years that efforts and advances is accelerating towards usability. So, what exactly can these do? Let’s handwave over general classes of “Quantum Solutions”, and then maybe dive deeper into one of them.
8\ Some of the problem they can solve (theoretically) for trading include quantum optimization problems (quantum annealing), optimal trading path, identifying arbitrage paths, quantum machine learning, quantum neural nets, quantum monte carlo et cetera.
9\ Note that we have not even tackled its potential boons in other facets of finance. So, let’s maybe try to explain Quantum Monte Carlo (QMC). How is it different? One of the properties of quantum states, as opposed to classical states is the “superposition” phenomena.
10\ Instead of being discrete states 00, 01 et cetera, quantum states can exist in a combination of these basis states. You probably also heard of “entanglement”, and things like “schrodinger's cat”.
11\ Well, the interesting this is that observing/measurement of quantum states collapses this superposition into one of just one of the states. If measurement of qubits were just arbitrary in measurement, one would think that such a measurement would contain little information
12\ The trick is that the probability of measurements is non-uniform, and the distribution depends on their relative amplitudes. This is where things get exciting. You can measure a state, but it turns out you can use some clever tricks called “Quantum Amplitude Estimation”
13\ Now suppose you quantum bits, and you can query some oracle to manipulate these bits such that the outcome is encoded in the amplitudes. If the oracle were simulating some path (like in Monte Carlo), you can now estimate all sorts of statistical distributions.
14\ The slam dunk is, you only “query the oracle” once to obtain your sampling distribution along a sampling axis. In the classical space, obtaining N independent samples require N units of time, but quantumly you do it “all at once”; a near quadratic speedup can be obtained.
15\ The consequences of these are significant, particularly for derivatives desks, who price their books heavily using Monte Carlo engines. More paths, mean higher accuracy.
16\ For large portfolios containing exotic derivatives with complex payoffs now can be “marked-to-marked” a lot faster than they currently are. Imagine a HFT that can identify optimal trading paths for an arb faster than their counterparts. The flash boys just got faster.
17\ For the “Bitcoin bros”, quantum prime factorization is a real headache, due to Shor’s algorithm. Many blockchain cryptographic principles will be rendered useless via the evolution of quantum computers.
18\ When such an era shall arrive, not all is lost. Cryptography can also exist in quantum channels, and Quantum Cryptography will rear its head.

FIN

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with HangukQuant

HangukQuant Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @HangukQuant

9 Oct
THREAD: Stochastic Optimization in Dynamic Environments: Portfolio Allocation by a Quant ▼

1\ Combining alpha signals are an essential part of portfolio management, with extensive literature on integrating alpha. Famous examples include the (Half) Kelly, Markowitz portfolios.
2\ We provide a review of these methods and offer glimpses at our unique, proprietary robust signal-weighting scheme. Let us consider the problem statement and inherent characteristics of dynamic optimisation.
3\ The obvious, and most problematic behaviour is the presence of stochasticity in a dynamic environment.

For an academic treatment of stochastic optimization, a lesson from the Department of Statistics at Columbia.

stat.columbia.edu/~liam/teaching…
Read 25 tweets
6 Oct
1\13 One of the biggest challenges in quant and alpha research is obtaining clean, error-free data. Models need be built, using assumptions to reduce “dimensions” of reality for tractability.

A THREAD ▼ ▼ ▼
Machine Learning, Sparse Datasets and Error-Free Simulations
2\ Mathematical models, by definition are built to simulate and capture some phenomena, practical or abstract. Often, they are built on data, which themselves are derived from some unknown, statistical distribution.
3\ For example, an alpha model, is backtested upon data where prices/returns are drawn from some distribution. Widely in quantitative finance, they are assumed to be drawn from a log-normal distribution.
Read 13 tweets
5 Oct
Been a fulfilling ~1 month since our launch. For hitting 1k followers, we have a special thread for you, including a premium alpha report and a case study. 🔥

MEGA Thread (N = 60+) : Robust Alpha Research Processes; HangukQuant

↓ ↓ ↓ ↓ ↓
On Alpha Research, and Quantitative Alpha
On Trading Edges, and Adopting Research Methods
Read 7 tweets
5 Oct
Sub-Thread 5

HangukQuant’s Alpha
Sample Article
📌 HangukQuant’s Alpha

1) We adopt the Hybrid (Type 3) approach in the alpha research process. The hybridity is reflected in our team’s dynamic, with practitioners working on the theoretical models, and traders providing input on the heuristical discovery of alpha.
2) The result is a coherent product in the form an “alpha report”, that premium subscribers get access to weekly.
Read 11 tweets
5 Oct
Sub-Thread 4

Numerical Expression of the Thought Process

“Horizontal Alpha Research”; Alpha Fracking

Alpha Probing
📌 Numerical Expression of the Thought Process

1)

-1 * cor ( returns(1) , delay( returns(1) , 1 ) , 90)

“The alpha is the negative correlation between time-series of daily returns and its 1-lagged series, taken across, say, 90 days.”
2) The strategy of numerically ranking the outputs from above and going risk-neutral L/S quantiles on 30 stochastically sampled S&P assets:
Read 16 tweets
5 Oct
Sub-Thread 3

The Research Process

The Alpha Leak

“Vertical Alpha Research”, A Thought Process
📌 The Research Process

1)
Type 1: To keep my knowledge of finance, I both subscribe to financial literature, academic or otherwise. That means reading books/papers on finance, trading, economics, podcasts for general knowledge, and a working knowledge “Mathematical Finance”.
2)
Type 2: My knowledge on Computer Science and Statistical methods comes from my background in academia. I also keep up to date on new state-of-the-art research by reading academic literature.
Read 14 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(