From 2bb81fd4a536549a6095d59b38a10bd8f826ca99 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Tue, 24 Oct 2023 12:32:13 -0400 Subject: [PATCH] Update `test_cutting_workflows.py`, too --- test/cutting/test_cutting_workflows.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cutting/test_cutting_workflows.py b/test/cutting/test_cutting_workflows.py index e743e8f00..2ee48732f 100644 --- a/test/cutting/test_cutting_workflows.py +++ b/test/cutting/test_cutting_workflows.py @@ -94,12 +94,12 @@ def test_exotic_labels(label1, label2): for i, subexperiment in enumerate(subexperiments[label]): results[label].metadata[i]["num_qpd_bits"] = len(subexperiment.cregs[0]) - simulated_expvals = reconstruct_expectation_values( + reconstructed_expvals = reconstruct_expectation_values( results, coefficients, subobservables, ) - assert len(simulated_expvals) == len(observables) + assert len(reconstructed_expvals) == len(observables) def test_workflow_with_unused_qubits():