You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Add amplitude damping error to all single qubit gates with error rate 0.0%
# and to all two qubit gates with error rate 0.0%
amp_damp_one_qb_error = 0.0
amp_damp_two_qb_error = 0.0
noise.add_all_qubit_quantum_error(depolarizing_error(amp_damp_one_qb_error, 1), ['rx', 'ry', 'rz']) #line number = 193
noise.add_all_qubit_quantum_error(depolarizing_error(amp_damp_two_qb_error, 2), ['cx']) #line number = 194
The text was updated successfully, but these errors were encountered:
Instead of using depolarizing_error(), we can opt for amplitude_damping_error(). However, it only applies to single-qubit errors, as amplitude_damping_error() returns a quantum error channel specific to single-qubit generalized amplitude damping. Therefore, it cannot be directly applied to a two-qubit error model like amp_damp_two_qb_error.
The text was updated successfully, but these errors were encountered: