PauliNoise: PauliNoise

Description Usage Arguments Value Examples

View source: R/PauliNoise.R

Description

Applies stochastic Pauli noise to an input quantum state. If only e is set, it is equally distributed to X, Y, and Z error which is an isotropic Pauli noise model. Otherwise, levels can be set seperately for each.

Usage

1
PauliNoise(p,e=ex+ey+ez,ex=e/3,ey=e/3,ez=e/3)

Arguments

p

Input quantum state, in density matrix format

e

Total amount of noise to apply the state, is the sum of ex, ey, and ez

ex

Amount of X noise to apply to the state

ey

Amount of Y noise to apply to the state

ez

Amount of Z noise to apply to the state

Value

The quantum state in density matrix format, after Pauli noise has been applied to it

Examples

1
 PauliNoise( p=convert_ket2DM(ket(1,0)) , e=0.01  )

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