Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
garrison committed Jul 17, 2024
1 parent c63728f commit 9e00b70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/cutting/test_cutting_roundtrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,7 @@ def test_sampler_with_identity_subobservable(sampler, is_exact_sampler):
if is_exact_sampler:
# Determine exact expectation values
estimator = EstimatorV2()
exact_expvals = (
estimator.run([(qc, list(observables))]).result()[0].data.evs
)
exact_expvals = estimator.run([(qc, list(observables))]).result()[0].data.evs

logger.info(
"Max error: %f", np.max(np.abs(exact_expvals - reconstructed_expvals))
Expand Down

0 comments on commit 9e00b70

Please sign in to comment.