-
Notifications
You must be signed in to change notification settings - Fork 376
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
Conversation
There was a problem hiding this 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
src/openfermion/resource_estimates/pbc/sparse/compute_lambda_sparse.py
Outdated
Show resolved
Hide resolved
KPTHCDoubleTranslation,) | ||
from openfermion.resource_estimates.pbc.hamiltonian import ( | ||
HamiltonianProperties,) | ||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Part 3 of #821. Adds functionality to use the factorized integrals from #822 to compute the norm of the Hamiltonian.