Skip to main content

Questions tagged [qiskit-runtime]

Question about the Qiskit Runtime architecture that streamlines quantum computations. The service is designed to use classical compute resources to execute quantum circuits with more efficiency on quantum processors.

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

Qiskit runtime backen cannot state_preperation

I am trying to run a circuit on hardware, for that I need to initialise the state. ...
Thick Harry's user avatar
-2 votes
0 answers
26 views

IBM Qiskit Hello world Program not showing up in the job dashboard

I recently started learning qiskit and did exactly as they did on their latest Hello World YouTube video. But when I used my API token and then did the backend part for the job, it is not showing up ...
Shuaib Hamza P's user avatar
1 vote
0 answers
57 views

issues with running code on IBM QPU

I have a code that I ran on a quantum simulator and it executed perfectly fine. I want to run it on one of IBM's actual quantum computers, I am using ibm_kyoto. To switch from a simulator to a QPU, I ...
karen's user avatar
  • 21
1 vote
0 answers
18 views

Why is the CR pulse slightly tilted in IBM backend?

Why does IBM use an offset phase CR pulse (about 2.316)? What is the role of the drive pulse, and why is its phase also tilted (about 0.116)? (tilted means their phase is not 0 or 3.14)
Lee's user avatar
  • 21
1 vote
0 answers
25 views

Qiskit general amplitude embedding leads to long circuits

I am trying to use Qiskit to simulate many-body systems. Hence I calculate the ground state of Hamiltonians a lot. There are 2 ways I do them. 1: Calculate the ground state classically, then do state ...
Deren  Liu's user avatar
  • 121
1 vote
1 answer
32 views

Which is the best Qiskit simulator for large quantum circuit?

I have to simulate a quantum circuit with 50 qubits (including 57 Ry gates and at least 60 CNot gates). While transpiling the circuit by Aer-simulator (version: 0.14.2), receiving the following error ...
Htar's user avatar
  • 55
2 votes
0 answers
28 views

Error code 1217: "Session has been closed"

I am currently studying algorithms related to VQA. I have built a circuit to calculate the cost function and optimized it using a classical optimizer. During the initial optimization iterations, ...
MrEightL's user avatar
0 votes
1 answer
35 views

Error 400 on Variation Quantum Algorithm

As the title suggests, I am trying to optimize a cost function in a VQA (Variational Quantum Algorithm) code using a classical optimizer to obtain the best parameters. In my initial optimization ...
MrEightL's user avatar
1 vote
1 answer
27 views

qiskit_aer.aererror.AerError: 'unknown instruction: ccry'

I'm trying to use qiskit_aer_gpu 0.14.2 with qiskit 1.1.0 I defined the class CCRYGate() y another script gate.py ...
ozark's user avatar
  • 31
0 votes
0 answers
79 views

Getting SamplerV2 run error when fitting VQC

I am exploring Quantum machine learning algorithms and I am following the Qiskit Machine Learning GitHub tutorial to train a variational quantum classifier (VQC). I am trying to run the VQC on a ...
gnomeelf's user avatar
2 votes
0 answers
52 views

Portfolio Optimization with VQE (Qiskit)

I'm working on a portfolio optimization problem using Qiskit and I'm encountering an error when trying to solve a quadratic program using MinimumEigenOptimizer with SamplingVQE (V1 Primitives). Any ...
Ivan's user avatar
  • 31
1 vote
1 answer
61 views

Portfolio Optimization with VQE

I'm working on a portfolio optimization problem using Qiskit and I'm encountering an error when trying to solve a quadratic program using MinimumEigenOptimizer with SamplingVQE. Any insights on what ...
Ivan's user avatar
  • 31
1 vote
0 answers
15 views

"Session has been closed" Error in solving Maxcut problem by QAOA

I am trying to run this code- https://learning.quantum.ibm.com/tutorial/quantum-approximate-optimization-algorithm same way as they mentioned. After running this code, my qiskit Dashboard show 10-12 ...
Maths_hawk's user avatar
1 vote
0 answers
20 views

Are reset gates allowed on IBM quantum computers?

My circuit involves many "reset" gates. After running on the IBM real backend, the experiment status says "Failed" with error message that says: Failed - Unknown operation type ...
Deren  Liu's user avatar
  • 121
0 votes
0 answers
44 views

How to interpret result for an OR problem solved in Qiskit

I solved "01 KnapSack problem" in Qiskit optimization module. Though the iterations doesn't gets converged but I got an answer (may be infeasible). But my question is that how to interpret ...
Maths_hawk's user avatar
3 votes
3 answers
237 views

How to convert a combinatorial optimization problem into a problem hamiltonian

I want to ask how I can convert any combinatorial optimization problem into a Problem Hamiltonian, since such a conversion is needed in order to solve an optimization problem on quantum hardware (e.g. ...
Maths_hawk's user avatar
0 votes
1 answer
86 views

Discrepancy between answers from different Estimators in qiskit

After upgrading to qiskit 1.0.0, I tried using different estimators: estimatorv2, qiskit-aer estimator and default primitive estimator. But I get different expectation values with each of them? Am I ...
Anaya Parra's user avatar
2 votes
0 answers
43 views

How can I increase number of qubits by increasing RAM/GPU?

I am using Qiskit, where if I go beyond 32 qubits, the output does not get counted. The code is not supported by the stabilizer back-end. I want to use up to 100+ qubits for my task. I got RAM 42 GB ...
Syed Shahmir Kazmi's user avatar
1 vote
0 answers
36 views

qiskit transpile taking forever to run while CPU usage near zero

I am using the following code to use IBM's quantum computer. My understanding is that it is required before circuits are passed to the real quantum computers as certain operations and instructions ...
Deren  Liu's user avatar
  • 121
1 vote
1 answer
85 views

Error when using crx gate in quantum circuit

When I try to run a quantum circuit that has a crx gate in it, I get an error AerError: 'unknown instruction: crx'. Below is an ...
Emmett Nash's user avatar
0 votes
0 answers
86 views

Qiskit IBM Runtime EstimatorV2 has changed the user specified default number of shots

While I am running some simulations on IBM hardware, I've noticed that the number of shots recorded in the metadata of the job is different from the number of shots I've specified. For example, I've ...
squareroottwo's user avatar
0 votes
1 answer
45 views

Non gate based error mitigation on qiskit

I am attempting to measure the expectation value of a product state using qiskit_ibm_runtime.EstimatorV2. There are no gates in the circuits. What options/...
squareroottwo's user avatar
0 votes
2 answers
115 views

How to perform noisy simulation of qiskit fake backends?

I have qiskit fake backends present in qiskit ibm runtime, If I run the circuit directly on the backend is it noisy simulation, or should I use qiskit Aersimulator and then perform noisy simulation ...
Vishnu Vardhan's user avatar
1 vote
1 answer
95 views

IBM Quantum payload error

I've received the following error on one of the circuits I'm running on IBM Quantum devices (on IBM Brisbane) using EstimatorV2 primitive. ...
squareroottwo's user avatar
3 votes
1 answer
387 views

Why do the same circult yields very different results from different IBM backends?

I was running the IBM qiskit sample code and noticed that the results vary on different backends. I thought it was quantum noise, so I repeated the same calculation on many different backends and got ...
Guangliang's user avatar
4 votes
0 answers
61 views

Failed to load program into HAL component

I'm getting this error message when I execute my qiskit code on one of the available quantum computers of IBM: ...
Pablo Falegre's user avatar
0 votes
1 answer
173 views

Full result of qiskit sampler

In Qiskit, I have a quantum circuit of 20 qubits. Hence the measurement result I am expecting is a dictionary of size 2^20. However, the quasi_dists from ...
Deren  Liu's user avatar
  • 121
0 votes
0 answers
21 views

How to run pegasosQSVC in backend using qiskit ibm runtime session?

I am trying to run pegasosQSVC on quantum backend using a qiskit-ibm-runtime session, following is the code I am using : ...
khalil mehdi's user avatar
0 votes
1 answer
90 views

How to get properties of real IBM Quantum Computer in Qiskit SDK 1.0?

I have the code below: ...
Naeem Ullah's user avatar
1 vote
1 answer
43 views

How to run PegasosQSVC in quantum backend or simulator?

I am making my classification project in quantum machine learning, currently trying to run PegasosQSVC in backend! The code runs normally in my environment however when I connect to backend using <...
khalil mehdi's user avatar
1 vote
1 answer
180 views

Hello world program in Qiskit 1.0 [closed]

How do I write a "Hello world" program in Qiskit 1.0, which should be run on IBM cloud and require less than 600 seconds for implementation?
Ausaf Hussain Akhlaq's user avatar
1 vote
0 answers
48 views

Low Fidelity In IBM Quantum Computers

I am just trying to calculate the highest fidelity of preparing GHZ states on IBM quantum computers and I run my circuit on qubits with the lowest readout error. However, I just obtain fidelity of the ...
physicino's user avatar
  • 121
1 vote
2 answers
96 views

Error while plotting the resulting distribution

I am using this code, as a test of my qiskit, but I am having errors on using the simulator Building the circuit We begin by importing Qiskit. from qiskit import * ...
Dilma David's user avatar
1 vote
1 answer
35 views

Set Initial Layout for State Tomography

I am trying to do some state tomography to generate GHZ states and calculate fidelity. For running the code, I want to execute my code with the qubits with the lowest readout error using initial ...
physicino's user avatar
  • 121
1 vote
0 answers
17 views

Identifying the type of errors occurring in Qiskit hardware

I want to identify the type of errors (for example, bit-flip error) occurring in specific hardware of Qiskit, for example, 'ibm_cairo'. But on the Qiskit website, I could only check the error rate ...
gerald ianderiv's user avatar
1 vote
1 answer
63 views

Set IBMQ to qiskit-ibm-runtime

I have the following code in which I provide an API-key and set ibmq dict. ...
Naeem Ullah's user avatar
1 vote
1 answer
65 views

How to add noise like depolarising errors in Qiskit SDK 1.0?

I have a question about how to Add my own Noise like depolarising errors to Quantum gates like $H$ gate, $R_y$ gate and $R_{zz}$ gates in Qiskit SDK 1.0 and count it through ...
Naeem Ullah's user avatar
1 vote
2 answers
527 views

How to use get_statevector in Qiskit SDK 1.0?

I am Using Qiskit SDK 1.0. I have a problem with get_statevector in qiskit SDK 1.0 and using BasicSimulator. My code is attached ...
Naeem Ullah's user avatar
1 vote
0 answers
26 views

free complex amplitudes for qubits in Qiskit runtime

When I try to run circuits with initialize(),or StatePreparation(), I get ...
Deren  Liu's user avatar
  • 121
1 vote
2 answers
171 views

Query about Obtaining Measurement Counts on IBM Quantum Platform

I hope this message finds you well. After nearly a year, I've recently returned to using the IBM Quantum platform to run quantum circuits. I've noticed several changes in the process compared to my ...
Byeongyong Park's user avatar
3 votes
2 answers
196 views

How to access the register name and its index from Qubits in Qiskit SDK 1.0?

I have QAOA Quantum Circuit. ...
Naeem Ullah's user avatar
2 votes
1 answer
281 views

Qiskit Runtime forbids reset gate?

Some parts of my quantum circuit uses initialize to prepare specific amplitudes to the qubits. However, the Qiskit Runtime outputs error: ...
Deren  Liu's user avatar
  • 121
0 votes
1 answer
72 views

How to get the simulation method used by AerSimulator(method='automatic')?

Is it possible to obtain the simulation method by a simulation run when using AerSimulator(method='automatic')? For example running a circuit: ...
ZeZe's user avatar
  • 3
0 votes
1 answer
73 views

Get the error of basis gates programmatically

I want to get the error rates of the basis gates of a backend. Is there a function that can achieve this functionality? For example, I want the error rates of the basis gates rx, cx of ibmq_mumbai ...
Amey Meher's user avatar
1 vote
0 answers
37 views

Qiskit unitary_simulator seems not to be working

I'm trying to generate the unitary transformation matrix for a very simple circuit (below): ...
Gustavo Mirapalheta's user avatar
2 votes
0 answers
87 views

Problem with SwitchCase in qiskit while using general unitary gate

I am trying to run a circuit using SwithCase Op on one of the 127 qubits backends. My code is the following: ...
Navid Elyasi's user avatar
0 votes
0 answers
37 views

how to get complete memory stats for a qiskit circuit

I am interested in running several qiskit circuits on multiple GPUs and record their memory usage. My issue is when circuit runs successfully I am unable to get exact amount of memory it took during ...
aneela's user avatar
  • 233
0 votes
0 answers
46 views

Algorithmic Benchmark: What is the reason for unevenness (spike) in the runtime graph by the number of qubits of the Deutsch-Jozsa algorithm?

I am testing quantum simulators based on runtime and memory usage. I impelmented Deutsch-Jozsa algorithm as follows in Qiskit: ...
Ahmadrv's user avatar
0 votes
0 answers
60 views

Error: IBMJobFailureError: 'Job failed: Error while executing OpenQASM 3 circuit

I am running my circuit on ibm_osaka backend and it always brings me up this error: IBMJobFailureError: 'Job failed: Error while executing OpenQASM 3 circuit.' Does anyone know what is the cause of ...
Navid Elyasi's user avatar
1 vote
1 answer
82 views

Qiskit result per shot

I want to run a simple circuit with one qubit and a hadamard gate on a Quantum Machine. I want the result of every shot in a list. It works with a simulator and the get_memory function but this ...
EFH's user avatar
  • 11