Skip to content

Commit

Permalink
remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienCalistoTD committed May 13, 2024
1 parent bec44d3 commit 444dea7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion mpqp/execution/providers/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,5 +351,5 @@ def extract_result_OBSERVABLE(
mean += abs(result1)
if isinstance(result1, ObservableMeasuredResult):
mean += result1.mean
# TODO variance not supported variance += result1.variance
# 3M-TODO variance not supported variance += result1.variance
return Result(job, mean, variance, job.measure.shots)
1 change: 0 additions & 1 deletion tests/execution/test_validity.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
s = np.sqrt
e = np.exp

# TODO: Add Cirq simulators to the list, when available
state_vector_devices = [
IBMDevice.AER_SIMULATOR_STATEVECTOR,
GOOGLEDevice.CIRQ_LOCAL_SIMULATOR,
Expand Down

0 comments on commit 444dea7

Please sign in to comment.