Skip to content

Commit

Permalink
Update test_cutting_workflows.py, too
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison committed Oct 24, 2023
1 parent 93211e8 commit 2bb81fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cutting/test_cutting_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 2bb81fd

Please sign in to comment.