Next:
Init with complex magnitudes
Up:
Set an initial state
Previous:
Set an initial state
Init
with binary digits
Suppose there are binary digits
. One can set the initial ket vector of a pure quantum register to
by the command
init
...
;
For instance, ``init 0 1 0 1;'' set the initial state to
.
root
2004-11-07