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
3 votes
1 answer
333 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
2 votes
0 answers
42 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
48 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
0 votes
0 answers
17 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
45 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
22 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
0 votes
1 answer
101 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
34 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
  • 111
1 vote
1 answer
31 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
23 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
  • 111
1 vote
0 answers
13 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
44 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
35 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
124 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
21 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
1 vote
2 answers
69 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
63 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
164 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
0 votes
1 answer
46 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
43 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
34 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
85 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
27 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
45 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
43 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
60 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
0 votes
1 answer
89 views

Equivalent method to `get_counts()` for `Aer_simulator`?

I was working on a quantum circuit and recently switched from using a local AerSimulator to some of the quantum backends provided by IBM. When I used ...
Ash Ketchum's user avatar
0 votes
1 answer
47 views

TranspileError occurs when using Simulator Stabilizer

I am writing a small quantum program for supporting polynomial arithmetic, implemented from Space-efficient quantum multiplication of polynomials for binary finite fields with sub-quadratic Toffoli ...
Ash Ketchum's user avatar
0 votes
0 answers
22 views

I am running a IBM runtime estimator job. Is there anyway to retrieve the job position of the submitted job using Session?

I am running an Estimator job using Session on an actual backend. ...
Seenivasan Hariharan's user avatar
2 votes
0 answers
32 views

Does qiskit make any rounding errors or anything similar, or is it a perfect (but slow) simulation of a quantum computer?

I ran the following circuit to calculate the real part of the Bargmann Invariant of a system of quantum states. The invariant is defined as ...
Srini Thirumalai's user avatar
1 vote
0 answers
67 views

Qiskit experiments state tomography maximum allowed dimension exceeded for pulse gates

I'm trying to run state tomography on a custom pulse gate (currently just a CR(pi/4) pulse) and any attempt to run it on an IBM backend gives a maximum allowed dimension exceeded error. The code runs ...
Max Fawcett's user avatar
1 vote
1 answer
37 views

Passing a book-keeping parameter to Qiskit Ibm Runtime Estimator

I have a Qiskit.QuantumCircuit object circ which prepares the state $| \Psi \rangle$, and a ...
squareroottwo's user avatar
2 votes
0 answers
52 views

Quantum Annealing on IBMQ using Qiskit-Pulse

Qiskit-Pulse is the analog level control SDK of IBMQ hardware. Is it possible to implement an adiabatic annealing protocol/algorithm on IBMQ hardware using Qiskit-Pulse? Not asking about QAOA, which I ...
The Quantum Enthusiast's user avatar
2 votes
2 answers
228 views

Is there a way to perform Zero Noise Extrapolation with qiskit without using the runtime service?

Qiskit Runtime is capable of performing Zero Noise Extrapolation (ZNE) using the Estimator primitive. However, due to memory restrictions on IBM cloud, I would like ...
squareroottwo's user avatar
1 vote
0 answers
44 views

PulseSchedule jobs not getting submitted on Pulse enabled machines on IBM Quantum

There was a recent migration, referring the below document: https://qiskit.org/ecosystem/ibm-provider/tutorials/Migration_Guide_from_qiskit-ibmq-provider.html Before this migration, I was using IBMQ ...
Amey Meher's user avatar
1 vote
0 answers
28 views

ZNE for mitigating errors in probability distribution results

Can ZNE be applied to mitigate errors for getting the probability distribution in the computational basis rather than mitigating errors for calculation of expectation values?
Amey Meher's user avatar
1 vote
1 answer
79 views

Is Qiskit's Estimator Primitive running PauliStrings in Parallel?

I am trying to run the following code: ...
QuantumTheoretical's user avatar
5 votes
1 answer
369 views

How are quasiprobabilities calculated when sampling from a nonsimulated ibm backend

I've started playing around with IBM's quantum platform, I have a simple test circuit I've been working with ...
Julien's user avatar
  • 53
1 vote
0 answers
31 views

non-variational formulation of imaginary time evolution

I was wondering if there is a codebase online or if somebody here has implemented successfully the non-variational formulation of the imaginary-time evolution algorithm in qiskit. I know ...
Manas Sajjan's user avatar
1 vote
0 answers
32 views

Running Pulse Schedules with different resilience levels

Is there a way to run a Pulse schedule with different resilience levels? I was thinking about passing the resilience level values in the options of Sampler primitive, but when I tried to run, it says ...
Amey Meher's user avatar
1 vote
1 answer
111 views

How to work with SwitchCaseOp?

Does anyone know how to work with SwitchCaseOp? I want to use it as a tool to execute conditioned circuits. I have read the documentation, however, I can not figure out how to use it and run it on a ...
Navid Elyasi's user avatar
0 votes
0 answers
20 views

Background job in Qiskit not showing output on .ipynb file?

I've successfully run jobs to measure circuits on Qiskit (Shor's algorithm for $N=15$ or simpler). However, it appears when I close out of everything and leave, the output of the job doesn't show in ...
Jackson Walters's user avatar
1 vote
2 answers
185 views

How do I find out which packages of qiskit are compatible with eachother?

In particular I try to find out which version of qiskit is compatible with which version of qiskit-ibm-runtime. In my setup ...
qcabepsilon's user avatar
2 votes
0 answers
45 views

Qiskit experiments on qiskit IBM runtime [duplicate]

I'm trying to perform a state tomography on a quantum circuit using Qiskit experiments. I was able to perform the tomography on the AerSimulator but have still not been able to do the tomography on ...
J. Villas's user avatar
1 vote
1 answer
328 views

Qiskit primitives with commuting observables

Is there a way of bundling commuting observables in qiskit primitive estimator to save the number of shots? With the new feature of Qiskit primitives, it is easy to sample observables for a specific ...
Zee's user avatar
  • 361
1 vote
0 answers
56 views

an issue with the execution time of a VQC classifier on an IBM quantum machine

I tried to use the available open-source IBM quantum machines. I’m trying to do a classification using the VQC classifier to classify data, but I encountered a problem. The VQC keeps fitting on the ...
lynda lebdjiri's user avatar
2 votes
0 answers
48 views

Quantum circuit runtime

I want to estimate the execution time of some experiments, and I would be interested to know how the time needed to run a quantum circuit grows in function of the number of qubits and the parametric ...
barrieta's user avatar
1 vote
0 answers
47 views

Estimate execution time of a qiskit circuit?

I want to estimate the time a circuit written in qiskit would take if it were to run on a real quantum computer. I am really scared of writing something that is too slow and IBM then draining my bank ...
Isak Reinholdsson's user avatar
0 votes
1 answer
142 views

what's the time complexity of the number of shots in simulator of qiskit

One question, codes as follows: backend = Aer.get_backend('qasm_simulator') counts = execute(qc, backend=backend, shots=102400).result().get_counts() when my ...
qin guang's user avatar
0 votes
1 answer
235 views

How can I get real hardware resources for IBM Quantum locally?

When I try to connect to ibm real quantum hardware locally, from qiskit_ibm_runtime import QiskitRuntimeService service = QiskitRuntimeService() I got the ...
Mistico013's user avatar