From f4215414259b84ac73a8d2d9b2b0b590e07cb6ac Mon Sep 17 00:00:00 2001 From: vprusso Date: Tue, 11 Feb 2025 19:22:37 -0500 Subject: [PATCH] chore: update lock --- metriq_gym/benchmarks/chsh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metriq_gym/benchmarks/chsh.py b/metriq_gym/benchmarks/chsh.py index 47ee90d..b547b09 100644 --- a/metriq_gym/benchmarks/chsh.py +++ b/metriq_gym/benchmarks/chsh.py @@ -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.