Skip to content

Commit

Permalink
update test_estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
kmckiern authored and ampolloreno committed Jun 4, 2018
1 parent decc5a3 commit 8dc58c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grove/tests/measurements/test_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def test_estimate_pauli_sum():
pauli_terms = [sZ(0), sZ(1), sZ(0) * sZ(1)]

fakeQVM = Mock(spec=QVMConnection())
fakeQVM.run_and_measure = Mock(return_value=two_qubit_measurements)
fakeQVM.run = Mock(return_value=two_qubit_measurements)
mean, cov, estimator_var, shots = estimate_pauli_sum(pauli_terms,
{0: 'Z', 1: 'Z'},
Program(),
Expand Down

0 comments on commit 8dc58c7

Please sign in to comment.