|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Phase damping (T2 dephasing): loss of coherence. More...
#include <noise_channel.h>

Public Member Functions | |
| void | apply (DensityMatrix &rho) override |
| Apply noise channel to density matrix. More... | |
| double | get_lambda () const |
| std::string | get_name () const override |
| Get channel name. More... | |
| int | get_target_qbit () const |
| PhaseDampingChannel (int target_qbit, double lambda) | |
| Constructor. More... | |
Private Attributes | |
| double | lambda_ |
| λ = 1 - exp(-t/T2) More... | |
| int | target_qbit_ |
Phase damping (T2 dephasing): loss of coherence.
Models phase randomization without energy loss. Represents decoherence in real quantum systems.
Kraus operators:
where λ = 1 - exp(-t/T2)
Example:
Definition at line 145 of file noise_channel.h.
| squander::density::PhaseDampingChannel::PhaseDampingChannel | ( | int | target_qbit, |
| double | lambda | ||
| ) |
Constructor.
| target_qbit | Target qubit index |
| lambda | Dephasing parameter λ = 1 - exp(-t/T2) â [0, 1] |
| std::invalid_argument | if lambda not in [0,1] |
Definition at line 132 of file noise_channel.cpp.
|
overridevirtual |
Apply noise channel to density matrix.
| rho | Density matrix (modified in-place) |
Implements squander::density::NoiseChannel.
Definition at line 139 of file noise_channel.cpp.

|
inline |
|
inlineoverridevirtual |
Get channel name.
Implements squander::density::NoiseChannel.
Definition at line 156 of file noise_channel.h.
|
inline |
|
private |
λ = 1 - exp(-t/T2)
Definition at line 163 of file noise_channel.h.
|
private |
Definition at line 162 of file noise_channel.h.
1.8.13