ubsuny / CP1-24-HW1

Homework template for CP1 in 2024
1 stars 17 forks source link

Testing Bell's Inequality Locally #56

Closed SchrodingersStruggle closed 2 months ago

SchrodingersStruggle commented 2 months ago

This Jupyter file allows an individual to test Bell's inequality locally without using resources from a quantum computer.

This is intended to let users get a more intuitive grasp of the simple circuit we are building (without the optimizations for the quantum computers), and to test if qiskit is properly installed on their device.

It utilizes information and code from IBM's CHSH Inequality Tutorial, without the code to optimize the circuit for quantum computations, aspects of the code changed to use StatevectorEstimator to simulate locally, and in-line annotations to give a clear understanding of what's going on.

People who run this are expected to use our devcontainer, so I didn't write anything to import qiskit. If that is an issue, let me know.

laserlab commented 2 months ago

Awesome. Let’s merge this right away