Skip to content

Conversation

max-radin
Copy link

The conversion of an openfermion QubitOperator to a pyquil PauliSum can be very slow because as terms get added to the PauliSum one by one, its simplify method will get called repeatedly. This PR addresses this issue by directly constructing the PauliSum from a list of terms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant