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

Differentiable pulse programming with qubits in PennyLane #686

Merged
merged 175 commits into from
Mar 8, 2023
Merged

Conversation

Qottmann
Copy link
Collaborator

@Qottmann Qottmann commented Jan 23, 2023

Pulse programming in PennyLane demonstration with the following table of contents
a) Introduction to pulse gates, relates it to channels and other hardware terms. Explains time-dependent Schrodinger equation and such
b) Demonstrate how this can be done in PennyLane
c) Explains gradients (maybe mention parameter shift, showcase backprop capabilities for now)
d) runs ctrl-VQE

TODO

  • Intro material
  • PennyLane functionality
  • Gradients
  • Small ctrl-VQE demonstration
  • update using official convenience functions
  • polish
  • use larger molecule
  • Restrict / normalize pulse amplitude (in 2210.15812 eq. (8) they propose normalizing through the differentiable normalization function $N(z) = S(|z|) z/|z|$ with $S(x) = \frac{1-e^{-x}}{1+e^{x}}$)

josh146 and others added 29 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]>
@Qottmann Qottmann changed the title vqe example Differentiable pulse programming with qubits in PennyLane Jan 23, 2023
Copy link
Collaborator

@alvaro-at-xanadu alvaro-at-xanadu left a comment

Choose a reason for hiding this comment

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

Really good tutorial that I'll be referencing quite a bit 😃

  • Minor changes in style and some grammar/typos

@Qottmann
Copy link
Collaborator Author

Qottmann commented Mar 8, 2023

Thanks for the quick and helpful review @alvaro-at-xanadu and @KetpuntoG . I updated the demo with your suggestions

@Qottmann Qottmann changed the base branch from master to dev March 8, 2023 14:12
@Qottmann
Copy link
Collaborator Author

Qottmann commented Mar 8, 2023

Switching back to dev branch since the master branch still has the broken autoray incompatibility (see https://github.com/PennyLaneAI/qml/actions/runs/4363669469/jobs/7630059782)

Edit: Just updated the requirements

@Qottmann Qottmann changed the base branch from dev to master March 8, 2023 14:16
Copy link
Collaborator

@alvaro-at-xanadu alvaro-at-xanadu left a comment

Choose a reason for hiding this comment

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

Ready to go!

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.

Great! ready to go @Qottmann 😉

@Qottmann Qottmann merged commit 65214b5 into master Mar 8, 2023
@Qottmann Qottmann deleted the pulse branch March 8, 2023 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.