QMeasure: Measurement

View source: R/QMeasure.R

QMeasureR 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)


indrag49/QGameTheory documentation built on Nov. 1, 2024, 3:56 p.m.