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
3
votes
2answers
486 views

Given a state $|\phi\rangle=\frac{1}{\sqrt{2}}(|0\rangle+e^{i\theta}|1\rangle)$, how do I know the angle $\theta$?

Question1. If there is a state $|\phi\rangle=\frac{1}{\sqrt{2}}(|0\rangle+e^{i\theta}|1\rangle)$, and I want to know the angle $\theta$. What kind of measurement should I do? Could somebody give me ...
3
votes
2answers
878 views

How do the credit points work in IBM quantum experience?

I am using Qiskit language, and I am working with IBM devices via Quantum Experience beta. How can I find how many credit points I have used and how much there are left till they fill back 24 hour's ...
2
votes
1answer
224 views

Simpler implementation of the Toffoli gate on IBM Q for special circumstances

On current quantum hardware, a depth of circuit is constrained because of noise. In some cases, results are totally decoherent and as a result meaningless. This is especially true when Toffoli gates ...
1
vote
2answers
269 views

Why IBM Quantum Experience is giving different results under ibmq_qasm_simulator and ibmq_16_melbourne?

I am trying to run following 6 qubit quantum circuit and I am getting different results under ibmq_qasm_simulator and ibmq_16_melbourne (both involving 8192 shots). What is the reason? ...
10
votes
2answers
1k views

Implementation of the oracle of Grover's algorithm on IBM Q using three qubits

I am trying to get used to IBM Q by implementing three qubits Grover's algorithm but having difficulty to implement the oracle. Could you show how to do that or suggest some good resources to get ...
8
votes
1answer
401 views

Depolarizing channel implementation on IBM Q

Given a single qubit in the computational basis, $|\psi\rangle =\alpha |0\rangle + \beta|1\rangle$, the density matrix is $\rho=|\psi\rangle\langle\psi|=\begin{pmatrix} \alpha^2 & \alpha \beta^*\\ ...
4
votes
2answers
755 views

Trying to build a circuit for quantum teleportation on IBMQ I get ERROR_RUNNING_JOB error

I am trying to build a circuit for quantum teleportation. On the simulator, everything runs fine and according to expectations, however, I am not able to run the algorithm on the real quantum ...
2
votes
1answer
40 views

What is the best IBMQ provider to South America?

What is the best option for South America Brazil to configure: provider.get_backend (''), because melbourne_16 is very slow.
9
votes
3answers
2k views

How to implement the “Square root of Swap gate” on the IBM Q (composer)?

I would like to simulate a quantum algorithm where one of the steps is "Square root of Swap gate" between 2 qubits. How can I implement this step using the IBM composer?
2
votes
1answer
261 views

IBM Slack links broken

Does anyone know where I can find working Slack invite links to any of IBM's Slack pages? The Slack links on this support page are all broken. Thank you.
2
votes
2answers
214 views

Mitigating the noise in a quantum circuit

I'm using Qiskit and I have a Quantum Circuit (say, circuit) that gives reasonable results when using the simulator, namely ...
1
vote
2answers
64 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?
14
votes
1answer
2k views

Which subatomic particle does each company use in quantum computing?

Probably each company (Google, Amazon, Intel, IBM, Microsoft, D-Wave and so on) uses a mix of subatomic particles and technologies. I would like to know which particles/technologies are used by each ...
7
votes
3answers
3k views

How to quickly calculate the custom U3 gate parameters $\theta, \phi$ and $\lambda$ for any unitary?

In IBM Qiskit and Quantum Experience, the custom U3 gate is defined as $$ U(\theta, \phi, \lambda) = \begin{pmatrix} \cos\left(\frac{\theta}{2}\right) & -e^{...
1
vote
1answer
110 views

When increase the shot, why the result is different?

when I measure the shot = 1024 when I measure the shot = 8192 I want to derive result value 011(=3) However, I know if measure the more shots, increase the accuracy. why this result derive??? why ...
8
votes
1answer
2k 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
1answer
300 views

What is the $\lambda$ parameter in the $U3$ gate used for?

The most general single qubit gate is $\mathrm{U3}$ given by matrix $$ \mathrm{U3}= \begin{pmatrix} \cos(\theta/2) & -\mathrm{e}^{i\lambda}\sin(\theta/2) \\ \mathrm{e}^{i\phi}\sin(\theta/2) & ...
6
votes
2answers
562 views

What is maximum circuit depth and size IBM Q5 and Q16 could handle?

I'm trying to implement a couple of algorithms on ibmq_16_melbourne, so I need to know if this device is able to handle with depth and size of my current circuit or ...
11
votes
1answer
2k views

How can a controlled-Ry be made from CNOTs and rotations?

I want to be able to applied controlled versions of the $R_y$ gate (rotation around the Y axis) for real devices on the IBM Q Experience. Can this be done? If so, how?
9
votes
2answers
1k views

Quantum algorithm for linear systems of equations (HHL09): Step 2 - Preparation of the initial states $|\Psi_0\rangle$ and $|b\rangle$

This is a continuation of Quantum algorithm for linear systems of equations (HHL09): Step 2 - What is $|\Psi_0\rangle$? In the paper: Quantum algorithm for linear systems of equations (Harrow, ...
9
votes
2answers
3k views

How to implement the 4 Bell states on the IBM Q (composer)?

I would like to simulate the 4 "Bell States" on the IBM composer? How can I best implement those 4 Bell states using the existing set of gates ? Here below you see the definition of the 4 Bell ...
8
votes
2answers
458 views

Practical Implementations of QECCs in IBM Q Experience

I am learning how to program the IBM Q Experience quantum computers in order to learn more about how does it work and in order to perform some experiments in it. By doing so I was wondering what are ...
5
votes
1answer
116 views

Why is a different convention used for the $Rz$ implementation on IBM Q?

A $z$ rotation gate is defined as $$ Rz(\theta)=\mathrm{e}^{-i\frac{\theta}{2}Z}= \begin{pmatrix} \mathrm{e}^{-i\frac{\theta}{2}} & 0 \\ 0 & \mathrm{e}^{i\frac{\theta}{2}} \end{pmatrix}, $$ ...
4
votes
1answer
250 views

Custom gates on IBM Q

I realized that QASM supports custom gates. However, when I tried to create the gate, transpiling error appeared both on simulator and real quantum processor. I suspect that IBM has not implemented ...
4
votes
2answers
186 views

How to implement the CCH gate in quantum computers available in clouds?

How to implement CCH gate in quantum computers available in clouds? If there is not any gate directly available for it, what are the possible ways to represent CCH?
3
votes
2answers
116 views

Why IBM devices have the same number of qubit and the same architecture, but the error rates are different?

Here are two different IBM quantum online devices, Both of them have the 5 qubits and the same architectures. But why do they have different error rate? What's the different between them?
2
votes
2answers
110 views

IBM Quantum Experience API Without QISKit

I am a computer science master's student who is doing research in the field of quantum computing. I have an IBM quantum experience account(https://quantum-computing.ibm.com/) and as such I was ...
1
vote
1answer
79 views

IBM Q calibration parameters

If I download calibration of a quantum processor on IBM Q website I see these parameters: T1 T2 frequency (GHz) readout error single qubit U2 error rate CNOT error rate T1 and T2 are relaxation and ...
1
vote
1answer
129 views

How is it possible to perform a c-not on 4 qubits using the same control qubits on IBM Q computers?

I was wondering after seeing ibmq_16_melbourne layout how it is possible to perform this circuit : It seems when looking at ibm q computers that a qubits can at max target 3 qubits because the arrow ...
1
vote
1answer
83 views

Are $\mathrm{cRz}$ with angle $\pi$ and $\mathrm{cZ}$ equal on the IBM Quantum Experience?

I was trying to implement the 2-qubit Grover algorithm without the auxiliary bit. Before finding the gate symbol for the controlled $\mathrm{Z}$, I worked with the controlled $\mathrm{Rz}$. The gate ...
9
votes
1answer
334 views

Submitting jobs to IBM devices without Python

Qiskit can be used to submit jobs to IBM devices using Python (or Swift and JavaScript). But what if I want to use a different language? For example, suppose I have a specific circuit I want to run. ...
6
votes
1answer
450 views

What is the purpose of the TDG gate in QISKit?

The QISKIT documentation doesn't explain what a TDG gate does and I can't find it anywhere else online.
4
votes
2answers
1k views

Comparing run times on IBM Quantum Experience

I have run this program - ...
4
votes
4answers
253 views

Implementing four oracles for the Deutsch Algorithm (preferably on IBM Q Experience)

I guess, I understood simple Deutsch Algorithm (if unary function is balanced or constant) as described here: Introduction to quantum computing: The Deutsch algorithm I need to test it. I was ...
4
votes
1answer
221 views

What is the state of the art on Quantum Random Access Memories? [duplicate]

I realized that Quantum Random Access Memory (qRAM) was proposed to make quantum computers more similar to classical one. Currently quantum computers have very constrained memory, given only quantum ...
4
votes
3answers
428 views

Access results from an experiment without having to run the script again

I have ran an experiment in one of the IBM processors and the work has finished. However, I can not obtain the data as histograms or counts in the qiskit notebook because the experiment was concluded ...
3
votes
1answer
274 views

Cannot replicate results in article on pricing financial derivatives on IBM Q

I am trying to implement a circuit for searching for the largest eigenvalue and respective eigenvector of an operator, i.e. phase estimation, introduced in article Towards Pricing Financial ...
3
votes
2answers
168 views

Implementation of tomography on IBM Q

I wanted to ask how do you implement a circuit that finds the non-diagonal values of the density matrix of a quantum state on IBM Q?
3
votes
1answer
100 views

Weeding out qubit states with leftmost qubit as 1

Need help! I was working on a project when I required to use a projection operator. For an example case, I have the Bell state, $$|\psi\rangle = \frac1{\sqrt2}\left(\color{blue}{|0}0\rangle+|11\rangle\...
2
votes
2answers
87 views

Qiskit error on get_backend()

Im trying to use IBM quantum machine instead of qiskit aer simulator with the following command: backend = IBMQ.get_backend('ibmq_16_melbourne', 'ibm-q') It's ...
2
votes
1answer
163 views

How to define custom controlled unitaries in OPENQASM 2.0?

According to the OPENQASM 2.0 documentation, it's possible to define custom unitary gates using the format: gate name(params) qargs { body } where the optional ...
2
votes
1answer
50 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
1answer
289 views

How to run the Qiskit Aer simulator without noise?

I know that the Qasm Simulator execute quantum circuits with presence of noise, even if I do not specify the model of noise in options for that backend. But how can I execute the circuits without ...
1
vote
1answer
66 views

Names of IBM Q backends

IBM Q backends have many different names, see for example this link. We have for example processors called Melbourne, Tokyo, Armonk etc. I am curious where these names come from? For example, I know ...
0
votes
2answers
361 views

'IBMQFactory' object has no attribute 'load_accounts'

I am following this qiskit workshop from https://colab.research.google.com/github/mtreinish/qiskit-workshop/blob/master/Workshop.ipynb . After adding my API key I had encountered the error ...
0
votes
1answer
53 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, ...