Skip to content

Fix docstring indentation of cirq.PauliString #5940

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

Merged
merged 2 commits into from
Nov 3, 2022

Conversation

tanujkhattar
Copy link
Collaborator

Code block of cirq.PauliString is rendered incorrectly due to indentation. See https://quantumai.google/reference/python/cirq/PauliString#used-in-the-notebooks

This PR changes the indentation to match the previous code block that gets rendered correctly.

@tanujkhattar tanujkhattar requested review from a team, vtomole and cduck as code owners November 3, 2022 20:43
@tanujkhattar tanujkhattar requested a review from viathor November 3, 2022 20:43
@CirqBot CirqBot added the size: S 10< lines changed <50 label Nov 3, 2022
@tanujkhattar tanujkhattar changed the title Fix docstring indentation cirq.PauliString Fix docstring indentation of cirq.PauliString Nov 3, 2022
@pavoljuhas
Copy link
Collaborator

pavoljuhas commented Nov 3, 2022

@tanujkhattar
Copy link
Collaborator Author

@pavoljuhas Updated. PTAL.

Copy link
Collaborator

@pavoljuhas pavoljuhas left a comment

Choose a reason for hiding this comment

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

LGTM

@tanujkhattar tanujkhattar merged commit c485504 into quantumlib:master Nov 3, 2022
rht pushed a commit to rht/Cirq that referenced this pull request May 1, 2023
* Fix docstring indentation cirq.PauliString

* Update indentation for GridQubit, GridQid and flatten
harry-phasecraft pushed a commit to PhaseCraft/Cirq that referenced this pull request Oct 31, 2024
* Fix docstring indentation cirq.PauliString

* Update indentation for GridQubit, GridQid and flatten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size: S 10< lines changed <50
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants