mindquantum.core.gates.AmplitudeDampingChannel
- class mindquantum.core.gates.AmplitudeDampingChannel(gamma: float, **kwargs)[source]
Amplitude damping channel express error that qubit is affected by the energy dissipation.
Amplitude damping channel applies noise as:
\[\begin{split}\begin{gather*} \epsilon(\rho) = E_0 \rho E_0^\dagger + E_1 \rho E_1^\dagger \\ \text{where}\ {E_0}=\begin{bmatrix}1&0\\ 0&\sqrt{1-\gamma}\end{bmatrix}, \ {E_1}=\begin{bmatrix}0&\sqrt{\gamma}\\ 0&0\end{bmatrix} \end{gather*}\end{split}\]where \(\rho\) is quantum state as density matrix type; \(\gamma\) is the coefficient of energy dissipation.
Examples
>>> from mindquantum.core.gates import AmplitudeDampingChannel >>> from mindquantum.core.circuit import Circuit >>> circ = Circuit() >>> circ += AmplitudeDampingChannel(0.02).on(0) >>> print(circ) ╔═════════════╗ q0: ──╢ ADC(γ=1/50) ╟─── ╚═════════════╝