Skip to content

Add missing r to gvec_map_logic.py module docstring#1403

Merged
arettig merged 1 commit into
quantumlib:mainfrom
mhucka:use-r-in-module-string
Jul 9, 2026
Merged

Add missing r to gvec_map_logic.py module docstring#1403
arettig merged 1 commit into
quantumlib:mainfrom
mhucka:use-r-in-module-string

Conversation

@mhucka

@mhucka mhucka commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

The module doc string in src/openfermion/resource_estimates/pbc/thc/factorizations/gvec_map_logic.py was not an "r" string, which led to parsing errors due to the LaTeX notation used in the content of the string. This adds the missing r prefix.

@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 updates the module docstring in gvec_map_logic.py to be a raw string literal (r"""), which correctly handles the LaTeX backslashes within the documentation. There are no review comments, and I have no feedback to provide.

@mhucka mhucka changed the title Add missing r to module docstring Add missing r to gvec_map_logic.py module docstring Jul 9, 2026
@mhucka mhucka added area/health Involves code and/or project health priority/before-1.7.2 labels Jul 9, 2026
@mhucka
mhucka requested a review from arettig July 9, 2026 04:49
@arettig
arettig added this pull request to the merge queue Jul 9, 2026
Merged via the queue into quantumlib:main with commit fb7dae9 Jul 9, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/health Involves code and/or project health

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants