Skip to content

Commit

Permalink
Update error_mitigation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mho291 authored Aug 16, 2024
1 parent 4960305 commit 4455a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibo/models/error_mitigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4455a70

Please sign in to comment.