Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Fixed a code typo in 02_operators_overview.ipynb#1231

Merged
Eric-Arellano merged 5 commits intoQiskit:masterfrom
elberttl:master
Aug 17, 2023
Merged

Fixed a code typo in 02_operators_overview.ipynb#1231
Eric-Arellano merged 5 commits intoQiskit:masterfrom
elberttl:master

Conversation

@elberttl
Copy link
Copy Markdown
Contributor

Summary

Fix a typo, in cell with description "# Compose YX in front of the previous operator". The code compose XZ in front of the previous operator, while it should be YX.

Details and comments

op.compose(XZ, qargs=[0, 2], front=True) is changed with op.compose(YX, qargs=[0, 2], front=True), and add the correct output.

Fix a typo, in cell with  description "# Compose YX in front of the previous operator", the one composed is XZ. Fix XZ to YZ and change the output.
@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@elberttl elberttl changed the title Fix a code typo in 02_operators_overview.ipynb Fixed a code typo in 02_operators_overview.ipynb Jul 12, 2021
elberttl added 2 commits July 12, 2021 14:07
Fixed  "an 3-qubit identity" with "a 3-qubit identity"
Fixed some typos print(qc.draw()), should be qc.draw() (or print(qc))
Eric-Arellano
Eric-Arellano previously approved these changes Aug 17, 2023
Copy link
Copy Markdown
Collaborator

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Pardon the late review. Good catch!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants