Skip to content

Commit

Permalink
Teleportation tutorial (#812)
Browse files Browse the repository at this point in the history
**Title:**
Quantum Teleportation

**Summary:**
Now there will be a PennyLane tutorial on how to perform quantum
teleportation 😎 This is largely a copy-paste of Olivia's [lesson from
the codebook](https://codebook.xanadu.ai/I.15). Some notes:
- I don't have pics ready... was wondering if I could get some
assistance on that front 😄 as of now, I've just copied from the codebook
- I added classical control wires to circuit-drawing so I could showcase
a variety of PennyLane features to their fullest (mid-circuit
measurement stuff and draw_mpl), so I'm not using `qml.draw_mpl` with
the "sketch" option to draw things (releasing that on Monday... so it
won't draw nicely until then)

**Relevant references:**
Codebook (linked above)

**Related GitHub Issues:**
I added circuit-drawing in PennyLaneAI/pennylane#4228, and you can see
what it looks like in the attached image.

With the `sketch` style (barrier location and StatePrep label are
outdated here):

![image](https://github.com/PennyLaneAI/qml/assets/23283972/185ec007-4faf-4ab7-8e92-d735eef076e6)

With the new `pennylane` style:

![image](https://github.com/PennyLaneAI/qml/assets/23283972/b7c4365b-974e-4f1d-b57e-99a92bcfbfc1)

---------

Co-authored-by: Josh Izaac <[email protected]>
Co-authored-by: GitHub Nightly Merge Action <[email protected]>
Co-authored-by: Rashid N H M <[email protected]>
Co-authored-by: Jay Soni <[email protected]>
Co-authored-by: soranjh <[email protected]>
Co-authored-by: Romain Moyard <[email protected]>
Co-authored-by: Mudit Pandey <[email protected]>
Co-authored-by: David Wierichs <[email protected]>
Co-authored-by: trbromley <[email protected]>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: lillian542 <[email protected]>
Co-authored-by: Tom Bromley <[email protected]>
Co-authored-by: Guillermo Alonso-Linaje <[email protected]>
Co-authored-by: CatalinaAlbornoz <[email protected]>
Co-authored-by: Ivana Kurecic <[email protected]>
Co-authored-by: soranjh <[email protected]>
Co-authored-by: ixfoduap <[email protected]>
  • Loading branch information
18 people authored Oct 19, 2023
1 parent d5304fe commit c8a7866
Show file tree
Hide file tree
Showing 15 changed files with 21,153 additions and 26 deletions.
Binary file added _static/authors/matthew_silverman.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions _static/authors/matthew_silverman.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. bio:: Matthew Silverman
:photo: ../_static/authors/matthew_silverman.jpg

Matthew is a quantum software developer at Xanadu. When he's not in the quantum world, you can usually find him making music or sipping coffee with a book in hand.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5,022 changes: 5,022 additions & 0 deletions demonstrations/teleportation/teleport_circuit_change_of_basis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,965 changes: 4,965 additions & 0 deletions demonstrations/teleportation/teleport_circuit_entanglement.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
181 changes: 181 additions & 0 deletions demonstrations/teleportation/teleport_circuit_full_gates.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c8a7866

Please sign in to comment.