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. As of August 2020, there are 20 processors on the IBM Q Experience ranging from 5 to 53-qubits. Note: Some systems are only available to hubs, partners, and members of the IBM Q network.

Filter by
Sorted by
Tagged with
0
votes
1answer
40 views

Syndrome showing unexpected results for the [5,1,3] QEC code in qiskit

I have used the encoding procedure mentioned on page 35 of https://arxiv.org/pdf/quant-ph/9705052.pdf for the [5,1,3] code and then built the circuit for measuring the stabilizers (XZZXI, IXZZX, XIXZZ,...
-1
votes
1answer
63 views

Long running time at job

I try to launch QSVM algorithm (from Qiskit example ) on all real quantum devices (that is IBM Q) and get running time 5-30 seconds on one job. But if I use ...
2
votes
1answer
162 views

Error when running HHL algorithm in Qiskit

I tried to solve a simple system of two simultaneous linear equations in with HHL algorithm in Qiskit. In particular the system is $Ax=b$, where $$ A = \begin{pmatrix} 1.5 & 0.5 \\ 0.5 & 1.5 \...
1
vote
1answer
69 views

An effective way to submit all the jobs for VQE/QAOA at a time to an IBMQ machine?

In Qiskit, I am solving a VRP for 5 nodes and it creates 20 variables for a QUBO. It runs in a 65 qubit machines (any machine below that many fails). Now, in such a typical solvers for optimization (...
1
vote
2answers
61 views

How can I run a job as offline on real hardware?

Can I run circuits on real hardware as offline? I mean that a job with 100 circuits may take a long time and I want to shot down my laptop in running time. In the meantime, can the real hardware run ...
1
vote
2answers
112 views

How can i run a quantum circuit with parameterized gates many times on quantum experience?

I want to run a quantum circuit many times on real hardware so that this circuit has some of the parameters that I must change them each time (some of the angles of gates must change each time). how ...
1
vote
0answers
38 views

qasm_simulator generating identical results repeatedly

I wish to run a very simple circuit on the qasm_simulator backend. My circuit is ...
2
votes
2answers
83 views

How to realize Su-Schrieffer-Heeger model in Qiskit

This is a very specific question, which I try to implement a simple dimerized tight-binding Hamiltonian on qiskit. The model is one dimensional, and defined as $$ H = \sum_{\langle i,j\rangle} t_{ij} ...
1
vote
1answer
49 views

Noise model for 3 Qubit $|GHZ \rangle$ state measurement circuit

I found this example code in Qiskit documentation. Does this code signify that it is simulating noise as per the IBM Valencia quantum chip. If yes, what kinds of noise does it simulate? I executed the ...
1
vote
1answer
34 views

ClassicalRegister gives out just one line instead of two

Why do we have just one line here in c0 and not 2?
1
vote
2answers
101 views

How to run VQE experiments on IBMQ Backends?

The VQE.run method only takes a quantum_instance of type QuantumInstance or BaseBackend and ...
1
vote
1answer
71 views

Why is circuit inverse not working for EfficientSU2?

For some reason I get the following error when attempting to find the inverse of the EfficientSU2 VQE variational form: TypeError: 'NoneType' object is not ...
1
vote
0answers
37 views

Report measurement components for a given Hamiltonian measurement

I was wondering if there is a possibility to report measurement components when reporting the final expectation values of a qubit operator. For example, if we look at a simple Hydrogen molecule ...
3
votes
1answer
110 views

IF statement in OpenQASM on IBM Quantum Experience

This is a simple circuit introduced in Moran's book "Mastering Quantum Computing with IBM QX" to demonstrate how if works in OpenQASM: ...
3
votes
1answer
58 views

IBM Melbourne quantum computer performance and errors

What is the reason for high variation in measurement probability results of a simple 3/4 qubit measurement circuit on IBM Melbourne machine in comparison with the same circuit being run on IBM Vigo/...
1
vote
1answer
55 views

Qiskit: Error when importing libraries for ADMM optimizer

I would like to try and ADMM optimizer as shown in Qiskit Tutorial in Quantum Lab. Firstly, I imported necessary libraries (copy/paste from the Tutorial): ...
3
votes
1answer
156 views

How to perform a time evolution of a quantum state with Qiskit Aqua?

How can we perform a time evolution of a quantum state for a given Hamiltonian with qiskit Aqua operator flow? I'm interested in it due to its higher efficiency.
1
vote
2answers
39 views

Can I get the job variable from the job_id?

Suppose I run the following code: job = execute(qc, backend = backend, shots = 1024, optimization_level = 0) Then the job takes a long time to run. We know that ...
1
vote
1answer
99 views

Why does job appear to be stuck in queue on IBMQ backend?

I have submitted a batch of circuits to ibmq_vigo using the IBMQJobManager and the batch is correctly split properly into ...
0
votes
2answers
114 views

How to get the CNOT error rate between 2 qubits on a given IBMQ Backend?

How can the CNOT gate error between 2 qubits as shown on visual qubit coupling map on the IBMQ Dashboard be retrieved in Qiskit using the BackendProperties....
1
vote
1answer
143 views

Unable to instantiate provider for research account locally

When I run IBMQ.load_account(). I have the error information: ...
0
votes
1answer
36 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 ...
0
votes
2answers
93 views

Generate a random bit sequence of 512 bits [duplicate]

How can I generate a random bit sequence of 512 bits on IBM Q experience using 3 or 5 qubits? Putting a hadammard gate and measuring would only give me smaller bit sequence due to limitation in number ...
0
votes
1answer
43 views

Why does job execution time vary significantly across different IBMQ Backends?

I have run a batch of a few thousand random 2-qubit QuantumCircuits on multiple different IBMQ Backends, and the execution times seem to significantly vary across ...
1
vote
1answer
91 views

How to optimize my HHL algorithm on qiskit?

I am following this HHL tutorial to solve the $Ax=b$ problem and have been using the general (inefficient) approach with the BasicAer simulator that they describe in section 4a. I would now like to ...
3
votes
0answers
57 views

What is the best way to use loop statements on a quantum computer?

I am interested in solving a time dependent linear partial differential equation of the form $Ax=b$ which, in classical computing, would amount to looping over solutions of $Ax=b$ where $b$ is updated ...
1
vote
1answer
51 views

How can I use the quantum volume to design the scale of my experiment?

I am designing an experiment which involves solving a linear system of equations of the form $Ax=b$. To do this, I am using the HHL algorithm on the IBMQ system. My experiment is scalable such that ...
2
votes
1answer
73 views

Quadratic optimization in Qiskit: Error when QuadraticProgram with quadratic constraint converted to QUBO

I prepared a quadratic optimization task with binary and integer variables and linear and quadratic constraints. I fed it into QuadraticProgram in Qiskit. After ...
2
votes
2answers
222 views

My IBMQ job hangs forever?

I am running a very simple script just to learn how to use IBMQ, but my job will hang indefinitely and I am forced to terminate it. ...
2
votes
1answer
58 views

Why running time of qasm simulator is significantly smaller in comparison with quantum machines?

I ran a 3-qubit measurement circuit on QASM simulator as well as on IBM Q Melbourne, Santiago and Vigo machines. The running time on the simulator is in few milliseconds (400-800) while in the case of ...
2
votes
2answers
59 views

What is the significance of transpiling time, validating time, in queue time and running time?

What is the significance of different transpiling time, validating time, in queue time, running time for the same circuit run on different quantum systems for same no. of shots in IBM Q experience? ...
1
vote
1answer
51 views

What is the significance of varying the number of shots while running a circuit in a quantum machine and qasm simulator?

what is the significance of varying the number of shots while running a circuit in a quantum machine and qasm simulator? Does more number of shots give better/accurate result? I am running a simple 2 ...
1
vote
0answers
46 views

What causes the random variations in the probabilities with respect to the theoretical values, in IBM and QASM simulators?

When I measure 2 and 3 qubits after putting H gate on all of them, there is a variation in probabilities of results in comparison with theoretical values (25% and 12.5%, respectively). This occurs on ...
1
vote
2answers
94 views

quantum random number generator implementation in quantum lab

How can I generate and print a 32 bit sequence of 0s and 1s in Qiskit or IBM Q experience quantum lab using quantum random number generator implementation?
1
vote
2answers
149 views

How to execute many circuits on an IBMQ backend?

I attempted to execute a list of $3200$ QuantumCircuits in Qiskit, each with the max_shots ...
0
votes
1answer
59 views

Error associated with HTTPSConnectionPool

How can I solve this situation? I'm using the IBMQX2 chip. When I run my simulation some circuits are executed and the following WARNING message is displayed: ...
1
vote
1answer
85 views

Error while running Qiskit code on real quantum hardware

I started to learn Qiskit, so sorry if my question is very basic. So far I used qasm_simulator or state_vectorsimulator, ...
0
votes
1answer
95 views

How do I compute the fidelity on the IBM Q using qiskit without the statevector simulator?

I want to compare the fidelity of a circuit implemented on IBMQ Santiago with the ideal circuit simulated using the statevector backend. Is there a way to do this? So far I have only seen examples ...
1
vote
1answer
115 views

Getting an error running a program in IBM Q Experience Quantum lab

Running the program in Quantum Lab, it shows error. I am looking for solution. Here is a code I run: ...
2
votes
1answer
39 views

Do I need to download Qiskit from IBM Quantum Experience?

Do I need to download Qiskit separately or can I learn and write programs as well as practically view possible visualizations in IBM Quantum Experience itself?
2
votes
1answer
46 views

Need mathematical Calculation of input(T1,T2,f) and output(Readout Error)

I would like to know about the mathematical relations among T1, T2, frequency, readout error, and single-qubit error? This screenshot is from the ibmq-16 Melbourne excel data file.
0
votes
1answer
167 views

IBMQFactory object has not attribute backends

I try to run simple circuit measurement program using Qiskit in Visual Code. I received this error: AttributeError: 'IBMQFactory' object has no attribute 'backend' ...
0
votes
1answer
81 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: ...
0
votes
1answer
62 views

Implementing block of gates at different times in a same qiskit program

I am implementing an Ising chain over 8 qubits. It involves pair-wise CNOT between all the qubits. In the first time step, I am doing CNOTs between qubits 0 and 1, 2 and 3, 4 and 5, and 6 and 7. In ...
4
votes
1answer
192 views

Why are there such different UGate and U3Gate implementations in the Qiskit documentation?

The documentation for the new version Qiskit 0.20.0 states that: UGate is "Implemented using two X90 pulses on IBM Quantum systems: $U(θ,ϕ,λ)=RZ(ϕ−π/2)RX(π/2)RZ(π−θ)RX(π/2)RZ(λ−π/2)$" ...
2
votes
1answer
70 views

How can I solve the problem of optimisation the quantum computer?

I am trying to solve the problem of optimization (VRP) with genetic algorithm and quantum computing in the platform IBM Q Experience. But I am unable to advance on this. How can I do it? According to ...
7
votes
3answers
113 views

What are the differences between the IBM machines?

I'm quite new to this field, and have started sending jobs to IBM's quantum computers. I have access to around 11 locations. I can see that these have different numbers of qubits within them, and then ...
2
votes
1answer
36 views

Type object 'AllPairs' has no attribute 'params'

When I try QSVM over Iris data, it needs multiclass extension, but when I provide it, a following error is returned: ...
3
votes
3answers
218 views

Existence of multiple job monitor in qiskit

I can see in example code of qiskit, to implement job monitors on IBM Quantum machines, example uses any of the following ...

1 2
3
4 5
9