New answers tagged

0 votes
Accepted

Error loading saved hybrid quantum (pennylane + tensorflow keras) model: Unknown layer: 'KerasLayer'

I posted an alternative solution over here: How to save a hybrid Tensorflow and Pennylane model? But essentially, I had no way to work around the traditional ...
Ryan Wang's user avatar
  • 185
1 vote
Accepted

How to save a hybrid Tensorflow and Pennylane model?

The official documentation of Pennylane claimed that we can just use model.save(SAVE_PATH) to save our hybrid model just like any other normal Tensorflow model. ...
Ryan Wang's user avatar
  • 185
2 votes

What's the case when parameter-shift rule does not hold?

Judging from the citations for the parameter-shift rule, it seems that the referenced paper only considers the rule for generators $V$ with two eigenvalues. There is a number of works generalizing ...
David Wierichs's user avatar

Top 50 recent answers are included