Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MCM introduction to master branch #1105

Merged
merged 1 commit into from
May 16, 2024
Merged

Add MCM introduction to master branch #1105

merged 1 commit into from
May 16, 2024

Conversation

dwierichs
Copy link
Contributor

#1094 was accidentally merged to dev instead of master. This PR applies the squashed commit of #1094 to master as well.

**Title:**
Introduction to mid-circuit measurements

**Summary:**
In this tutorial, we will dive into the basics of mid-circuit
measurements with PennyLane. Readers will learn about
- basic measurement processes in quantum mechanics,
- the impact of a measurement on one- and two-qubit systems,
- postselection and qubit reset, and
- dynamic quantum circuits powered by conditional operations.

**Relevant references:**
See demo references and related content, in particular
`tutorial_how_to_collect_mcm_stats` and
`tutorial_how_to_create_dynamic_mcm_circuits`.

**Possible Drawbacks:**

**Related GitHub Issues:**

----
If you are writing a demonstration, please answer these questions to
facilitate the marketing process.

* GOALS — Why are we working on this now?
This tutorial promotes mid-circuit measurement functionality in
PennyLane, which has been extended in recent releases.
In addition, this tutorial is part of the broader goal of emphasizing
MCMs and dynamic circuits in our contents.

* AUDIENCE — Who is this for?
Beginners in PennyLane coding that want to learn about mid-circuit
measurements

* KEYWORDS — What words should be included in the marketing post?
  - Mid-circuit measurements
  - Measurements in quantum mechanics
  - Dynamic circuits

* Which of the following types of documentation is most similar to your
file?
(more details
[here](https://www.notion.so/xanaduai/Different-kinds-of-documentation-69200645fe59442991c71f9e7d8a77f8))
    
- [x] Tutorial
- [ ] Demo
- [ ] How-to

---------

Co-authored-by: Guillermo Alonso-Linaje <65235481+KetpuntoG@users.noreply.github.com>
Co-authored-by: Thomas R. Bromley <49409390+trbromley@users.noreply.github.com>
Co-authored-by: Korbinian Kottmann <43949391+Qottmann@users.noreply.github.com>
Co-authored-by: Josh Izaac <josh146@gmail.com>
Co-authored-by: Ivana Kurečić <ivana@xanadu.ai>
Copy link

👋 Hey, looks like you've updated some demos!

🐘 Don't forget to update the dateOfLastModification in the associated metadata files so your changes are reflected in Glass Onion (search and recommendations).

Please hide this comment once the field(s) are updated. Thanks!

Copy link
Contributor

@ikurecic ikurecic left a comment

Choose a reason for hiding this comment

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

Should be fine like this, thanks, @dwierichs .

I'll invite the second reviewer later today and you can leave the merge to me then. I'll check that it's live as expected and let you know.

Copy link

Thank you for opening this pull request.

You can find the built site at this link.

Deployment Info:

  • Pull Request ID: 1105
  • Deployment SHA: c95bc130a54725ba06215cf00a7dc8f555991b3d
    (The Deployment SHA refers to the latest commit hash the docs were built from)

Note: It may take several minutes for updates to this pull request to be reflected on the deployed site.

@ikurecic ikurecic requested a review from astralcai May 16, 2024 13:09
Copy link
Contributor

@astralcai astralcai left a comment

Choose a reason for hiding this comment

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

LGTM

@ikurecic ikurecic merged commit 44191b2 into master May 16, 2024
11 checks passed
@ikurecic ikurecic deleted the mcm-tutorial branch May 16, 2024 13:18
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.

3 participants