Open unpilbaek opened 5 years ago
@babbush @jarrodmcc thoughts?
I agree with @unpilbaek that its quite possibly due to some sort of numerical round-off error. I won't have time to get to the bottom of this right now though. The low rank factorization stuff is very prone to numerical instabilities.
I have set up the H6 molecule as below and used the
LowRankTrotterAnsatz
in the./configs/sample_config.py
:and ran my
vqe_ensemble.py
for the analysis purposes. However, I get the following error message:I was able to run the same code for the linear H2 and H4 molecules without getting the ValueError at the end. It seems like there may be some numerical error that makes the
one_body_matrix
non-Hermitian.