Package: QGameTheory 0.1.2

QGameTheory: Quantum Game Theory Simulator

General purpose toolbox for simulating quantum versions of game theoretic models (Flitney and Abbott 2002) <arxiv:quant-ph/0208069>. Quantum (Nielsen and Chuang 2010, ISBN:978-1-107-00217-3) versions of models that have been handled are: Penny Flip Game (David A. Meyer 1998) <arxiv:quant-ph/9804010>, Prisoner's Dilemma (J. Orlin Grabbe 2005) <arxiv:quant-ph/0506219>, Two Person Duel (Flitney and Abbott 2004) <arxiv:quant-ph/0305058>, Battle of the Sexes (Nawaz and Toor 2004) <arxiv:quant-ph/0110096>, Hawk and Dove Game (Nawaz and Toor 2010) <arxiv:quant-ph/0108075>, Newcomb's Paradox (Piotrowski and Sladkowski 2002) <arxiv:quant-ph/0202074> and Monty Hall Problem (Flitney and Abbott 2002) <arxiv:quant-ph/0109035>.

Authors:Indranil Ghosh

QGameTheory_0.1.2.tar.gz
QGameTheory_0.1.2.zip(r-4.5)QGameTheory_0.1.2.zip(r-4.4)QGameTheory_0.1.2.zip(r-4.3)
QGameTheory_0.1.2.tgz(r-4.4-any)QGameTheory_0.1.2.tgz(r-4.3-any)
QGameTheory_0.1.2.tar.gz(r-4.5-noble)QGameTheory_0.1.2.tar.gz(r-4.4-noble)
QGameTheory_0.1.2.tgz(r-4.4-emscripten)QGameTheory_0.1.2.tgz(r-4.3-emscripten)
QGameTheory.pdf |QGameTheory.html
QGameTheory/json (API)

# Install 'QGameTheory' in R:
install.packages('QGameTheory', repos = c('https://indrag49.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/indrag49/qgametheory/issues

On CRAN:

game-theorygame-theory-modelquantum-computationquantum-computingquantum-computing-algorithms

3.70 score 10 stars 1 scripts 90 downloads 44 exports 20 dependencies

Last updated 23 days agofrom:ad918091da. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winERROROct 31 2024
R-4.5-linuxERROROct 31 2024
R-4.4-winERROROct 31 2024
R-4.4-macERROROct 31 2024
R-4.3-winERROROct 31 2024
R-4.3-macERROROct 31 2024

Exports:BellCNOTcol_countFredkinHadamardIDSDSinitlevi_civitaNASHPayoffMatrix_QBOSPayoffMatrix_QHawkDovePayoffMatrix_QPDPhasePhaseDaggerQBOSQDuels_Alice_payoffsQDuels_Bob_payoffsQDuelsPlot1QDuelsPlot2QDuelsPlot3QDuelsPlot4QFTQHawkDoveQMeasureQMontyHallQNewcombQPDQPennyFliprow_countRxRyRzsigmaXsigmaYsigmaZSWAPTTDaggerToffoliWalshWalsh16Walsh32Walsh4Walsh8

Dependencies:clidplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigR.methodsS3R.ooR.utilsR6RColorBrewerrlangtibbletidyselectutf8vctrswithr

Readme and manuals

Help Manual

Help pageTopics
Bell StatesBell
CNOT gateCNOT
Number of columns of a vector/matrixcol_count
Fredkin GateFredkin
Hadamard GateHadamard
Iterated Deletion of Strictly Dominated Strategies algorithmIDSDS
Initializationinit
Initializationinitialize_
Levi-Civita symbollevi_civita
Nash EquilibriumNASH
Quantum Battle of the Sexes game: Payoff MatrixPayoffMatrix_QBOS
Quantum Hawk and Dove game: Payoff MatrixPayoffMatrix_QHawkDove
Quantum Prisoner's Dilemma game: Payoff MatrixPayoffMatrix_QPD
Phase GatePhase
Hermitian Transpose of the Phase GatePhaseDagger
Quantum Battle of the Sexes gameQBOS
Quantum Two Person Duel gameQDuels_Alice_payoffs
Quantum Two Person Duel gameQDuels_Bob_payoffs
Quantum Two Person Duel gameQDuelsPlot1
Quantum Two Person Duel gameQDuelsPlot2
Quantum Two Person Duel gameQDuelsPlot3
Quantum Two Person Duel gameQDuelsPlot4
Quantum Fourier TransformQFT
Quantum Hawk and Dove gameQHawkDove
MeasurementQMeasure
Quantum Monty Hall ProblemQMontyHall
Quantum Newcomb's ParadoxQNewcomb
Quantum Prisoner's Dilemma gameQPD
Quantum Penny Flip gameQPennyFlip
Number of rows of a vector/matrixrow_count
Rotation operation about x-axis of the Bloch sphereRx
Rotation operation about y-axis of the Bloch sphereRy
Rotation operation about z-axis of the Bloch sphereRz
Pauli-X gatesigmaX
Pauli-Y gatesigmaY
Pauli-Z gatesigmaZ
SWAP gateSWAP
T gateT
Hermitian Transpose of the T gateTDagger
Toffoli gateToffoli
Walsh-Hadamard gateWalsh
Walsh-Hadamard gateWalsh16
Walsh-Hadamard gateWalsh32
Walsh-Hadamard gateWalsh4
Walsh-Hadamard gateWalsh8