Skip to content

Differentiable pulse programming with qubits in PennyLane#686

Merged
Qottmann merged 175 commits intomasterfrom
pulse
Mar 8, 2023
Merged

Differentiable pulse programming with qubits in PennyLane#686
Qottmann merged 175 commits intomasterfrom
pulse

Conversation

@Qottmann
Copy link
Copy Markdown
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 <josh146@gmail.com>
Co-authored-by: GitHub Nightly Merge Action <actions@github.com>
Co-authored-by: Rashid N H M <95639609+rashidnhm@users.noreply.github.com>

Co-authored-by: Jay Soni <jbsoni@uwaterloo.ca>
Co-authored-by: Josh Izaac <josh146@gmail.com>
Co-authored-by: GitHub Nightly Merge Action <actions@github.com>
@Qottmann Qottmann changed the title vqe example Differentiable pulse programming with qubits in PennyLane Jan 23, 2023
Copy link
Copy Markdown

@ghost ghost 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
Copy Markdown
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
Copy Markdown
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
@trbromley trbromley requested a review from a user March 8, 2023 14:50
Copy link
Copy Markdown

@ghost ghost 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
Copy Markdown
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.