probs {QuantumOps} | R Documentation |
probs
Description
Returns a column vector containing the probabilities of measuring the system in each state
Usage
probs(ket)
Arguments
ket |
ket (column vector) that is input to the gate |
Value
Column vector containing probabilities
Examples
probs(ket(1,1))
[Package QuantumOps version 3.0.1 Index]