Skip to content
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

Minor improvements to "Hello world" #1234

Merged
merged 7 commits into from
May 13, 2024
Merged

Minor improvements to "Hello world" #1234

merged 7 commits into from
May 13, 2024

Conversation

frankharkins
Copy link
Member

@frankharkins frankharkins commented Apr 24, 2024

  • Adds some tests to ensure hardware outputs make sense. The most important checks that the graph in Step 4. Analyze the results looks correct, as the current one doesn't match the description. (compare to new graph).
  • Also makes some minor tweaks I noticed while looking for good places for tests.
  • Re-run notebook

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

The `Pauli` class does not have an `apply_layout` method, and it's not
immediately clear to me how to fix it. The notebook ran using
`SparsePauliOp` so I'm sticking with that.

Since `SparsePauliOp` doesn't have a `to_label` method, I'm sticking to
the list comprehension rather than defining them all as separate
variables.
@frankharkins frankharkins marked this pull request as ready for review May 13, 2024 13:04
@qiskit-bot
Copy link
Contributor

One or more of the the following people are requested to review this:

@frankharkins
Copy link
Member Author

frankharkins commented May 13, 2024

Finally managed to execute this; ready for review now 🙂

Copy link
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.

Thanks!

@frankharkins frankharkins added this pull request to the merge queue May 13, 2024
Merged via the queue into main with commit 49bf52e May 13, 2024
5 checks passed
@frankharkins frankharkins deleted the FH/hello-world-tests branch May 13, 2024 14:50
frankharkins added a commit to frankharkins/documentation that referenced this pull request Jul 22, 2024
* Adds some tests to ensure hardware outputs make sense. The most
important checks that the graph in [Step 4. Analyze the
results](https://docs.quantum.ibm.com/start/hello-world#step-4-analyze-the-results)
looks correct, as the current one doesn't match the description.
(compare to [new
graph](https://qiskit-docs-preview-pr-1234.1799mxdls7qz.us-south.codeengine.appdomain.cloud/start/hello-world#step-4-analyze-the-results)).
* Also makes some minor tweaks I noticed while looking for good places
for tests.
* Re-run notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants