question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option in user config file to control `reverse_bits` in `circuit_drawer`

See original GitHub issue

What should we add?

Currently, the user config file supports circuit_drawer display options such as output ("text", “mpl”, etc.). Including the ability to change the reverse_bits option would allow users that prefer setting this option to True to not have to explicitly set this parameter every time a circuit is drawn.

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jakelishmancommented, Nov 18, 2022

We’re fine to move ahead just adding a reverse_bits option to the configuration - even if the exact named option in the function were to go away in the future, it has an easy mapping onto the wire_order form, so the configuration-file option would still make sense.

1reaction
jakelishmancommented, Nov 17, 2022

If you’ve got a use-case for it, this definitely seems good to accept! I’ll assign the issue to you, thanks, but no pressure.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add user config option to control default reverse_bits value in ...
This PR adds the option circuit_reverse_bits to the user config file to modify the default behavior of the reverse_bits option in the ...
Read more >
Visualizing a Quantum Circuit - Qiskit
Disable Plot Barriers and Reversing Bit Order¶. The first two options are shared among all three backends. They allow you to configure both...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found