diff --git a/src/qibo/models/error_mitigation.py b/src/qibo/models/error_mitigation.py index 6097e37e16..eea1071399 100644 --- a/src/qibo/models/error_mitigation.py +++ b/src/qibo/models/error_mitigation.py @@ -209,7 +209,7 @@ def ZNE( gamma = get_gammas(noise_levels, analytical=solve_for_gammas) - return expected_values, gamma, np.sum(gamma * expected_values) + return np.sum(gamma * expected_values) def sample_training_circuit_cdr(