Description Usage Arguments Value Examples
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.
1 | PauliNoise(p,e=ex+ey+ez,ex=e/3,ey=e/3,ez=e/3)
|
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 |
The quantum state in density matrix format, after Pauli noise has been applied to it
1 | PauliNoise( p=convert_ket2DM(ket(1,0)) , e=0.01 )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.