mindquantum.core.gates.ThermalRelaxationChannel
- class mindquantum.core.gates.ThermalRelaxationChannel(t1: float, t2: float, gate_time: float, **kwargs)[source]
Thermal relaxation channel.
The thermal relaxation channel describes the thermal decoherence and dephasing of qubit when a quantum gate is applied, and is determined by T1, T2 and gate time.
The Choi-matrix representation of this channel is as below:
Where
is quantum state as density matrix type; is Choi matrix, is thermal relaxation time of qubit, is dephasing time of qubit, is gate time.- Parameters
Examples
>>> from mindquantum.core.gates import ThermalRelaxationChannel >>> from mindquantum.core.circuit import Circuit >>> t1 = 100000 >>> t2 = 50000 >>> gate_time = 35 >>> circ = Circuit() >>> circ += ThermalRelaxationChannel(t1, t2, gate_time).on(0) >>> print(circ) ╔═══════════════════════════════╗ q0: ──╢ TRC(t1=100000,t2=50000,tg=35) ╟─── ╚═══════════════════════════════╝