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

Allow wire_options per wire MPL drawers #6165

Open
dwierichs opened this issue Aug 28, 2024 · 0 comments
Open

Allow wire_options per wire MPL drawers #6165

dwierichs opened this issue Aug 28, 2024 · 0 comments
Labels
enhancement ✨ New feature or request

Comments

@dwierichs
Copy link
Contributor

Feature details

On the level of mid-scale algorithms, it might be nice to differentiate between different "types" of wires, for example by coloring them differently, or giving them distinct line styles. As an example, in this demo on preparing matrix product states, there are auxiliary bond qubits and physical qubits, and coloring them differently would be a neat thing to do.

Implementation

This should be as simply as allowing a nested dictionary for wire_options with wires as keys and inner wire_options dictionaries. If such a nested dictionary is passed, we only need to iterate over it, instead of reusing the same for all wires.

How important would you say this feature is?

1: Not important. Would be nice to have.

Additional information

This is really just a small cosmetic idea.

@dwierichs dwierichs added the enhancement ✨ New feature or request label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant