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

NoiseLearner output difficult to read #2631

Open
1 of 5 tasks
jyu00 opened this issue Feb 10, 2025 · 0 comments
Open
1 of 5 tasks

NoiseLearner output difficult to read #2631

jyu00 opened this issue Feb 10, 2025 · 0 comments

Comments

@jyu00
Copy link
Collaborator

jyu00 commented Feb 10, 2025

URL to the relevant documentation

https://docs.quantum.ibm.com/guides/noise-learning#overview

Select all that apply

  • typo
  • code bug
  • out-of-date content
  • broken link
  • other

Describe the fix.

In order to read the entire output of the first example, you actually need to scroll to the right:

Image

This is not vey obvious or readable, especially on Mac where the cursor is not visible.

Instead of printing noise_model.data[0].error, perhaps the code can be change to print each item separately, i.e.

datum = noise_model.data[0]
...
print(
    f"And each of these `LayerError` objects possess"
    f" data on the generators for the error channel: \n{datum.generators}\n"
)
print(
    f"and the error rates: \n{datum.rates}\n"
)
@jyu00 jyu00 added content 📄 needs triage 🤔 this issue needs to be prioritized by the docs team labels Feb 10, 2025
@javabster javabster added good first issue 🐣 and removed needs triage 🤔 this issue needs to be prioritized by the docs team labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

4 participants