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

Add modular Hamiltonian expectation #135

Closed zaqqwerty closed 2 years ago

zaqqwerty commented 2 years ago

Add expectation values of cirq.PauliSums and modular Hamiltonians against QHBMs.

Resolves #95. Only Hamiltonians with energy functions of type PauliMixin are currently supported.