Can't obtain the quantum circuit's gradient with 'tf' interface

OKK I see, thank you very much

Hi @zj-lucky !

Would you mind sending a minimal working version of the code so we can reproduce the error?

Your data is not publicly available. Please add some dummy datasets in the code so we can just copy and run it without the need to request data access. :slight_smile:

Hello, thank you for your reply. This code is already the minimal working version. Isn’t the link publicly accessible? The link is for a dataset sent via Google Drive. The dataset is not very large, but the PennyLane platform cannot upload these formats. Could you provide me with an email address so I can send you the relevant data and code? Thank you very much.

Hello again!

I am sorry but if you can’t post a self-contained, minimal-working version of the code I won’t be able to help you. :sweat_smile:

Here is a video with tips and advice about how to do it. :slightly_smiling_face:

I hope it helps!