ranket {QuantumOps} | R Documentation |
ranket
Description
Generates a random ket by selecting random polar coordinates (theta,phi) for each. Approach taken from <DOI:10.1103/PhysRevA.95.062338>.
Usage
ranket(n)
Arguments
n |
Number of qubits in generated get |
Value
A ket with a randomized state
Examples
ranket(4)
[Package QuantumOps version 3.0.1 Index]