Plot the histogram of a quantum measurement
# S3 method for measurement
hist(x, only.nonzero = TRUE, by.name = only.nonzero,
freq = TRUE, ...)
No return value.
object as returned by measure
are the states with zero measurements to be plotted?
shall the xlabel contain the basis names? If FALSE
, the
index number is used.
shall the total counts be plotted? If not, the values are normalised to 1.
Generic parameters to pass on to barplot()