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

Energy expectation #150

Closed zaqqwerty closed 2 years ago

zaqqwerty commented 2 years ago

Implements an expectation method for EnergyInference.

https://github.com/google/qhbm-library/pull/151 makes this method differentiable (#146).

Resolves #145.

zaqqwerty commented 2 years ago

QQ: what's the plan for starting to use the decorator mentioned in https://github.com/google/qhbm-library/issues/136?

I can do a pass on that issue next