From bacbcf68bc6e0eae9cd5e3abfeaaa2a7a12dac66 Mon Sep 17 00:00:00 2001 From: jselig-rigetti <97701976+jselig-rigetti@users.noreply.github.com> Date: Fri, 5 Jan 2024 11:26:44 -0700 Subject: [PATCH] fix: README example needs coupling_map defined (#43) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dec09e..5911471 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ circuit.cx(0, 1) circuit.measure([0, 1], [0, 1]) # Execute the circuit on the backend -job = execute(circuit, backend, shots=10) +job = execute(circuit, backend, shots=10, coupling_map=backend.coupling_map) # Grab results from the job result = job.result()