You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is meant as a unitaryHACK bounty issue. Bounty: $50
Function plot.matrix2d() is used when creating matrix element plots (it is called by qubit methods <qubit>.plot_matrixelements()). It has an argument show_numbers which explicitly adds text labels to indicate matrix element sizes. This example below shows how that works:
We are looking for a small enhancement that adds simple logic to plot.matrix2d() which would scale the font size so that the text labels can be easily distinguished (within reason).
Ideally this modification should take into account the figure size, so that if more levels are being included, but the figure size is large enough, then the font used does not have to be extremely small.
The text was updated successfully, but these errors were encountered:
This issue is meant as a unitaryHACK bounty issue.
Bounty: $50
Function
plot.matrix2d()
is used when creating matrix element plots (it is called by qubit methods<qubit>.plot_matrixelements()
). It has an argumentshow_numbers
which explicitly adds text labels to indicate matrix element sizes. This example below shows how that works:When too many levels are included, however, these labels start overlapping with each other, as in:
We are looking for a small enhancement that adds simple logic to
plot.matrix2d()
which would scale the font size so that the text labels can be easily distinguished (within reason).Ideally this modification should take into account the figure size, so that if more levels are being included, but the figure size is large enough, then the font used does not have to be extremely small.
The text was updated successfully, but these errors were encountered: