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.
Usage
PauliOperators(n,m=4^n,unique=TRUE)
Arguments
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