PennyLaneAI / qml

Introductions to key concepts in quantum programming, as well as tutorials and implementations from cutting-edge quantum computing research.
https://pennylane.ai/qml
Apache License 2.0
512 stars 182 forks source link

Qubitization demo #1113

Open KetpuntoG opened 1 month ago

KetpuntoG commented 1 month ago

Before submitting

Please complete the following checklist when submitting a PR:

When all the above are checked, delete everything above the dashed line and fill in the pull request template.


Title:

Summary:

Relevant references:

Possible Drawbacks:

Related GitHub Issues:


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

github-actions[bot] commented 1 month ago

👋 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!

github-actions[bot] commented 1 month ago

Thank you for opening this pull request.

You can find the built site at this link.

Deployment Info:

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

KetpuntoG commented 1 month ago

[sc-63853]

gmlejarza commented 2 weeks ago

Very nice demo @KetpuntoG! It explains the basics of qubitization in a very accessible way. I'll write you here some suggestions that we have discussed in person.

Rendering/format suggestions:

  1. its eigenvalues encode the eigenvalues of H
  2. { $1,e^{\pm i \theta}$ } -> $e^{\pm i \theta}$
  3. $\text{PSP}_{\mathcal{H}$

Content suggestions

  1. In Qubitization as a rotation: emphasize why we need a rotation (eigenvalue $e^{\pm i \theta}$) and not a reflexion (eigenvalue $\pm 1$)
  2. In Qubitization in PennyLane: maybe include the form of the matrix of the Qubitization operator $Q$.
  3. In Qubitization in PennyLane: in where k is the number of terms in the Hamiltonian specify that you refer to the number of Pauli matrices in the LCU decomposition. Otherwise it might seem like the number of terms in the Hamiltonian matrix.
  4. In Qubitization in PennyLane: maybe including a picture of the circuit for QPE using the $Q$ operator as our $U$ will be clarifying.
  5. In Qubitization in PennyLane: in the comment Apply QPE with the walk operator maybe change walk operator for Qubitization operator.