Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,49 +47,13 @@ In this case, the output will be:
{'00': 513, '11': 511}
```

A script is available [here](examples/python/ibmq/hello_quantum.py), where we also show how to
run the same program on a real quantum computer via IBMQ.

### Executing your code on a real quantum chip

You can also use Qiskit to execute your code on a
**real quantum chip**.
In order to do so, you need to configure Qiskit for using the credentials in
your IBM Q account:

#### Configure your IBMQ credentials

1. Create an _[IBM Q](https://quantum-computing.ibm.com) > Account_ if you haven't already done so.

2. Get an API token from the IBM Q website under _My Account > API Token_.

3. Take your token from step 2, here called `MY_API_TOKEN`, and run:

```python
>>> from qiskit import IBMQ
>>> IBMQ.save_account('MY_API_TOKEN')
```

After calling `IBMQ.save_account()`, your credentials will be stored on disk.
Once they are stored, at any point in the future you can load and use them
in your program simply via:

```python
>>> from qiskit import IBMQ
>>> IBMQ.load_account()
```

Those who do not want to save their credentials to disk should use instead:

```python
>>> from qiskit import IBMQ
>>> IBMQ.enable_account('MY_API_TOKEN')
```

and the token will only be active for the session. For examples using Terra with real
devices we have provided a set of examples in **examples/python** and we suggest starting with [using_qiskit_terra_level_0.py](examples/python/using_qiskit_terra_level_0.py) and working up in
the levels.

## Contribution Guidelines

If you'd like to contribute to Qiskit Terra, please take a look at our
Expand Down
50 changes: 0 additions & 50 deletions examples/python/ibmq/ghz.py

This file was deleted.

73 changes: 0 additions & 73 deletions examples/python/ibmq/hello_quantum.py

This file was deleted.

84 changes: 0 additions & 84 deletions examples/python/ibmq/qft.py

This file was deleted.

80 changes: 0 additions & 80 deletions examples/python/ibmq/using_qiskit_terra_level_0.py

This file was deleted.

Loading