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

Automate inference and make models arguments to inference engines #181

Closed zaqqwerty closed 2 years ago

zaqqwerty commented 2 years ago

Refactors inference classes to clean up interfaces.

Resolves #115. Also, makes energy (circuit) a constructor argument of EnergyInference (QuantumInference). Models not being connected to their inference engines was making some interfaces more cluttered than they needed to be.

Depends on #175

farice commented 2 years ago

I hope you don't mind me merging - just want to fork your QMHL PR with this one merged. We can revert if there was something else you wanted to add here