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

EnergyInference expectation method derivative #151

Closed zaqqwerty closed 2 years ago

zaqqwerty commented 2 years ago

Implements the derivative of an expectation value with respect to energy function parameters.

Resolves #146

zaqqwerty commented 2 years ago

Added tests showing the gradient is indeed connected, and added issue #157 to revisit the persistence in values_tape