qat.quops.make_generalized_amplitude_damping
- qat.quops.make_generalized_amplitude_damping(prob, lamb)
Build the generalized amplitude damping channel, defined by the Kraus operators:
\[\begin{split}\sqrt{p}\left[\begin{array}{cc} 1 & 0\\ 0 & \sqrt{1-\lambda} \end{array}\right],\;\sqrt{p}\left[\begin{array}{cc} 0 & \sqrt{\lambda}\\ 0 & 0 \end{array}\right],\;\sqrt{1-p}\left[\begin{array}{cc} \sqrt{1-\lambda} & 0\\ 0 & 1 \end{array}\right],\;\sqrt{1-p}\left[\begin{array}{cc} 0 & 0\\ \sqrt{\lambda} & 0 \end{array}\right]\end{split}\]- Parameters
prob (float) – param \(p\)
lamb (float) – param \(\lambda\)
- Returns
the generalized amplitude channel
- Return type