QSVT for odd degree polynomial: mathematical expansion

Hello,

In this demo, shouldn’t the mathematical expansion of the odd-degree polynomial contain an additional block-encoded unitary application between the first projector-controlled phase gate and the multiplication operator?

In fact, the documentation of qml.QSVT contains this extra unitary.

Thank you!

Hi @psansebastian , welcome back to the Forum and thanks for pointing this out!

I think you’re right, good catch!
We’ll make sure to fix this.
Thanks for helping us improve PennyLane. :heart:

1 Like

Hi @psansebastian , thanks for bringing this up.

We updated the demo with this fix and a couple of other tweaks for clarity.

This is the pull request that contains the changes if you’d like to track exactly what changed. Otherwise, the correct equation should now appear in the demo.

1 Like