Skip to content

Commit

Permalink
Update README.md [no ci
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroripper authored May 29, 2024
1 parent cbd73f4 commit a28805f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@ for i = 1:result_count(model)
end
```

## Changing the backend and instance


```julia
MOI.set(model, VQE.IBMBackend(), "ibm_osaka") # or QAOA.IBMBackend
MOI.set(model, VQE.Instance(), "my/instance") # or QAOA.Instance

# Using a fake backend
MOI.set(model, VQE.IBMFakeBackend(), QiskitOpt.qiskit_ibm_runtime.fake_provider.FakeAlgiers) # or QAOA.IBMFakeBackend

```

## API Token
To access IBM's Quantum Computers, it is necessary to create an account at [IBM Q](https://quantum-computing.ibm.com/) to obtain an API Token and run the following python code:

Expand Down

0 comments on commit a28805f

Please sign in to comment.