Closed alexfleury closed 2 years ago
@alexfleury , looks like we have a Cirq compatibility issue. I'll take a look and update what's going on here. I am fairly sure this a problem on our side and not yours.
All good! I am following this thread to see if there are action items I would have to take care of.
Low-hanging fruit for a simple speedup when working on
FermionOperator
->QubitOperator
conversions. The problem has been raised in #587. This is not an optimal solution to this issue (neither parallelization nor cython), but there is a significant speed improvement when working with aFermionOperator
with redundant terms.Here is a simple script I used to test:
On my machine (Arch Linux 5.17.3-arch1-1, python 3.8.5): Before = 10min27s After = 5min14s
Other tests: O2_6-31g_triplet | 81s | 42 s NaCl_sto-3g_singlet | 2min34s | 1min20s