hist.measurement: Plot the histogram of a quantum measurement

View source: R/measure.R

hist.measurementR Documentation

Plot the histogram of a quantum measurement

Description

Plot the histogram of a quantum measurement

Usage

## 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 Oct. 16, 2023, 5:06 p.m.