Skip to content

Update cAddSub docs to align equations#1827

Open
KLee1248 wants to merge 1 commit intoquantumlib:mainfrom
KLee1248:main
Open

Update cAddSub docs to align equations#1827
KLee1248 wants to merge 1 commit intoquantumlib:mainfrom
KLee1248:main

Conversation

@KLee1248
Copy link

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

@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.

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.

1 participant