QMeasure {QGameTheory} | R Documentation |
Measurement
Description
This function performs a projective measurement of a quantum state n
, in the computational basis and plots the corresponding probability distributions of the qubits.
Usage
QMeasure(n)
Arguments
n |
a vector representing a quantum state |
Value
No return value, plots the probability distributions of the qubits after performing a projective measurement of a quantum state n
.
References
https://books.google.co.in/books?id=66TgFp2YqrAC&pg=PA25&redir_esc=y
https://en.wikipedia.org/wiki/Measurement_in_quantum_mechanics
Examples
init()
QMeasure(Q$Q10110)
[Package QGameTheory version 0.1.2 Index]