XORClassicalValue
Revision as of 00:22, 20 November 2014 by Nathaniel (talk | contribs) (Created page with "{{Function |name=XORClassicalValue |desc=Computes the classical value of a nonlocal binary XOR game |rel=XORQuantumValue |cat=List of functions#Nonlocal_games|Nonlocal g...")
| XORClassicalValue | |
| Computes the classical value of a nonlocal binary XOR game | |
| Other toolboxes required | none |
|---|---|
| Related functions | XORQuantumValue |
| Function category | Nonlocal games |
XORClassicalValue is a function that computes the classical value of a nonlocal binary XOR game. That is, it computes the optimal probability of two parties (Alice and Bob) winning such a game if they are not allowed to communicate during the game (or do anything "quantum", like share entanglement).
Syntax
- WC = XORClassicalValue(P,F)
Argument descriptions
- P: A matrix whose (s,t)-entry gives the probability that the referee will give Alice the value s and Bob the value t. The sum of all entries of this matrix must be 1.
- F: A binary matrix (of the same size as P) whose (s,t)-entry indicates the winning choice (either 0 or 1) when Alice and Bob receive values s and t from the referee.
Examples
See the XORQuantumValue function's documentation page for several examples of how to use this function (these two functions are used in the exact same way, and several examples for both functions are provided on that page).
Source code
Click here to view this function's source code on github.