Skip to content

Update cAddSub docs to align equations#1827

Merged
mpharrigan merged 4 commits intoquantumlib:mainfrom
KLee1248:main
Mar 16, 2026
Merged

Update cAddSub docs to align equations#1827
mpharrigan merged 4 commits intoquantumlib:mainfrom
KLee1248:main

Conversation

@KLee1248
Copy link
Contributor

It seems like this was meant to be on two separate lines, but the currently rendered output is on one line.

This ultimately affected the rendering at qualtran.dev.

Before the change:
before

After the change:
after

It seems like this was meant to be on two separate lines, but the
currently rendered output is on one line.
Copy link
Contributor

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

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 docstring for ControlledAddOrSubtract to fix the rendering of a multi-line equation. The change correctly wraps the LaTeX equation in an aligned environment to ensure it displays on two separate lines. The change is correct and I have no issues to report.

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.

thanks!

@mpharrigan mpharrigan enabled auto-merge (squash) March 16, 2026 17:28
auto-merge was automatically disabled March 16, 2026 17:55

Head branch was pushed to by a user without write access

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@mpharrigan mpharrigan enabled auto-merge (squash) March 16, 2026 18:10
@mpharrigan mpharrigan merged commit 80364b6 into quantumlib:main Mar 16, 2026
9 checks passed
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