Skip to content

CosmicDNA/chsh-inequality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Reality and the CHSH inequality

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.

Installation

# 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

Setup IBM quantum computing token

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

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published