Skip to content

Improving performance of openfermion to pyquil qubit op conversion#19

Open
max-radin wants to merge 1 commit intorigetti:masterfrom
zapatacomputing:fast-op-conversion
Open

Improving performance of openfermion to pyquil qubit op conversion#19
max-radin wants to merge 1 commit intorigetti:masterfrom
zapatacomputing:fast-op-conversion

Conversation

@max-radin
Copy link
Copy Markdown

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