Description Usage Arguments Value Examples
View source: R/PauliOperators.R
Generates random Pauli operators (tensor products of random I,X,Y,or Z gates applied to each qubit) that can be applied to register of n qubits. Used with Randomized Compiling, where random Pauli gates are applied to each qubit.
1 | PauliOperators(n,m=4^n,unique=TRUE)
|
n |
Size of the Pauli operators to generate, should be equal to the number of target qubits |
m |
Number of different Pauli operators to generate |
unique |
Boolean indicating if each Pauli operator generated should be unqiue. Must be false is m > 4^n |
A list of m Pauli operators of size n
1 | PauliOperators( n=2,m=2,unique=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.