This repository contains a Jupyter Notebook (SDP_Bell.ipynb) that demonstrates how to use semidefinite programming (SDP) to find the maximum quantum violation of the CHSH Bell inequality. This maximum value is famously known as Tsirelson's bound (
The notebook uses cvxpy to construct and solve the optimization problem.
- Jhoan Eusse
Execute the notebook SDP_Bell.ipynb:
To run this notebook, you will need Python 3 and the following libraries:
cvxpynumpysympyqiskit
You can install them using pip:
pip install cvxpy numpy sympy qiskit