diff --git a/docs/tutorials.nonlocal_games.rst b/docs/tutorials.nonlocal_games.rst index 2eedcbb8..072a9742 100644 --- a/docs/tutorials.nonlocal_games.rst +++ b/docs/tutorials.nonlocal_games.rst @@ -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) - >>> results = [np.around(chsh.quantum_value_lower_bound(), decimals=2) for _ in range(5)] + >>> # Multiple runs to avoid trap in suboptimal quantum value. + >>> results = [np.around(chsh.quantum_value_lower_bound(), decimals=2) for _ in range(5)] >>> max(results) np.float64(0.85)