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

Qubitization demo #1113

Merged
merged 38 commits into from
Sep 9, 2024
Merged

Qubitization demo #1113

merged 38 commits into from
Sep 9, 2024

Conversation

KetpuntoG
Copy link
Contributor

@KetpuntoG KetpuntoG commented May 22, 2024

Title: I

ntro to Qubitization

Summary:

Encoding a Hamiltonian into a quantum computer is a fundamental task for many applications, but the way to do it is not unique. One method that has gained special status is known as Qubitization. In this demo, we will introduce the Qubitization operator and explain how to view it as a rotation operator.

Relevant references:

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?

Support the content of the Algorithm Toolkit. qml.Qubitization has been one of the latests additions

  • AUDIENCE — Who is this for?

everyone, it should be easy to understand

  • KEYWORDS — What words should be included in the marketing post?

In this demo we propose a cool way to visualize the algorithm. It could be good to refer to that

Qubitization, block encoding, visualization, algorithm toolkit

  • Which of the following types of documentation is most similar to your file?
    (more details here)
  • Tutorial
  • [x ] Demo
  • How-to

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

github-actions bot commented May 22, 2024

Thank you for opening this pull request.

You can find the built site at this link.

Deployment Info:

  • Pull Request ID: 1113
  • Deployment SHA: b5328c14a96169a131e6521ff299f0d5523423fa
    (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.

@KetpuntoG KetpuntoG changed the title [WIP] Qubitization demo Qubitization demo May 24, 2024
@KetpuntoG
Copy link
Contributor Author

[sc-63853]

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.

Hi @KetpuntoG and @soranjh , thanks for sharing!
I have a few minor suggestions (for Guillermo?), and I can also make an update to the image paths, if you'd be happy with me adding a small commit here.

Please let me know what you think.

demonstrations/tutorial_qubitization.metadata.json Outdated Show resolved Hide resolved
@@ -0,0 +1,46 @@
{
"title": "Qubitization",
Copy link
Contributor

Choose a reason for hiding this comment

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

tk — maybe something with a bit more descriptive quality, can be decided as a last step.

demonstrations/tutorial_qubitization.metadata.json Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.metadata.json Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.metadata.json Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.py Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.py Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.py Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.py Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.metadata.json Outdated Show resolved Hide resolved
KetpuntoG and others added 2 commits September 3, 2024 09:21
[skip ci]

Co-authored-by: Ivana Kurečić <ivana@xanadu.ai>
Copy link
Contributor

@ixfoduap ixfoduap left a comment

Choose a reason for hiding this comment

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

Looks great! Just a few suggestions more

demonstrations/tutorial_qubitization.py Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.py Outdated Show resolved Hide resolved
KetpuntoG and others added 2 commits September 4, 2024 16:01
Co-authored-by: ixfoduap <40441298+ixfoduap@users.noreply.github.com>
Co-authored-by: ixfoduap <40441298+ixfoduap@users.noreply.github.com>
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.

Hi @KetpuntoG , with these few minor comments, this looks done to me.

demonstrations/tutorial_qubitization.metadata.json Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.metadata.json Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.py Outdated Show resolved Hide resolved
demonstrations/tutorial_qubitization.py Outdated Show resolved Hide resolved
@ikurecic ikurecic merged commit 20a71c7 into master Sep 9, 2024
10 checks passed
@ikurecic ikurecic deleted the qubitization_demo branch September 9, 2024 09:47
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.

4 participants