Skip to content

Update CHSH inequality tutorial#5136

Open
henryzou50 wants to merge 4 commits into
mainfrom
chsh-update
Open

Update CHSH inequality tutorial#5136
henryzou50 wants to merge 4 commits into
mainfrom
chsh-update

Conversation

@henryzou50
Copy link
Copy Markdown
Collaborator

Summary

Updates the CHSH inequality tutorial to current Qiskit tooling and expands it with a local-simulator validation step and a section on scaling the experiment across hardware.

Changes

  • Dependency updates — Bumps requirements to Qiskit SDK v2.0, Qiskit Runtime v0.40, and adds Qiskit Aer v0.17.
  • Local simulator validation — Adds a step that builds a noisy simulator with AerSimulator.from_backend(backend) and runs the full workflow (transpilation, ISA observables, Estimator) against it before submitting to hardware. Replaces the previous StatevectorEstimator path.
  • Scaling section — Adds a new section showing how a CHSH test scales not by enlarging one circuit but by running many tests in parallel: it tiles the backend with disjoint Bell pairs (a matching of the coupling map) and runs an independent CHSH sub-circuit on every pair in a single job.
  • Doc links — Modernizes API references from docs.quantum-computing.ibm.com to relative /docs/... paths.
  • Cleanup — Clarifies explanations throughout (circuit setup, ISA circuits/observables, results discussion) and refreshes the extracted output images.

- Bump dependencies to Qiskit SDK v2.0, Qiskit Runtime v0.40, and add
  Qiskit Aer v0.17
- Add a local noisy-simulator validation step using
  AerSimulator.from_backend before submitting to hardware
- Add a section on scaling the experiment by tiling the backend with
  disjoint Bell pairs and running many CHSH tests in parallel
- Modernize API doc links (docs.quantum-computing.ibm.com → /docs/...)
- Clarify prose throughout and refresh extracted output images
@henryzou50 henryzou50 requested a review from a team May 20, 2026 13:22
@qiskit-bot
Copy link
Copy Markdown
Contributor

One or more of the following people are relevant to this code:

  • @nathanearnestnoble

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Comment thread docs/tutorials/chsh-inequality.ipynb Outdated
Comment thread docs/tutorials/chsh-inequality.ipynb Outdated
Comment thread docs/tutorials/chsh-inequality.ipynb Outdated
Comment thread docs/tutorials/chsh-inequality.ipynb Outdated
Comment thread docs/tutorials/chsh-inequality.ipynb Outdated
Comment thread docs/tutorials/chsh-inequality.ipynb Outdated
Co-authored-by: abbycross <across@us.ibm.com>
Spell out PUB at first use in CHSH tutorial

Define "primitive unified bloc (PUB)" where the term first appears in
the Background section, linked to the primitive I/O guide, instead of
interrupting Step 3 with the explanation. Step 3 now just uses "PUBs".
@henryzou50
Copy link
Copy Markdown
Collaborator Author

Thanks for the review @abbycross! I applied the other suggestions in the latest commit.

Copy link
Copy Markdown
Collaborator

@abbycross abbycross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants