Skip to content

Commit d4536ff

Browse files
committed
increased the rounding precision for terminal sampling a bit
1 parent 85ad954 commit d4536ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qrisp/jasp/terminal_sampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def eqn_evaluator(eqn, context_dic):
227227
# Round to prevent floating point errors of the simulation
228228
norm = 0
229229
for k, v in meas_res_dic.items():
230-
meas_res_dic[k] = np.round(v, decimals = 5)
230+
meas_res_dic[k] = np.round(v, decimals = 8)
231231
norm += meas_res_dic[k]
232232

233233
for k, v in meas_res_dic.items():

0 commit comments

Comments
 (0)