Description Usage Arguments Value Examples
function to generate the bit representation for a specific basis state
1 | genStateNumber(int, nbits)
|
int |
integer number representing the basis state |
nbits |
integer. The number of qubits |
a integer vector of length nbits
1 2 | genStateNumber(5, 4)
genStateNumber(2, 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.