Skip to content

Commit

Permalink
fix: README example needs coupling_map defined (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jselig-rigetti authored Jan 5, 2024
1 parent 05a3b08 commit bacbcf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit bacbcf6

Please sign in to comment.