# PennyLane Qiskit

**URL:** https://discuss.pennylane.ai/c/pennylane-plugins/pennylane-qiskit/15.md

[Latest](https://discuss.pennylane.ai/latest.md) · [Categories](https://discuss.pennylane.ai/categories.md)

---

## [About the PennyLane Qiskit category](https://discuss.pennylane.ai/t/about-the-pennylane-qiskit-category/209)

<div class="topic-metadata">

**Author:** [@josh](https://discuss.pennylane.ai/u/josh)\
**Replies:** 0

</div>

For all posts related to the PennyLane Qiskit plugin, including usage, help, and development. See the PennyLane-Qiskit GitHub (https://github.com/xanaduai/pennylane-qiskit) and Documentation (https://pennylane-qiskit.rea…

---

## [Qiskit learning roadmap for beginner](https://discuss.pennylane.ai/t/qiskit-learning-roadmap-for-beginner/9189)

<div class="topic-metadata">

**Author:** [@Heet\_Bhatt](https://discuss.pennylane.ai/u/Heet_Bhatt)\
**Replies:** 2\
**Last updated:** [January 14, 2026, 1:39am UTC](https://discuss.pennylane.ai/t/qiskit-learning-roadmap-for-beginner/9189 "2026-01-14T01:39:13Z")

</div>

I want to learn Qiskit in a structured and reliable way with the long-term goal of becoming an open-source contributor to the Qiskit ecosystem. However, I am struggling to find a clear and efficient learning roadmap focu…

---

## [issue with converting parametrizeable RZX gate in pennylane](https://discuss.pennylane.ai/t/issue-with-converting-parametrizeable-rzx-gate-in-pennylane/8915)

<div class="topic-metadata">

**Author:** [@Kuift](https://discuss.pennylane.ai/u/Kuift)\
**Replies:** 6\
**Last updated:** [September 20, 2025, 12:15am UTC](https://discuss.pennylane.ai/t/issue-with-converting-parametrizeable-rzx-gate-in-pennylane/8915 "2025-09-20T00:15:36Z")

</div>

Hello, my group is currently working on running code on a eagle ibm computer. We want parts of our code to be in pennylane and other parts to be in qiskit. We design parametrizable ansatz in both frameworks. To make this…

---

## [Batching qml.from\_qiskit circuits](https://discuss.pennylane.ai/t/batching-qml-from-qiskit-circuits/9017)

<div class="topic-metadata">

**Author:** [@minn-bj](https://discuss.pennylane.ai/u/minn-bj)\
**Replies:** 1\
**Last updated:** [September 11, 2025, 10:37pm UTC](https://discuss.pennylane.ai/t/batching-qml-from-qiskit-circuits/9017 "2025-09-11T22:37:28Z")

</div>

Hello there, is there a way to broadcast circuits translated from the qml.from\_qiskit function similar to the default.qubit with the torch interface? Best regards minn-bj

---

## [Error connecting to IBMQ hardware](https://discuss.pennylane.ai/t/error-connecting-to-ibmq-hardware/8828)

<div class="topic-metadata">

**Author:** [@qage](https://discuss.pennylane.ai/u/qage)\
**Replies:** 3\
**Last updated:** [July 30, 2025, 10:02pm UTC](https://discuss.pennylane.ai/t/error-connecting-to-ibmq-hardware/8828 "2025-07-30T22:02:52Z")

</div>

Hello! If applicable, put your complete code example down below. Make sure that your code: is 100% self-contained — someone can copy-paste exactly what is here and run it to reproduce the behaviour you are observing i…

---

## [Converting QCNN from Qiskit](https://discuss.pennylane.ai/t/converting-qcnn-from-qiskit/7736)

<div class="topic-metadata">

**Author:** [@DOC1](https://discuss.pennylane.ai/u/DOC1)\
**Replies:** 3\
**Last updated:** [December 17, 2024, 11:11pm UTC](https://discuss.pennylane.ai/t/converting-qcnn-from-qiskit/7736 "2024-12-17T23:11:36Z")

</div>

I am trying to convert the QCNN model as defined here into Pennylane - https://qiskit-community.github.io/qiskit-machine-learning/tutorials/11\_quantum\_convolutional\_neural\_networks.html. I have downloaded their notebook…

---

## [Pennylane-Qiskit Session Error](https://discuss.pennylane.ai/t/pennylane-qiskit-session-error/7311)

<div class="topic-metadata">

**Author:** [@grier\_jones](https://discuss.pennylane.ai/u/grier_jones)\
**Replies:** 25\
**Last updated:** [December 9, 2024, 7:58pm UTC](https://discuss.pennylane.ai/t/pennylane-qiskit-session-error/7311 "2024-12-09T19:58:08Z")

</div>

I am having trouble trying to make a QML model that is within a Qiskit runtime session. The motivation for trying to do it in a session is because with a real QML example (not the toy case below) it was estimated to take…

---

## [Documentation question: Pennylane-qiskit plugin](https://discuss.pennylane.ai/t/documentation-question-pennylane-qiskit-plugin/7541)

<div class="topic-metadata">

**Author:** [@adilet\_akimshe](https://discuss.pennylane.ai/u/adilet_akimshe)\
**Replies:** 7\
**Last updated:** [November 19, 2024, 9:32pm UTC](https://discuss.pennylane.ai/t/documentation-question-pennylane-qiskit-plugin/7541 "2024-11-19T21:32:23Z")

</div>

Hi! In the docs, it is written that Currently, sessions cannot be used by IBM users on the Open plan. We recommend referring to the Qiskit Session documentation and opening a session with Qiskit’s session directly. W…

---

## [Quantum Device Error, Device qiskit does not exist. Make sure the required plugin is installed](https://discuss.pennylane.ai/t/quantum-device-error-device-qiskit-does-not-exist-make-sure-the-required-plugin-is-installed/7575)

<div class="topic-metadata">

**Author:** [@shay](https://discuss.pennylane.ai/u/shay)\
**Replies:** 1\
**Last updated:** [November 15, 2024, 9:34pm UTC](https://discuss.pennylane.ai/t/quantum-device-error-device-qiskit-does-not-exist-make-sure-the-required-plugin-is-installed/7575 "2024-11-15T21:34:12Z")

</div>

Hello! so I’m using google colab and I have tensorflow pennylane qiskit qiskit\_ibm\_runtime pennylane\_qiskit. I restarted runtime too but the error is still there. # Quantum Circuit Setup n\_qubits = 2 n\_layers = 1 #Av…

---

## [How to execute several pennylane circuits in one qiskit session?](https://discuss.pennylane.ai/t/how-to-execute-several-pennylane-circuits-in-one-qiskit-session/5250)

<div class="topic-metadata">

**Author:** [@ARO-GZ](https://discuss.pennylane.ai/u/ARO-GZ)\
**Replies:** 5\
**Last updated:** [October 30, 2024, 12:25am UTC](https://discuss.pennylane.ai/t/how-to-execute-several-pennylane-circuits-in-one-qiskit-session/5250 "2024-10-30T00:25:02Z")

</div>

Hello, I am trying to train a variational quantum algorithm on ibm’s hardware. To avoid huge delays, it would be most useful to be able to exploit the new QiskitRuntimeService feature that allows you to temporarily block…

---

## [Running Pennylane circuit in IBMQ backend with Qiskit Runtime Session](https://discuss.pennylane.ai/t/running-pennylane-circuit-in-ibmq-backend-with-qiskit-runtime-session/3101)

<div class="topic-metadata">

**Author:** [@sdas](https://discuss.pennylane.ai/u/sdas)\
**Replies:** 16\
**Last updated:** [October 22, 2024, 1:22am UTC](https://discuss.pennylane.ai/t/running-pennylane-circuit-in-ibmq-backend-with-qiskit-runtime-session/3101 "2024-10-22T01:22:40Z")

</div>

Hi, I have a hybrid quantum-classical machine learning program which I am running on IBMQ backends using the qiskit-pennylane plugin. For each classical data-point, I need to run the quantum circuit with classical post p…

---

## [Error measuring expval on qiskit cpu](https://discuss.pennylane.ai/t/error-measuring-expval-on-qiskit-cpu/7314)

<div class="topic-metadata">

**Author:** [@ecasciaro\_unifi](https://discuss.pennylane.ai/u/ecasciaro_unifi)\
**Replies:** 1\
**Last updated:** [October 18, 2024, 4:08am UTC](https://discuss.pennylane.ai/t/error-measuring-expval-on-qiskit-cpu/7314 "2024-10-18T04:08:57Z")

</div>

Hello everyone! I was trying to use the qiskit plugin to get access to IBM QPUs, but I get the following error when measuring the expectation value of an operator: ValueError: The number of qubits of the circuit (127) do…

---

## [IBMBackendValueError: number of circuits exceeds the maximum for this backend, 300](https://discuss.pennylane.ai/t/ibmbackendvalueerror-number-of-circuits-exceeds-the-maximum-for-this-backend-300/4348)

<div class="topic-metadata">

**Author:** [@Yang](https://discuss.pennylane.ai/u/Yang)\
**Replies:** 10\
**Last updated:** [September 26, 2024, 2:52pm UTC](https://discuss.pennylane.ai/t/ibmbackendvalueerror-number-of-circuits-exceeds-the-maximum-for-this-backend-300/4348 "2024-09-26T14:52:32Z")

</div>

Hi, I am trying to run the QAOA on the IBMQ device. The QAOA circuit consists of 6 qubits, two layers. The number of total trainable parameters for the QAOA circuit is 14. The toy code is as below: dev = qml.device('qis…

---

## [EstimatorV2.\_\_init\_\_() got an unexpected keyword argument 'session'](https://discuss.pennylane.ai/t/estimatorv2-init-got-an-unexpected-keyword-argument-session/5236)

<div class="topic-metadata">

**Author:** [@Christophe\_Pere](https://discuss.pennylane.ai/u/Christophe_Pere)\
**Replies:** 3\
**Last updated:** [September 26, 2024, 8:05pm UTC](https://discuss.pennylane.ai/t/estimatorv2-init-got-an-unexpected-keyword-argument-session/5236 "2024-09-26T20:05:54Z")

</div>

Hello, I want to upgrade my code and use the 0.38 version of the Qiskit plugin. I ran the code from The Remote device — PennyLane-Qiskit 0.38.0 documentation Code: from qiskit\_ibm\_runtime import QiskitRuntimeService f…

---

## [Long execution on a real IBM machine due to SSLSocket](https://discuss.pennylane.ai/t/long-execution-on-a-real-ibm-machine-due-to-sslsocket/5170)

<div class="topic-metadata">

**Author:** [@Christophe\_Pere](https://discuss.pennylane.ai/u/Christophe_Pere)\
**Replies:** 5\
**Last updated:** [September 17, 2024, 3:09am UTC](https://discuss.pennylane.ai/t/long-execution-on-a-real-ibm-machine-due-to-sslsocket/5170 "2024-09-17T03:09:26Z")

</div>

Hi there, I developed a new variational algorithm during my research. I tested it on simulators (CPU, GPU) and a Quantum System One 127 qubits (IBM) using the plugin pennylane-qiskit version 0.37 (0.38 gave me a bug wit…

---

## [Dumping IsingZZ to qasm2 then loading the qasm2 file doesn't work](https://discuss.pennylane.ai/t/dumping-isingzz-to-qasm2-then-loading-the-qasm2-file-doesnt-work/5161)

<div class="topic-metadata">

**Author:** [@Hovnatan\_Karapetyan](https://discuss.pennylane.ai/u/Hovnatan_Karapetyan)\
**Replies:** 3\
**Last updated:** [September 10, 2024, 9:59pm UTC](https://discuss.pennylane.ai/t/dumping-isingzz-to-qasm2-then-loading-the-qasm2-file-doesnt-work/5161 "2024-09-10T21:59:26Z")

</div>

When I try qiskit.qasm2.dumps(circuit) with qml.IsingZZ in it, then reload the circuit using qml.from\_qasm(circuit\_qasm) there is an error message qiskit.qasm2.exceptions.QASM2ParseError: "\<input\>:10,0: 'rzz' is not def…

---

## [Mid circuit measurements](https://discuss.pennylane.ai/t/mid-circuit-measurements/5117)

<div class="topic-metadata">

**Author:** [@yoshypdf](https://discuss.pennylane.ai/u/yoshypdf)\
**Replies:** 1\
**Last updated:** [September 6, 2024, 1:21am UTC](https://discuss.pennylane.ai/t/mid-circuit-measurements/5117 "2024-09-06T01:21:05Z")

</div>

Hello, Do mid circuit measurements work with the device qiskit.aer ( I use it for visualisation ) ? It seems to me that they don’t but perhaps I misunderstood something . Thanks

---

## [Trouble implementing parallel operations](https://discuss.pennylane.ai/t/trouble-implementing-parallel-operations/4929)

<div class="topic-metadata">

**Author:** [@justin6626](https://discuss.pennylane.ai/u/justin6626)\
**Replies:** 10\
**Last updated:** [August 9, 2024, 8:28pm UTC](https://discuss.pennylane.ai/t/trouble-implementing-parallel-operations/4929 "2024-08-09T20:28:33Z")

</div>

Hi all, I am working on an experiment in which I am trying to implement parallel operations for a quantum-classical hybrid network that uses the qiskit.aer device instantiated with a noise model. In my approach to paral…

---

## [Qiskit.Aer plugin with JAX not working](https://discuss.pennylane.ai/t/qiskit-aer-plugin-with-jax-not-working/3084)

<div class="topic-metadata">

**Author:** [@Andrea\_Ceschini](https://discuss.pennylane.ai/u/Andrea_Ceschini)\
**Replies:** 7\
**Last updated:** [July 18, 2024, 1:39am UTC](https://discuss.pennylane.ai/t/qiskit-aer-plugin-with-jax-not-working/3084 "2024-07-18T01:39:33Z")

</div>

Hello, I’m having some troubles in using Qiskit plugin and JAX. In particular, I’m using qiskit.aer as device, together with a noise\_model coming from a fake Qiskit backend. I’m using JAX to jit and vmap the function ex…

---

## [How to use a real hardware for VQE?](https://discuss.pennylane.ai/t/how-to-use-a-real-hardware-for-vqe/4626)

<div class="topic-metadata">

**Author:** [@verstrikt](https://discuss.pennylane.ai/u/verstrikt)\
**Replies:** 4\
**Last updated:** [May 28, 2024, 4:34pm UTC](https://discuss.pennylane.ai/t/how-to-use-a-real-hardware-for-vqe/4626 "2024-05-28T16:34:19Z")

</div>

Hello everyone. I have a question. Where can I see the tutorial for accessing any real hardware (for example, the IBM real backends) to run my VQE program that I wrote using Pennylane? Thank you very much for the answe…

---

## [Qml.device error with qiskit.aer](https://discuss.pennylane.ai/t/qml-device-error-with-qiskit-aer/4556)

<div class="topic-metadata">

**Author:** [@art](https://discuss.pennylane.ai/u/art)\
**Replies:** 17\
**Last updated:** [May 15, 2024, 10:07pm UTC](https://discuss.pennylane.ai/t/qml-device-error-with-qiskit-aer/4556 "2024-05-15T22:07:01Z")

</div>

After creating a conda python 3.9 environment and activating it I ran the following command: pip3 install -r tutorial\_requirements.txt from the following page: The I ran the following code and got the error as shown…

---

## [Pennylane-qiskit IBMQ does not allow for batching circuits?](https://discuss.pennylane.ai/t/pennylane-qiskit-ibmq-does-not-allow-for-batching-circuits/298)

<div class="topic-metadata">

**Author:** [@RicardoGaGu](https://discuss.pennylane.ai/u/RicardoGaGu)\
**Replies:** 14\
**Last updated:** [March 6, 2024, 11:06pm UTC](https://discuss.pennylane.ai/t/pennylane-qiskit-ibmq-does-not-allow-for-batching-circuits/298 "2024-03-06T23:06:20Z")

</div>

I’m experimenting with variational classifier which I have trained and obtained the optimal parameters. I wanted to score my trained model on the IBMQ cloud service, the following code contains the predict function for a…

---

## [Problem with qml.load()](https://discuss.pennylane.ai/t/problem-with-qml-load/3898)

<div class="topic-metadata">

**Author:** [@Priyansh](https://discuss.pennylane.ai/u/Priyansh)\
**Replies:** 3\
**Last updated:** [January 18, 2024, 2:22pm UTC](https://discuss.pennylane.ai/t/problem-with-qml-load/3898 "2024-01-18T14:22:35Z")

</div>

Hello! I am facing the following error while using the qml.load(), below is an example code that I have used form here https://discuss.pennylane.ai/t/how-to-train-a-circuit-imported-from-qiskit/1832/2 # Put code here i…

---

## [Grover's Search Snapshots error with Qiskit AerSimulator](https://discuss.pennylane.ai/t/grovers-search-snapshots-error-with-qiskit-aersimulator/3866)

<div class="topic-metadata">

**Author:** [@Ferguson](https://discuss.pennylane.ai/u/Ferguson)\
**Replies:** 4\
**Last updated:** [January 11, 2024, 4:56pm UTC](https://discuss.pennylane.ai/t/grovers-search-snapshots-error-with-qiskit-aersimulator/3866 "2024-01-11T16:56:10Z")

</div>

Executing that with real noise simulator from IBM Quantum: import pennylane as qml import matplotlib.pyplot as plt from pennylane import numpy as np from qiskit\_ibm\_provider import IBMProvider from qiskit\_aer import noi…

---

## [Error reloading circuit from qasm string](https://discuss.pennylane.ai/t/error-reloading-circuit-from-qasm-string/3679)

<div class="topic-metadata">

**Author:** [@PhilippHS](https://discuss.pennylane.ai/u/PhilippHS)\
**Replies:** 11\
**Last updated:** [January 10, 2024, 10:23pm UTC](https://discuss.pennylane.ai/t/error-reloading-circuit-from-qasm-string/3679 "2024-01-10T22:23:36Z")

</div>

Hello, I have a hybrid quantum neuronal network build with pennylane and TensorFlow. For my application I need to train it, save it to disk and later reload it into another application. Unfortunately, using the standard…

---

## [Measurement equivalent in Qiskit](https://discuss.pennylane.ai/t/measurement-equivalent-in-qiskit/3827)

<div class="topic-metadata">

**Author:** [@mass\_of\_15](https://discuss.pennylane.ai/u/mass_of_15)\
**Replies:** 1\
**Last updated:** [December 19, 2023, 10:46pm UTC](https://discuss.pennylane.ai/t/measurement-equivalent-in-qiskit/3827 "2023-12-19T22:46:13Z")

</div>

Hi please tell me how to write Qiskit equivalent of qml.expval(qml.PauliZ(wires=0)) measurement = qml.expval(qml.PauliZ(wires=0))

---

## [IBM Q Experience specifying the "Session\_ID" or "Tags"](https://discuss.pennylane.ai/t/ibm-q-experience-specifying-the-session-id-or-tags/3787)

<div class="topic-metadata">

**Author:** [@Yian\_Chen](https://discuss.pennylane.ai/u/Yian_Chen)\
**Replies:** 4\
**Last updated:** [December 14, 2023, 7:13am UTC](https://discuss.pennylane.ai/t/ibm-q-experience-specifying-the-session-id-or-tags/3787 "2023-12-14T07:13:47Z")

</div>

Dear Pennylane developers, Recently, I was using IBMQ Experience through pennylane-qiskit plugin. I notice that when I look at my “Jobs” at the IBM Quantum Platform (Jobs | IBM Quantum Platform), there are “Session\_ID”…

---

## [Running a VQA with Qiskit Runtime](https://discuss.pennylane.ai/t/running-a-vqa-with-qiskit-runtime/3691)

<div class="topic-metadata">

**Author:** [@jkwan314](https://discuss.pennylane.ai/u/jkwan314)\
**Replies:** 6\
**Last updated:** [December 6, 2023, 12:38am UTC](https://discuss.pennylane.ai/t/running-a-vqa-with-qiskit-runtime/3691 "2023-12-06T00:38:29Z")

</div>

Hello, I am trying to run a VQA on IBM’s quantum computers through the Qiskit plugin, but I’m not sure how to do so. I have an algorithm that, on every iteration step, runs a bunch of different (related) circuits and ac…

---

## [Pennylane to Qiskit](https://discuss.pennylane.ai/t/pennylane-to-qiskit/2204)

<div class="topic-metadata">

**Author:** [@mass\_of\_15](https://discuss.pennylane.ai/u/mass_of_15)\
**Replies:** 3\
**Last updated:** [November 29, 2023, 2:52am UTC](https://discuss.pennylane.ai/t/pennylane-to-qiskit/2204 "2023-11-29T02:52:21Z")

</div>

Hey, I want to convert my pennylane code to qiskit. Can anyone help me in this regard? This is the code: wires=4 dev4 = qml.device(“defaults.qubit”, wires=wires) # define the simulator @qml.qnode(dev4) def CONVCir…

---

## [How can i get the expanded/final circuit that will be ran on the device?](https://discuss.pennylane.ai/t/how-can-i-get-the-expanded-final-circuit-that-will-be-ran-on-the-device/3598)

<div class="topic-metadata">

**Author:** [@Abhijeet\_Panihar](https://discuss.pennylane.ai/u/Abhijeet_Panihar)\
**Replies:** 3\
**Last updated:** [November 1, 2023, 3:47pm UTC](https://discuss.pennylane.ai/t/how-can-i-get-the-expanded-final-circuit-that-will-be-ran-on-the-device/3598 "2023-11-01T15:47:40Z")

</div>

I am testing different fake providers provided qiskit and trying to find a custom mapping/transpilation that may perform better than the default transpilation. Example, here is circuit: from qiskit.providers.fake\_provi…

[Next page](https://discuss.pennylane.ai/c/pennylane-plugins/pennylane-qiskit/15.md?page=1)
