QCHackers/tqec

Plot an observable

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
There is currently no way of plotting an observable to have a visual understanding of what we are measuring.

Describe the solution you'd like
Ideally, a way to plot an observable such as

Observable plotted on a ZX diagram

Additional context

  • This issue might be interesting to implement alongside #270 as a way to visualise the output of the function created in #270 and debug.
  • We should be careful in the data obtained from #271. The transformation performed by #271 (transforming the output data of #270 to a "scalable observable") should ideally be reversible, so that we can, from the "scalable observable" recover the graph-data output by #270 and plot it using the result of this issue.