# Using Pennylane with IBM

**URL:** <https://discuss.pennylane.ai/t/using-pennylane-with-ibm/3130>\
**Category:** PennyLane Qiskit\
**Created:** [July 3, 2023, 2:07pm UTC](https://discuss.pennylane.ai/t/using-pennylane-with-ibm/3130 "2023-07-03T14:07:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Delon](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/delon/32/1744_2.png) [@Delon](https://discuss.pennylane.ai/u/Delon)\
**Post date:** [July 3, 2023, 2:07pm UTC](https://discuss.pennylane.ai/t/using-pennylane-with-ibm/3130/1 "2023-07-03T14:07:16Z")

</div>

Hello, I’m trying to use qml.device with IBM device through the following code

```auto
IBMQ.save_account("MY_IBMQ_TOKEN")
qiskit.IBMQ.load_account()
dev_ibmq = qml.device("qiskit.ibmq", wires=qubits)

```

But I get the following error :

```auto
IBMAccountError: 'No active IBM Q account, and no IBM Q token provided.'

```

Why does qml.device can’t find my account here although I saved it ?

---

<div class="post-metadata">

**Author:** ![isaacdevlugt](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/isaacdevlugt/32/1159_2.png) [@isaacdevlugt](https://discuss.pennylane.ai/u/isaacdevlugt)\
**Post date:** [July 4, 2023, 1:25pm UTC](https://discuss.pennylane.ai/t/using-pennylane-with-ibm/3130/2 "2023-07-04T13:25:22Z")

</div>

Hey @Delon!

Are you following what’s outlined [here](https://docs.pennylane.ai/projects/qiskit/en/latest/devices/ibmq.html#accounts-and-tokens) in the documentation?

---

<div class="post-metadata">

**Author:** ![Delon](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/delon/32/1744_2.png) [@Delon](https://discuss.pennylane.ai/u/Delon)\
**Post date:** [July 6, 2023, 7:40am UTC](https://discuss.pennylane.ai/t/using-pennylane-with-ibm/3130/3 "2023-07-06T07:40:02Z")

</div>

Well, my bad it seems to be working now…

---

<div class="post-metadata">

**Author:** ![isaacdevlugt](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/isaacdevlugt/32/1159_2.png) [@isaacdevlugt](https://discuss.pennylane.ai/u/isaacdevlugt)\
**Post date:** [July 6, 2023, 1:19pm UTC](https://discuss.pennylane.ai/t/using-pennylane-with-ibm/3130/4 "2023-07-06T13:19:49Z")

</div>

No worries at all! Glad I could help 😃
