PauliOperators {QuantumOps}R Documentation

PauliOperators

Description

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

Value

A list of m Pauli operators of size n

Examples

 PauliOperators( n=2,m=2,unique=FALSE)

[Package QuantumOps version 3.0.1 Index]