powered by
Implements Phase Damping noise model on the input quantum state. Formulas taken from <DOI:10.1103/PhysRevA.90.062320>.
PhaseDamping(p,Ppd)
Input quantum state, in density matrix format
The probability of phase Damping.
The quantum state, after Phase Damping has been applied.
# NOT RUN { PhaseDamping(p=convert_ket2DM(ket(1,0)),Ppd=0.01) # }
Run the code above in your browser using DataLab