Init with binary digits

Suppose there are binary digits $ x_i\in\{0,1\}$. One can set the initial ket vector of a pure quantum register to $ \vert x_1x_2\ldots x_n\rangle$ by the command
init $ x_1$ $ x_2$ $ x_3$ ... $ x_n$;
For instance, ``init 0 1 0 1;'' set the initial state to $ \vert101\rangle$.

root
2004-11-07