Skip to content

Commit

Permalink
fixed call to avg_energy in SummaryStatistics
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanh6 committed Sep 8, 2023
1 parent 3cc3fee commit 8449eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygsti/protocols/vb.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def adjusted_success_probability(hamming_distance_counts):
return adjSP

def _get_energies(icirc, circ, dsrow, measurement, sign):
eng = _avg_energy(dsrow, measurement, sign)
eng = avg_energy(dsrow, measurement, sign)
ret = {'energies': eng, 'total_counts': dsrow.total}
return ret

Expand Down

0 comments on commit 8449eff

Please sign in to comment.