mm.physics.gaussian.amp_XYd¶
- mrmustard.physics.gaussian.amp_XYd(gain, nbar)[source]¶
Returns the
X
,Y
matrices and the d vector for the noisy amplifier channel.\[X = math.sqrt(gain) Y = (gain-1) * (2 * nbar + 1) * hbar / 2\]Reference: Alessio Serafini - Quantum Continuous Variables (5.77, p. 111)
The quantum limited amplifier channel is recovered for
nbar = 0.0
.- Parameters:
gain (float) – value of the gain > 1
nbar (float) – photon number expectation value in the environment (0 for quantum limited amplifier)
- Returns:
the
X
,Y
matrices and thed
vector for the noisy amplifier channel.- Return type:
Tuple[Matrix, Vector]
code/api/mrmustard.physics.gaussian.amp_XYd
Download Python script
Download Notebook
View on GitHub