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

Additional parameters for 'qiskit.visualization.plot_circuit_layout' #12411

Open
PetarJurcevic opened this issue May 15, 2024 · 1 comment
Open
Labels
type: feature request New feature or request

Comments

@PetarJurcevic
Copy link

PetarJurcevic commented May 15, 2024

What should we add?

Currently the function highlights the layout of a circuit transpiled for a given target backend.

Useful additional features/options would be:
(coloring is just a suggestions)

  • color non-used parts in grey
  • color used parts in green
  • pass a list of (user-defined) bad qubits/gates and high-light those in black if not used in circuit and in red if used in circuit
  • pass a list of specific quantum operations to be highlighted (example only highlight physical gates gates such as x,sx, zz,zx, measuremetns etc, but not barriers, delays
  • pass a list of specific quantum operations to be ignored (highlight everything but these operations, for example ignore barriers, but still highlight delays instructions
  • scaling feature to change graph size
@PetarJurcevic PetarJurcevic added the type: feature request New feature or request label May 15, 2024
@PetarJurcevic
Copy link
Author

possible example (here generated with qiskit.visualization.plot_coupling_map by passing a list of qubit colors manually

image

@PetarJurcevic PetarJurcevic changed the title additional arguments for 'qiskit.visualization.plot_circuit_layout' Additional parameters for 'qiskit.visualization.plot_circuit_layout' May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant