Learn R Programming

QGameTheory (version 0.1.2)

Quantum Game Theory Simulator

Description

General purpose toolbox for simulating quantum versions of game theoretic models (Flitney and Abbott 2002) . Quantum (Nielsen and Chuang 2010, ISBN:978-1-107-00217-3) versions of models that have been handled are: Penny Flip Game (David A. Meyer 1998) , Prisoner's Dilemma (J. Orlin Grabbe 2005) , Two Person Duel (Flitney and Abbott 2004) , Battle of the Sexes (Nawaz and Toor 2004) , Hawk and Dove Game (Nawaz and Toor 2010) , Newcomb's Paradox (Piotrowski and Sladkowski 2002) and Monty Hall Problem (Flitney and Abbott 2002) .

Copy Link

Version

Install

install.packages('QGameTheory')

Monthly Downloads

166

Version

0.1.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Indranil Ghosh

Last Published

June 12th, 2020

Functions in QGameTheory (0.1.2)

QFT

Quantum Fourier Transform
QDuels_Bob_payoffs

Quantum Two Person Duel game
QDuels_Alice_payoffs

Quantum Two Person Duel game
QHawkDove

Quantum Hawk and Dove game
QNewcomb

Quantum Newcomb's Paradox
QMeasure

Measurement
QMontyHall

Quantum Monty Hall Problem
QPD

Quantum Prisoner's Dilemma game
QDuelsPlot2

Quantum Two Person Duel game
PhaseDagger

Hermitian Transpose of the Phase Gate
QDuelsPlot1

Quantum Two Person Duel game
QDuelsPlot3

Quantum Two Person Duel game
QDuelsPlot4

Quantum Two Person Duel game
Ry

Rotation operation about y-axis of the Bloch sphere
Rz

Rotation operation about z-axis of the Bloch sphere
sigmaX

Pauli-X gate
col_count

Number of columns of a vector/matrix
Walsh8

Walsh-Hadamard gate
row_count

Number of rows of a vector/matrix
init

Initialization
QBOS

Quantum Battle of the Sexes game
QPennyFlip

Quantum Penny Flip game
levi_civita

Levi-Civita symbol
Rx

Rotation operation about x-axis of the Bloch sphere
Walsh

Walsh-Hadamard gate
Walsh32

Walsh-Hadamard gate
Walsh4

Walsh-Hadamard gate
Walsh16

Walsh-Hadamard gate
sigmaY

Pauli-Y gate
sigmaZ

Pauli-Z gate
SWAP

SWAP gate
Phase

Phase Gate
TDagger

Hermitian Transpose of the T gate
T

T gate
Toffoli

Toffoli gate
Bell

Bell States
CNOT

CNOT gate
PayoffMatrix_QPD

Quantum Prisoner's Dilemma game: Payoff Matrix
PayoffMatrix_QBOS

Quantum Battle of the Sexes game: Payoff Matrix
PayoffMatrix_QHawkDove

Quantum Hawk and Dove game: Payoff Matrix
NASH

Nash Equilibrium
IDSDS

Iterated Deletion of Strictly Dominated Strategies algorithm
Fredkin

Fredkin Gate
Hadamard

Hadamard Gate