plotMeasurement: This function plots the result of a measurement

Description Usage Arguments Note Author(s) References See Also Examples

View source: R/plotMeasurement.R

Description

This function plots the output of a quantum circuit

Usage

1

Arguments

a

The vector

Note

Maintainer: Tinniam V Ganesh [email protected]

Author(s)

Tinniam V Ganesh

References

https://quantumexperience.ng.bluemix.net/
https://gigadom.wordpress.com/2016/06/23/introducing-qcsimulator-a-5-qubit-quantum-computing-simulator-in-r/

See Also

CNOT2_10
PauliX
measurement
plotMeasurement
CNOT5_03
CNOT4_13

Examples

1
2
3
# Initialze global variables
init()
plotMeasurement(measurement(TensorProd(Hadamard(I2),Hadamard(I2))))

QCSimulator documentation built on May 29, 2017, 11:18 p.m.