|
Sequential Quantum Gate Decomposer
v1.9.6
Powerful decomposition of general unitarias into one- and two-qubit gates gates
|
Amplitude damping channel (T1 relaxation): |1â© â |0â© decay. More...
#include <noise_operation.h>

Public Member Functions | |
| AmplitudeDampingOp (int target_qbit, double gamma) | |
| Create amplitude damping with fixed gamma. More... | |
| AmplitudeDampingOp (int target_qbit) | |
| Create parametric amplitude damping (1 parameter) More... | |
| void | apply_to_density (const double *params, int param_count, DensityMatrix &rho) override |
| Apply this operation to the density matrix. More... | |
| std::unique_ptr< IDensityOperation > | clone () const override |
| Create a deep copy of this operation. More... | |
| double | get_gamma () const |
| std::string | get_name () const override |
| Get operation name for debugging/display. More... | |
| int | get_parameter_num () const override |
| Get number of free parameters this operation requires. More... | |
| int | get_target_qbit () const |
| bool | is_parametric () const |
| bool | is_unitary () const override |
| Check if this is a unitary operation (gate) or non-unitary (noise) More... | |
Private Member Functions | |
| void | apply_amplitude_damping (DensityMatrix &rho, double gamma) |
Private Attributes | |
| double | fixed_gamma_ |
| bool | is_parametric_ |
| int | target_qbit_ |
Amplitude damping channel (T1 relaxation): |1â© â |0â© decay.
Models energy relaxation from the excited state to the ground state. Represents spontaneous emission in real quantum systems.
Kraus operators:
where γ = 1 - exp(-t/T1) is the damping parameter.
Properties:
Can be parametric (γ from parameter array) or fixed.
Definition at line 151 of file noise_operation.h.
| squander::density::AmplitudeDampingOp::AmplitudeDampingOp | ( | int | target_qbit, |
| double | gamma | ||
| ) |
Create amplitude damping with fixed gamma.
| target_qbit | Target qubit index |
| gamma | Damping parameter γ = 1 - exp(-t/T1) â [0, 1] |
Definition at line 214 of file noise_operation.cpp.

|
explicit |
Create parametric amplitude damping (1 parameter)
| target_qbit | Target qubit index |
Definition at line 225 of file noise_operation.cpp.
|
private |
Definition at line 254 of file noise_operation.cpp.


|
overridevirtual |
Apply this operation to the density matrix.
| params | Pointer to this operation's parameters (may be nullptr if param_count=0) |
| param_count | Number of parameters for this operation |
| rho | The density matrix to modify in-place |
Implements squander::density::IDensityOperation.
Definition at line 233 of file noise_operation.cpp.


|
overridevirtual |
Create a deep copy of this operation.
Implements squander::density::IDensityOperation.
Definition at line 308 of file noise_operation.cpp.

|
inline |
Definition at line 176 of file noise_operation.h.
|
inlineoverridevirtual |
Get operation name for debugging/display.
Implements squander::density::IDensityOperation.
Definition at line 170 of file noise_operation.h.


|
inlineoverridevirtual |
Get number of free parameters this operation requires.
Implements squander::density::IDensityOperation.
Definition at line 169 of file noise_operation.h.
|
inline |
Definition at line 175 of file noise_operation.h.
|
inline |
Definition at line 177 of file noise_operation.h.
|
inlineoverridevirtualinherited |
Check if this is a unitary operation (gate) or non-unitary (noise)
Implements squander::density::IDensityOperation.
Definition at line 38 of file noise_operation.h.

|
private |
Definition at line 181 of file noise_operation.h.
|
private |
Definition at line 182 of file noise_operation.h.
|
private |
Definition at line 180 of file noise_operation.h.
1.8.13