Description Usage Arguments Value Examples
Takes a given quantum gate and tests it with computational basis states as input. Can test a subset of possible inputs if specified, otherwise it tests all possible inputs. Useful for testing user defined gates.
1 |
g |
Matrix that represents a quantum gate (operation) |
inputs |
Vector of indices of computational basis states to test. Default is that all computational basis states will be tested |
None
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.