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

Introduce Specialunitary and use in VQE workflow #689

Merged
merged 107 commits into from
Apr 3, 2023
Merged

Conversation

dwierichs
Copy link
Contributor

@dwierichs dwierichs commented Jan 27, 2023

Title:

Here comes the SU(N): multivariate quantum gates and gradients

Summary:

The special unitary gate SpecialUnitary, which is subject of new investigations and recently was added to PennyLane, is showcased. This includes a short discussion of parametrizations of the group SU(N), a comparison of hardware-ready differentiation techniques, and a VQE workflow comparing three parametrizations for a random toy Hamiltonian.
The contents more precisely are

  • a brief maths intro
  • a very brief explainer of a custom gradient method from the paper
  • an intro to finite diff and stochastic param shift for multivariate gates
  • numerics comparing the three differentiation methods, including the use of the hardware-ready custom rule, which is already implemented in PL as well.
  • an autodiff-based VQE workflow comparing three parametrizations of arbitrary local gates.

Relevant references:
from future import paper

Possible Drawbacks:
N/A

Related GitHub Issues:
N/A

josh146 and others added 30 commits November 14, 2022 20:33
* Bumped jax versions

* Updated neural-tangents
* Development branch

* Bumped requirement package versions (#667)

* Bumped jax versions

* Updated neural-tangents

* Apply suggestions from code review

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: Josh Izaac <[email protected]>
Co-authored-by: GitHub Nightly Merge Action <[email protected]>
@dwierichs
Copy link
Contributor Author

Thanks so much @KetpuntoG for your reviews and nice suggestions! :)

Copy link
Collaborator

@therooler therooler left a comment

Choose a reason for hiding this comment

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

Really nice! I left some small comments but that's it.

demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
Copy link
Contributor

@isaacdevlugt isaacdevlugt left a comment

Choose a reason for hiding this comment

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

Nice demo @dwierichs! Very methodical and easy to follow 😃. Mainly grammar suggestions!

tutorial_unitary_designs Unitary designs and their uses in quantum computing


*Author: David Wierichs — Posted: xx March 2023.*
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a reminder to change the date here when it's ready 😃

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Put the 28th, the planned date.

demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
demonstrations/tutorial_here_comes_the_sun.py Outdated Show resolved Hide resolved
@isaacdevlugt isaacdevlugt self-requested a review March 20, 2023 16:02
Copy link
Contributor

@isaacdevlugt isaacdevlugt left a comment

Choose a reason for hiding this comment

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

Thanks David! Looks awesome!

Copy link
Contributor

@KetpuntoG KetpuntoG left a comment

Choose a reason for hiding this comment

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

Again, Great job! 🚀😊

@KetpuntoG KetpuntoG merged commit 4409fe7 into master Apr 3, 2023
@KetpuntoG KetpuntoG deleted the specialunitary branch April 3, 2023 13:51
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.