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

Make models arguments to inference engines #124

Closed zaqqwerty closed 2 years ago

zaqqwerty commented 2 years ago

Remove models from inference engine initialization.

In implementing modular Hamiltonians, it became clear that requiring models to initialize inference engines complicated the structure of QHBMs. Hence, changed inference engines.

Also changed the name of the classes in energy_infer to remove redundant Layer. This separation is part of #110.