From 5b148a6d41c297ebd5cc8abac4afec37f8e9ad46 Mon Sep 17 00:00:00 2001 From: Kevin Tian Date: Wed, 6 Nov 2024 11:53:02 -0500 Subject: [PATCH] Update readme (#2018) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0fdf97ee8..523cd2575 100644 --- a/README.md +++ b/README.md @@ -247,8 +247,8 @@ isa_circuit = pm.run(circuit) isa_observables = M1.apply_layout(isa_circuit.layout) # 3. Execute iteratively using the Estimator primitive -with Session(service=service, backend=backend) as session: - estimator = Estimator(session=session) +with Session(backend=backend) as session: + estimator = Estimator(mode=session) estimator.options.default_precision = 0.03 # Options can be set using auto-complete. #next test range thetac = thetab - (thetab - thetaa) / gr