PauliOperators: PauliOperators

Description Usage Arguments Value Examples

View source: R/PauliOperators.R

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

1

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

1

QuantumOps documentation built on Feb. 3, 2020, 5:07 p.m.