Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PBC Resources Estimates 3/4] Add computation of lambda #823

Merged
merged 31 commits into from
Aug 18, 2023

Conversation

fdmalone
Copy link
Collaborator

Part 3 of #821. Adds functionality to use the factorized integrals from #822 to compute the norm of the Hamiltonian.

Copy link
Collaborator

@mpharrigan mpharrigan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm after nit fixes

KPTHCDoubleTranslation,)
from openfermion.resource_estimates.pbc.hamiltonian import (
HamiltonianProperties,)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it worth having a dummy HamiltonianProperties descendant for thc for consistency? and making the base class abstract?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if abstract base class is necessary? I added a properties dataclass for THC

@fdmalone fdmalone merged commit 78bba46 into quantumlib:master Aug 18, 2023
11 checks passed
@fdmalone fdmalone deleted the pbc_lambda branch August 18, 2023 18:02
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.

2 participants