QDuelsPlot3 {QGameTheory} | R Documentation |
Quantum Two Person Duel game
Description
This function helps us to plot the improvement in Alice's expected payoff as a function of a
and b
, if Alice chooses to fire at the air in her second shot, in a two round game. 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
QDuelsPlot3(Psi, alpha1, alpha2)
Arguments
Psi |
a vector representing the initial quantum state |
alpha1 |
a number |
alpha2 |
a number |
Value
No return value, plots the improvement in Alice's expected payoff as a function of a
and b
, if Alice chooses to fire at the air in her second shot, in a two round game.
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
init()
Qs <- (Q$Q0+Q$Q1)/sqrt(2)
Psi <- kronecker(Q$Q1, Qs)
QDuelsPlot3(Psi, pi/3, pi/6)