Skip to content

Commit bacbcf6

Browse files
fix: README example needs coupling_map defined (#43)
1 parent 05a3b08 commit bacbcf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ circuit.cx(0, 1)
6363
circuit.measure([0, 1], [0, 1])
6464

6565
# Execute the circuit on the backend
66-
job = execute(circuit, backend, shots=10)
66+
job = execute(circuit, backend, shots=10, coupling_map=backend.coupling_map)
6767

6868
# Grab results from the job
6969
result = job.result()

0 commit comments

Comments
 (0)