This project runs the real experiment that demonstrates the reason why Einsten was wrong in the Einstein-Podolsky-Rosen article in quantum theory. It runs the code detailed in https://qiskit.org/textbook/ch-demos/chsh.html.
# Clone the repository
git clone [email protected]:CosmicDNA/chsh-inequality.git
# Enter cloned folder
cd chsh-inequality
# Create virtual environment for pip packages
python -m venv .venv
# Install requirements
pip install -r requirements.txt
Edit .envrc.sample file name to .envrc and paste the token retrieved from https://quantum-computing.ibm.com/
Once the environment variable is set, run the following to save your account details:
python src/save_account.py
Running the CSH Inequality Jupyter notebook
Once the token has been saved to your IBM local account, you can run the Jupyter notebook from src/chsh-inequality.ipynb by either following the intructions present here or running directly from Visual Studio Code following the instructions present here.