Skip to content

Block Invariant Symmetry Shift functionality #904

Open
SmikPatel wants to merge 1 commit into
quantumlib:mainfrom
SmikPatel:master
Open

Block Invariant Symmetry Shift functionality #904
SmikPatel wants to merge 1 commit into
quantumlib:mainfrom
SmikPatel:master

Conversation

@SmikPatel

Copy link
Copy Markdown

Added a function to calculate the 1-norm of DF post-processed with block invariant symmetry shifts (DF+LRPS method of https://pubs.acs.org/doi/abs/10.1021/acs.jctc.4c01390), along with a test.

@mhucka

mhucka commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new module and function compute_lambda_df_with_bliss_post_processing to compute the lambda value for a double-factorized Hamiltonian with BLISS post-processing of double factorization fragments. It also includes corresponding unit tests to verify the correctness of the implementation. There are no review comments to address, so no feedback is provided.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@mhucka mhucka requested a review from arettig June 4, 2026 15:49
@mhucka

mhucka commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

@SmikPatel Thank you for this work, and my apologies for the long delay in replying. This looks reasonable and we'd like to work on getting it into OpenFermion. When you have a moment, could you please update your branch on GitHub? Before we add code review comments, it would be best to work on an updated version of the code.

image

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