Skip to content

Update Nishimori phase transition tutorial to conform to new template#5179

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

Update Nishimori phase transition tutorial to conform to new template#5179
henryzou50 wants to merge 4 commits into
mainfrom
nishomori-update

Conversation

@henryzou50
Copy link
Copy Markdown
Collaborator

Summary

Updates the Nishimori phase transition tutorial to conform to the new tutorial template.

The main changes:

  • Template structure — adds Learning outcomes, Prerequisites, and Next steps sections; splits the workflow into ## Small-scale simulator example and ## Large-scale hardware example with ### Step 1### Step 4 substructure; adds References.
  • Execution split — the small-scale walkthrough now runs on AerSimulator.from_backend(backend) against a single plaquette (12 qubits) for fast iteration; the large-scale block runs the six-plaquette and full-lattice experiments on real hardware.
  • Self-contained large-scale block — consolidated into a single code cell with the template's # ---Step N--- separators. The cell rebuilds plaquette_lattice from the backend's coupling map, so it can be executed standalone after the Setup section. Hardware jobs are tagged TUT_NPT.

- Restructure to match Tutorial_Template.ipynb: Learning outcomes,
  Prerequisites, Small-scale simulator example, Large-scale hardware
  example, Next steps, References.
- Split execution: small-scale walkthrough now runs on
  AerSimulator.from_backend(backend) at one plaquette (12 qubits) for
  fast simulation; large-scale runs the six-plaquette and full-lattice
  experiments on real hardware.
- Consolidate the large-scale section into a single self-contained
  code block with Step 1–4 separators (rebuilds the plaquette lattice
  from the backend coupling map, so the block runs after Setup alone).
- Add job_tags=["TUT_NPT"] to hardware runs.
- Suppress the harmless `Using UFloat objects with std_dev==0`
  warning from the noiseless analysis, scoped to the
  block_for_results() call.
- Refresh Prerequisites with topic-specific links (Measure qubits,
  Simulate with Qiskit Aer, Long-range entanglement, Heavy hex lattice).
- Add cspell:ignore for author surnames cited in References.
- Misc: fix YOUR_API_KEY typo, update plaquette-count example to
  include ibm_pittsburgh, replace em dashes in prose with colons or
  parentheses.
@henryzou50 henryzou50 requested a review from a team May 28, 2026 21:23
@qiskit-bot
Copy link
Copy Markdown
Contributor

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

@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

Copy link
Copy Markdown
Collaborator

@kaelynj kaelynj left a comment

Choose a reason for hiding this comment

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

This looks great! One other comment I'd like to add in is to edit the last sentence of the conclusion section to read:

In this experiment, the entangled state was immediately measured, but an interesting avenue to explore would be to continue using this state in additional quantum processing.

Comment thread docs/tutorials/nishimori-phase-transition.ipynb Outdated
Comment thread docs/tutorials/nishimori-phase-transition.ipynb Outdated
henryzou50 and others added 2 commits June 5, 2026 10:20
Co-authored-by: Kaelyn Ferris <43348706+kaelynj@users.noreply.github.com>
Co-authored-by: Kaelyn Ferris <43348706+kaelynj@users.noreply.github.com>
@henryzou50
Copy link
Copy Markdown
Collaborator Author

@kaelynj Thanks for your review and glad that the changes looks great! I just pushed the changes for your suggestions.

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