Consider qhbmlib/inference/qhbm_utils.py. Currently, density_matrix and fidelity only accept Hamiltonian in their first argument. However, QHBM should be accepted too. This functionality can be added by accessing the input QHBM's hamiltonian attribute.
Consider
qhbmlib/inference/qhbm_utils.py
. Currently,density_matrix
andfidelity
only acceptHamiltonian
in their first argument. However,QHBM
should be accepted too. This functionality can be added by accessing the input QHBM's hamiltonian attribute.We have a developer workflow written to help users get started.