google / qhbm-library

Quantum Hamiltonian-Based Models built on TensorFlow Quantum
https://qhbm-library.readthedocs.io/en/latest/
Apache License 2.0
40 stars 15 forks source link

Derivatives of QHBM expectation with respect to classical model parameters #132

Open zaqqwerty opened 2 years ago

zaqqwerty commented 2 years ago

The calculation of the VQT derivative is actually more general. This issue is to implement the classical model parameter derivative equation from the appendix.

zaqqwerty commented 2 years ago

All that's left here is to add derivative tests. Should include the following cases: