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

Generalize inputs to QNN expectation #207

Open zaqqwerty opened 2 years ago

zaqqwerty commented 2 years ago

After #202, the expectation method of QuantumInference should accept some general structure of Hamiltonians, maybe either a single one or a list of them.