-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hinton diagram to plot_state methods
The interactive js plot_state visualizations had an additional method 'hinton' for drawing a hinton diagram of the quantum state. However this method was missing from the non-js plot_state function. This commit adds the missing method. THe hinton diagram implementation here is based on the example from the matplotlib documentation, which can be found here: https://matplotlib.org/gallery/specialty_plots/hinton_demo.html
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters