Skip to main content

Questions tagged [ibm-q-experience]

Use this tag for questions about IBM's Quantum Service - Circuit Composer & Quantum Lab. DO NOT use this for questions about general Qiskit issues (use [qiskit] for that).

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

Run Qiskit Finance Tutorial on IBMQ backend

I tried to implement the qiskit example for portfolio optimization and it works as described. However I am not able to change the backend to one of the IBMQ machines - and it's not clear to me if this ...
1 vote
1 answer
353 views

How to get running time for each circuit executed on IBM's quantum processors in one round?

I want to execute multiple circuits in one round on IBM's backends, especially the 16-qubit one, to save time. For instance, ...
2 votes
2 answers
47 views

IBMBackendValueError: number of circuits exceeds the maximum for this backend, 300

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 follows: <...
4 votes
2 answers
92 views

What are some good additional resources when taking IBM Qiskit course?

I am a undergrad comp sci major. I have committed myself to a neuroscience PhD, hopefully computational neuro. However, I recently came across quantum computing, and see that lots of resources are ...
22 votes
2 answers
11k views

What is a "barrier" in Qiskit circuits?

I just started studying IBM Qiskit, and cannot find details about the barrier method on the QuantumCircuit class. It is shown in the circuit drawing, but I never heard about it after reading quantum ...
3 votes
1 answer
234 views

How to re-execute failed jobs in qiskit?

When executing a batch of circuits using the IBMQJobManager and attempting to combine all the results of all jobs with combine_results I get the ...
5 votes
3 answers
2k views

Is there a way to output a circuit from Qiskit to the IBM Q Experience circuit composer?

I can't seem to find anything, but this seems like something that should be possible.
1 vote
0 answers
32 views

Performance of quantum annealing systems vs gate based ones

Quantum annealers like D-Wave can be used to solve Quadratic Unconstrained Binary Optimization (QUBO) which is a NP Hard problem (see here) while gate based quantum computers, like the ones created by ...
1 vote
0 answers
18 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 ...
1 vote
2 answers
65 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 * ...
2 votes
2 answers
365 views

Trying to understand a quantum adder

I've implemented a quantum adder and, when I build the results table, I'm having some trouble to understand what's going on. First, I'm using the adder quantum circuit proposed in this paper, which ...
0 votes
1 answer
61 views

IBM quantum composer possible bug?(state amplitudes of quantum circuit)

I have this quantum circuit: and from the IBM quantum composer I get this state amplitudes: I wanted to flip the target qubit and keep only its pure state however this is not what I am getting.I am ...
1 vote
1 answer
989 views

Unable to retrieve result for Job Error during VQE simulation

I am attempting to run a VQE calculation on the 'ibmq_qasm_simulator'. The job is failing with a series of errors caused by: ...
2 votes
1 answer
149 views

How to represent two gates addition on Qiskit composer. we can do tensor product and multiplication but how to do Addition

How to represent two gates addition on Qiskit composer we can do it in python code by using qiskit library but I would like to visually see how addition of two operators look like in composer. I am ...
1 vote
0 answers
30 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 ...
1 vote
1 answer
92 views

Qiskit's measurement error mitigation from counts data only, in 2023

Months or years ago, in a remote part of the globe, someone accessed an IBM Quantum computer online to perform a real experiment. She saved the resulting measurement outcomes of the algorithm in csv ...
2 votes
1 answer
1k views

How can I get IBM's API token?

I need an API token to use IBM's real hardware(greater than 5 qubits) in Qiskit, where can I find the price?
3 votes
1 answer
153 views

How call from IBM Q Experience (Jupyter Notebook) cplex

I have the latest version of cplex (12.9) installed on my computer. I use it very well with Jupyter notebook, but in IBM Q Experience, I did not get way to call it. IBM Q Experience warns me that the ...
6 votes
1 answer
5k views

How to make circuit for n-control Z gate( i.e $C^3Z$ )?

I am trying to make circuit for $C^3Z$ gate I have seen a circuit for $C^2Z$ or $CCZ$ gate made by using $CCX$ gate so is there any way to make circuit for $C^3Z$ in this similar manner( i.e by using $...
1 vote
2 answers
316 views

Random accuracy using VQC and Iris dataset

Using the same seed (seed_simulator and seed_transpiler) I get different accuracy when running it several times. In Aqua library (from qiskit.aqua.algorithms import VQC) I solved it adding ...
0 votes
1 answer
118 views

This is a question about IBM quantum circuit used to generate the quantum cheque state

I'm learning about quantum cheque. And I read "Experimental realization of quantum cheque using a five-qubit quantum computer" which is written by Bikash K. Behera ,Anindita Banerjee and ...
-1 votes
1 answer
230 views

Unable to instantiate provider for research account locally

When I run IBMQ.load_account(). I have the error information: ...
2 votes
3 answers
494 views

Is there a way to use a fake backend for ibm_brisbane?

Is there a way to use a fake backend for ibm_brisbane? I tried this but it is giving me the error that the backend is not present: ...
3 votes
1 answer
356 views

VQE jobs do not appear in queue

I am trying to calculate the ground state energy of some simple molecules using 'MolecularGroundStateEnergy' tools in qiskit. When I run the calculations for very small molecules (e.g. H2, HeH+) the ...
1 vote
2 answers
398 views

How to apply gates based on a random decision on the IBM quantum computer?

I want to run a circuit on an IBM quantum computer, and this circuit involves gates that are either applied or not based on a (classical) random decision. As a minimal example, imagine a circuit with ...
2 votes
1 answer
340 views

how can we save a model using qiskit_machine_learning?

How can we save a trained model using Qiskit Machine Learning library? I've built a VQC classification model and once finished, I'd like to save the different models to be loaded later. There is a <...
2 votes
1 answer
2k views

How can I retrieve Qiskit Runtime jobs that I have submitted to IBM Quantum?

I have submitted Qiskit Runtime jobs. How can I retrieve the old jobs to check the status and results?
1 vote
0 answers
39 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 ...
2 votes
4 answers
2k views

How can I save IBM Quantum API token to local environment?

I have an IBM Quantum account. How can I save the IBM Quantum API token to local environment so that I can access services including real quantum systems, simulators and Qiskit Runtime programs on my ...
2 votes
0 answers
27 views

Controlled Ry gate on IBM and IonQ basis gates

As far as I know the basis gates for IBM and IonQ are: IBM: ['cx', 'id', 'rz', 'x', 'sx'] IonQ: ['rx', 'ry', 'rz', 'rxx', 'id'] I used qiskit.transpile to see check how Controlled Ry gate can be ...
0 votes
1 answer
36 views

IBMProvider.load_account() AttributeError: type object 'IBMProvider' has no attribute 'load_account'

I am trying to resolve the below deprecation warnings I am getting while using IBMQ framework. ...
0 votes
2 answers
3k views

IBMQ import error

I am trying to import IBMQ from qiskit. But I encountered following error. ...
2 votes
1 answer
154 views

Why I am not getting approximate equiprobable states in the following circuit on IBM Q simulator?

I have the following circuit which consists of symmetric modules. I compiled the circuit in IBM Quantum experience backend - ibmq_qasm_simulator, 8192 shots. The result is not equiprobable. Why? Since ...
0 votes
0 answers
56 views

How to calculate the state vector of a circuit using sampler().run()

I run a circuit using: jobCircuit = Sampler(backend).run(circuit) resultCircuit = jobCircuit.result() How can I access to a state vector of the circuit? I tried ...
2 votes
1 answer
132 views

What is the probability of measuring in the following circuit?

So given the circuit and $|\psi\rangle = \alpha|0\rangle + \beta|1\rangle$ above I would like to see what the probabilities of each possible measurement are. To do this I tried expanding the circuit ...
0 votes
1 answer
59 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 ...
1 vote
1 answer
236 views

QiskitBackendNotFoundError: 'No backend matches the criteria'

I am struggling with the QiskitBackendNotFoundError: 'No backend matches the criteria' even though I am able to see the backends available to me. ...
2 votes
2 answers
165 views

How to verify teleportation was successful in this circuit?

In this circuit (link), q0 is Alice's qubit and q1, q2 are entangled qubits given to Alice ...
1 vote
0 answers
44 views

Interleaved Randomized Benchmarking experiment with custom PassManager

I have a custom PassManager, which calibrates a few gates in the circuit in the transpiler pass. I want to conduct an Interleaved Randomized Benchmarking experiment ...
0 votes
1 answer
46 views

How the shots belonging to the same job are scheduled to run on IBM quantum devices?

How the shots belonging to the same job are scheduled to run on IBM quantum devices? Suppose my job has 1000 shots. Will all shots be executed in series, or is it possible they will be interleaved ...
4 votes
1 answer
159 views

Retrieving job result attributes in Qiskit

I am trying to optimize a Hamiltonian using QAOA in IBM Qiskit. I used the following 'minimize' function to get my result. (I am not including the whole code because it will get unnecessarily long). <...
1 vote
1 answer
108 views

Design Digital logic circuit in IBM quantum lab

This is my first question here. I've started doing research in quantum computing. In Digital Logic circuits, there are many circuits (like parity generator, checker, demux etc.) that can be ...
1 vote
1 answer
175 views

How to add Source and sink qubit in dag Circuit

i want DAGCircuit like this The Following is my Source code ...
1 vote
0 answers
32 views

How to represent the gates and the quibit states in the 'Hello Quantum' iOS game in IBM Quantum Learning graphical simulator

The Hello Quantum ios game developed by IBM has the X, Z, H and CZ gates manipulating a 2 qubit array (im not sure if array is the right word?). I want to know how I can represent the qubit states in ...
7 votes
1 answer
851 views

How can I run a VQE on one of IBMQ's Quantum Computers

I have implemented a VQE based on Qiskit's VQE function and want to run that on an actual quantum computer. My understanding was, that an IBMQ backend can be passed into the function as a Quantum ...
1 vote
1 answer
35 views

Is qiskit.pulse.SamplePulse deprecated?

I'm currently following along the book "Learn Quantum Computing with Python and IBM Quantum Experience" by Rodert Loredo and I am at chapter 8 - Generating pulse schedules on hardware. The ...
2 votes
0 answers
63 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 ...
0 votes
1 answer
51 views

Frequency of qubits in qiskit simulators

I am trying to study the effect of dynamical decoupling sequences (Hahn Echo and CPMG) using qiskit's qasm_simulator with an added noise model from ...
7 votes
3 answers
3k views

How are IBM's 127 qubits more potent than the 5760 qubits D-Wave - Advantage_system6.1?

Hi I'm a newbie in quantum computing recently I had a look at the AWS braket and I've seen they had a machine called D-Wave - Advantage_system6.1 that has 5760 qubits but when I googled the highest ...
1 vote
0 answers
45 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 ...

1
2 3 4 5
14