Lookup dictionary for JW transformation of a FermionOperator#777
Merged
fdmalone merged 1 commit intoquantumlib:masterfrom Jun 8, 2022
Merged
Lookup dictionary for JW transformation of a FermionOperator#777fdmalone merged 1 commit intoquantumlib:masterfrom
fdmalone merged 1 commit intoquantumlib:masterfrom
Conversation
Collaborator
|
@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. |
Contributor
Author
|
All good! I am following this thread to see if there are action items I would have to take care of. |
1e26aaf to
fbe4780
Compare
fbe4780 to
faf221e
Compare
ncrubin
pushed a commit
to ncrubin/OpenFermion
that referenced
this pull request
Jul 25, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Low-hanging fruit for a simple speedup when working on
FermionOperator->QubitOperatorconversions. 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 aFermionOperatorwith 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