Question about Generalized parameter shift

Hello,

I have reviewed the demos for Pennylane’s generalized parameter-shift rules found in Generalized parameter-shift rules — PennyLane documentation. I’m curious to know whether these parameter-shift rules are utilized in diff_method=parameter-shift.

Thank you!

Hey @yangguohao! Welcome to the forum :smiley:!

Yep, you got it. You can check out what’s going on under the hood here:

Also — I know you went through the General parameter-shift rules demo — you might find our videos on deriving the two-term parameter-shift rule helpful!

Thank you for your reply, I will go take a look at these materials.

Awesome! Let me know if you still have questions :grin: