Skip to content

Add QSE tutorial for the [[5,1,3]] code (#2285) - #3096

Open
sankalpsthakur wants to merge 1 commit into
unitaryfoundation:mainfrom
sankalpsthakur:docs/qse-tutorial-2285
Open

Add QSE tutorial for the [[5,1,3]] code (#2285)#3096
sankalpsthakur wants to merge 1 commit into
unitaryfoundation:mainfrom
sankalpsthakur:docs/qse-tutorial-2285

Conversation

@sankalpsthakur

Copy link
Copy Markdown
Contributor

Summary

  • Adds an Examples gallery tutorial that uses mitiq.qse on the [[5,1,3]] code, following the core numerical demo from McClean et al. (arXiv:1903.05786 / {cite}McClean_2020_NatComm).
  • Compares ideal, unmitigated, and QSE-mitigated $\langle\overline{Z}\rangle$ under single-qubit depolarizing noise, including a small noise sweep plot.
  • Wires the tutorial into the Examples gallery and the QSE landing page (matching other technique docs).

This is a focused first tutorial (item 1 of #2285). Stacking QSE with ZNE (item 2) is noted but left for a follow-up, consistent with earlier maintainer guidance.

Fixes #2285

Test plan

  • Manually executed the tutorial computation path (~60s); QSE error ≪ unmitigated across $p \in {0.01, 0.02, 0.04, 0.06}$
  • DOCS_LITE=1 make -C docs html succeeds; tutorial appears in Examples gallery and QSE guide links
  • CI / Read the Docs build executes the new MyST notebook

Made with Cursor

Provide an Examples gallery tutorial that reproduces the core
McClean et al. [[5,1,3]] QSE demonstration and link it from the
QSE landing page.

Fixes unitaryfoundation#2285
@sankalpsthakur
sankalpsthakur force-pushed the docs/qse-tutorial-2285 branch from 8c01d01 to bb98a7e Compare July 28, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a tutorial for QSE

1 participant