View source on GitHub |
Apply an amplitude damping channel
openfermion.utils.amplitude_damping_channel(
density_matrix, probability, target_qubit, transpose=False
)
Applies an amplitude damping channel with a given probability to the target qubit in the density_matrix.
Returns | |
---|---|
new_density_matrix
|
numpy.ndarray
Density matrix with the channel applied. |