QPD {QGameTheory} | R Documentation |
Quantum Prisoner's Dilemma game
Description
This function returns the expected payoffs to Alice and Bob, with the strategy moves by Alice and Bob as two of the inputs. w, x, y, z
are the payoffs to the players corresponding to the choices available to them with the chain of inequalities, z>w>x>y
.
This function also plots the probability distribution plots of the qubits for one of all the combinations of the strategies of the players.
Usage
QPD(U_Alice, U_Bob, w, x, y, z)
Arguments
U_Alice |
a matrix lying in SU(2) |
U_Bob |
a matrix lying in SU(2) |
w |
a number |
x |
a number |
y |
a number |
z |
a number |
Value
A vector consisting of the expected payoffs to Alice and Bob as its elements according to the strategies played by Alice and Bob and also the payoff values.
References
https://arxiv.org/pdf/quant-ph/0506219.pdf
https://arxiv.org/pdf/quant-ph/0208069.pdf
https://arxiv.org/pdf/quant-ph/0004076.pdf
Examples
init()
QPD(Hadamard(Q$I2), sigmaZ(Q$I2), 3, 1, 0, 5)