Skip to content

thoughtpoet/Toward-high-frequency-trading-on-the-quantm-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Improving strategic games using quantum computing

Quantum game theory studies how strategic interactions, also referred to as strategic games or non-cooperative games, can be improved upon when implemented on quantum computers. Non-cooperative games are ubiquitous, manifesting in biological settings when organisms compete over finite resources, in international relations when self-enforcing policies (like those for climate change) are to be drafted, in financial transactions, and in the design of supply-chain and network protocols. In all these settings, the solution of a non-cooperative game is the Nash equilibrium, a specific, stronger instance of multi-criteria optimization (MOO) in which each player's payoff in the game is the best possible, given the payoff to all other players.

When non-cooperative games like Prisoner's Dilemma are played on a quantum computer, features of the quantum realm produce Nash equilibria that are better paying than those possible on a conventional computer. This phenomenon holds real-world utility in the form of better paying trades when applied to online trading.

Online trading on the quantum cloud

The current version of this project gives Qiskit code for playing Prisoner's Dilemma on IBM's quantum computer. This is a first step in modeling and implementing high-frequency trading (HFT) as Prisoner's Dilemma using cloud-based quantum processors. The final version of this project envisions deploying a HFT-on-quantum-cloud platform.

Why are quantum computed Nash equilibria better?

When a non-cooperative game like Prisoner's Dilemma is played on a computing system, the system can be viewed as a ``referee'' who correlates the outcomes of the game in a way that is impossible when the players randomize over their respective strategies independently. The referee then tells each player what strategy they should play to achieve the expected payoff from the correlation. If each player agrees with the referee, the resulting equilibrium is called a correlated equilibrium. A correlated equilibrium is simply Nash equilibrium in the proper extension of a game to include a referee-enabled correlations. Correlated equilibria can be better quality than the original Nash equilibria.

When a game is played on a quantum computing system, the "quantum referee" can create quantum correlation that are stronger than the classical correlation of the conventional referee, and this can result in better quality Nash equilibria in the quantum (extension of a) game.

Calculating Nash equilibria on a quantum computer

There exists the separate problem of calculating Nash equilibrium, a computationally intensive process for large games. To mitigate this, quantum annealers can be used to accelerae its calculation. See: https://github.com/DarkStarQuantumLab/NashEquilibrium.

How to run

  1. In Google Collab through pip install qiskit (provided in the Notebook). The IBM Q account token may be required.
  2. Or upload the notebook to the IBM Quntum Lab (https://quantum-computing.ibm.com/). No installations are required, simply import required frameworks.

License

This work is licensed under the Apache 2 License and is owned by Dark Star Quanutm Lab Inc

License

About

EWL protocol in Qiskit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published