Learn R Programming

QGameTheory (version 0.1.2)

PayoffMatrix_QBOS: Quantum Battle of the Sexes game: Payoff Matrix

Description

This function generates the payoff matrix for the Quantum Battle of Sexes game for all the four combinations of p and q. moves is a list of two possible strategies for each of the players and alpha, beta, gamma are the payoffs for the players corresponding to the choices available to them with the chain of inequalities, alpha>beta>gamma.

Usage

PayoffMatrix_QBOS(moves, alpha, beta, gamma)

Arguments

moves

a list of matrices

alpha

a number

beta

a number

gamma

a number

Value

The payoff matrices for the two players as two elements of a list.

References

https://arxiv.org/pdf/quant-ph/0506219.pdf https://arxiv.org/pdf/quant-ph/0208069.pdf https://arxiv.org/abs/quant-ph/0110096

Examples

Run this code
# NOT RUN {
init()
moves <- list(Q$I2, sigmaX(Q$I2))
PayoffMatrix_QBOS(moves, 5, 3, 1)

# }

Run the code above in your browser using DataLab