hist.measurement: Plot the histogram of a quantum measurement

Description Usage Arguments Value

View source: R/measure.R

Description

Plot the histogram of a quantum measurement

Usage

1
2
## S3 method for class 'measurement'
hist(x, only.nonzero = TRUE, by.name = only.nonzero, freq = TRUE, ...)

Arguments

x

object as returned by measure

only.nonzero

are the states with zero measurements to be plotted?

by.name

shall the xlabel contain the basis names? If FALSE, the index number is used.

freq

shall the total counts be plotted? If not, the values are normalised to 1.

...

Generic parameters to pass on to barplot()

Value

No return value.


qsimulatR documentation built on Jan. 13, 2021, 3:13 p.m.