Skip to content

Commit

Permalink
multiple runs added
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivansh20128 committed Oct 12, 2024
1 parent b563fe7 commit 171b291
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/tutorials.nonlocal_games.rst
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ use :code:`toqito` to determine the lower bound on the quantum value.
>>> import numpy as np
>>> from toqito.nonlocal_games.nonlocal_game import NonlocalGame
>>> chsh = NonlocalGame(prob_mat, pred_mat)
>>> np.around(chsh.quantum_value_lower_bound(), decimals=2)
>>> results = [np.around(chsh.quantum_value_lower_bound(), decimals=2) for _ in range(5)]
>>> max(results)
np.float64(0.85)
In this case, we can see that the quantum value of the CHSH game is in fact
Expand Down

0 comments on commit 171b291

Please sign in to comment.