powered by
Returns a column vector containing the probabilities of measuring the system in each state
probs(ket)
ket (column vector) that is input to the gate
Column vector containing probabilities
# NOT RUN { probs(ket(1,1)) # }
Run the code above in your browser using DataLab