From 9e00b70d88c90454286a71052832f00e0c853052 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Wed, 17 Jul 2024 17:19:20 -0400 Subject: [PATCH] black --- test/cutting/test_cutting_roundtrip.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/cutting/test_cutting_roundtrip.py b/test/cutting/test_cutting_roundtrip.py index 79e2a1a21..e01029273 100644 --- a/test/cutting/test_cutting_roundtrip.py +++ b/test/cutting/test_cutting_roundtrip.py @@ -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))