QDuelsPlot2: Quantum Two Person Duel game

Description Usage Arguments Value References Examples

View source: R/QDuelsPlot2.R

Description

This function helps us to plot Alice's and Bob's expected payoffs as functions of the number of rounds n played in a repeated quantum duel. Psi is the initial state of the quantum game, n is the number of rounds, a is the probability of Alice missing the target, b is the probability of Bob missing the target, and alpha1, alpha2, beta1, beta2 are arbitrary phase factors that lie in -pi to pi that control the outcome of a poorly performing player.

Usage

1
QDuelsPlot2(Psi, n, a, b, alpha1, alpha2, beta1, beta2)

Arguments

Psi

a vector representing the initial quantum state

n

an integer

a

a number

b

a number

alpha1

a number

alpha2

a number

beta1

a number

beta2

a number

Value

No return value, plots Alice's and Bob's expected payoffs as functions of the number of rounds n played in a repeated quantum duel.

References

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

Examples

1
2
init()
QDuelsPlot2(Q$Q01, 10, 0.66666, 0.5, -pi/2, pi/4, 0.6, 0.4)

QGameTheory documentation built on July 8, 2020, 7:27 p.m.