Skip to content

Commit

Permalink
chore: update lock
Browse files Browse the repository at this point in the history
  • Loading branch information
vprusso committed Feb 12, 2025
1 parent 810a63f commit f421541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metriq_gym/benchmarks/chsh.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def ibm_chsh_subgraph(coloring: GraphColoring, result_data: list[ResultData]) ->
num_meas_pairs = len(
{key for key, val in coloring.edge_color_map.items() if val == job_idx}
)
exp_vals = np.zeros(num_meas_pairs, dtype=float)
exp_vals: np.ndarray = np.zeros(num_meas_pairs, dtype=float)
for idx in range(4):
counts = result.measurement_counts[idx]
# Expectation values for the CHSH correlation terms are calculated based on measurement outcomes.
Expand Down

0 comments on commit f421541

Please sign in to comment.