Description Usage Arguments Value Examples
Takes as input a gate and generates the matrix for that gate being applied to multiple qubits by creating a tensor product of the matrix. If a ket is supplied, the matrix will be applied to the ket
1 |
gate |
Single qubit gate to apply |
n |
Number of qubits that the gate will be applied to |
... |
Either no argument or a ket that the gates will be applied to |
The matrix representing the application of many gates or a ket after the gates have been applied
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.