PauliNoise {QuantumOps} | R Documentation |
PauliNoise
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
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
PauliNoise( p=convert_ket2DM(ket(1,0)) , e=0.01 )
[Package QuantumOps version 3.0.1 Index]