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

Test traced Hamiltonian inference after changing energy and qnn parameters #154

Closed zaqqwerty closed 2 years ago

zaqqwerty commented 2 years ago

During #136, found that updating parameters in energy_model did not propagate to the inference calls. Labelled with #115, but to be sure it's not a wider issue, should test Hamiltonian inference after updating parameters.