This function generates the payoff matrix for the Quantum Prisoner's Dilemma game . moves is a list of the possible strategies for each of the players and w, x, y, z are the payoffs for 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 all the possible combinations of the strategies of the players.
Usage
PayoffMatrix_QPD(moves, w, x, y, z)
Arguments
moves
a list of matrices
w
a number
x
a number
y
a number
z
a number
Value
The payoff matrices for the two players as two elements of a list.