2022 Developer Survey is open! Take survey.

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
1 answer
37 views

Performance metrics in QSVM

I have implemented QSVM on breast cancer dataset using link: "https://qiskit.org/documentation/stable/0.24/tutorials/machine_learning/01_qsvm_classification.html" but unable to compute other ...
user avatar
0 votes
1 answer
22 views

Converting data into a SHA256 hash using Qiskit quantum computer

I was wondering how can we convert data into a hash using Qiskit quantum computer? e.g, this code below will generate a SHA256 hash based on random data. ...
user avatar
0 votes
0 answers
14 views

Is there a way to connect a IBM quantum lab code to an Unreal Engine project?

I would like to know whether someone tried this before, I'm interested in be able to connect this tools. I know that Unreal Engine has a plugin to program with python, that all I know. I'll really ...
user avatar
0 votes
1 answer
46 views

What is $j$ in the state $|\psi\rangle=\sqrt{(1-p)}|0\rangle + e^{j\phi}\sqrt{p}|1\rangle$?

What is the j in the single qubit state equation in the Quantum Phase section? https://quantum-computing.ibm.com/composer/docs/iqx/guide/introducing-qubit-phase it's not defined in the page itself (...
user avatar
1 vote
2 answers
48 views

Can I Convert a Qubit in complex form to polar form?

Let's say I have a qubit $$\left| \psi \right> = (\alpha_1 + i\alpha_2 ) \left|0\right> + (\beta_1 + i\beta_2 )\left|1\right>$$ Can I able convert this to polar form $$|\psi \rangle = \cos\...
user avatar
5 votes
3 answers
1k 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 ...
user avatar
2 votes
1 answer
31 views

Iterative quantum phase estimation - real device

I'm trying to implement the iterative quantum phase estimation on a real (IBM) quantum computer. I'm using the code below. When I run this code on a simulator the results are the expected ones, but ...
user avatar
3 votes
2 answers
62 views

Understanding the output of a Deutsch-Jozsa circuit

I'm looking at the Deustch-Jozsa algorithm. While reading this Qiskit tutorial. I didn't understand what the presented result in plot mean. That is, why the output 1111 means a balanced function? What ...
user avatar
0 votes
1 answer
15 views

Qiskit library.gaussian() does not accept parametric expression

I'm trying to build a gaussian pulse in qiskit where I keep the amplitude as a parameter but for the followig code ...
user avatar
  • 1
0 votes
1 answer
30 views

Generating a random 32-byte hex integer using Qiskit

Hello I posted here yesterday about generating random 16 digits using Qiskit, and a gentle guy helped me but how about a string? How can I generate random 256 bit key in hex format in a superposition ...
user avatar
1 vote
2 answers
57 views

How do I use the quantum searching algorithm to loop search through a datafile in qiskit?

I have a localhost index.html has a table contains names and address and balances etc... also there is a search bar on the home page to go through the pages, the interesting thing is, there is loooot ...
user avatar
2 votes
1 answer
40 views

Question about mock backends!

I recently learned about the mock backends or the fake backends provided by Qiskit and I was wondering, do they behave the same way IBMQ systems backends like (ibmq_brooklyn)? also, can I depend on ...
user avatar
2 votes
1 answer
554 views

How does a quantum computer find the correct password faster than classical computers using brute-force?

I didn't get this part right! For example, we have an online box with a 16-digit password, and we don't know what the password is! How can a quantum computer find the correct password faster than ...
user avatar
2 votes
2 answers
65 views

IBM Quantum Experiment CNOT

I have a beginner question regarding CNOT-Gates on IBM Quantum. Assuming the following simple circuit: ...
user avatar
0 votes
1 answer
37 views

How to run Quantum Instance into ibmq_qasm_simulator

I have tried to run Shor's algorithm using IBM high performance simulator. I am currently using QuantumInstance to factorize a number. The code is provided below: <...
user avatar
  • 43
0 votes
0 answers
44 views

ValueError: setting an array element with a sequence for qiskit

I am trying to implement Quantum Kernel Ridge Regression (replacing the classical kernel with quantum kernel) in qiskit. The shape of my input x is (7165 x 529) and due to reshaping errors, I added an ...
user avatar
1 vote
1 answer
43 views

Circuit Construction using IBM Quantum Composer

I am trying to create the following circuit in IBM Quantum Composer but I cannot add the last H gate correctly. It falls in the wrong place. Why?
user avatar
  • 197
1 vote
1 answer
36 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 ...
user avatar
  • 19
0 votes
0 answers
31 views

How can I use an if function on the IBMQ experience

I have seen elsewhere on here that the quantum simulators allow boolean functions (I'm using the if function) but the actual quantum computer doesn't currently support if functions; is there a ...
user avatar
-1 votes
1 answer
43 views

Quantum ripple-carry adder construction

I am attempting to build a 2-bit ripple-carry adder, using IBM Quantum Experience composer, but I'm confused on how to construct the carry transpose that is shown at the bottom?
user avatar
  • 143
1 vote
0 answers
21 views

What is the relation between the database made up of N elements and the index made up of a string length n in the query model?

I am working on a circuit model that contains a blackbox (query) and do not understand the relationship between what is in the black box and the way we get out the value of the element we index. The ...
user avatar
1 vote
1 answer
56 views

How to access a qiskit runtime job and query time_taken?

I am trying to execute qiskit runtime jobs on simulators and real machines and I would like to extract information about the time taken to execute each runtime job. Since using python ...
user avatar
  • 65
0 votes
1 answer
80 views

Decompose native gates using Qiskit framework [closed]

I've read the papers about quantum hardware. These papers [1] [2] mention that native gates of IBM quantum computer are $R_x(\pi/2), R_z(\lambda)\space and \space CR \space (Cross Resonance)$ My ...
user avatar
1 vote
1 answer
58 views

Is pennylane free?

I was going through the basics of pennylane. I am able to understand that it is used for quantum neural networks. I am not sure whether it is using paid cloud computer or simulator of xandu or ibmq? ...
user avatar
2 votes
1 answer
27 views

Qubit State (theta,phi) Dependence on the Readout Error

Do the readout errors on the publicly available IBM quantum computers have any dependency on the state being measured? That is, if we are measuring a qubit in the state $\cos({\theta/2}) |0> + e^{i\...
user avatar
2 votes
1 answer
42 views

Why does application of Hadamard gate on $|0\rangle$ inverts the state on bloch sphere?

I am trying to understand what is the affect of Hadamard gate on qubit. So far, I understand that applying $H$ gate on qubit, puts the qubit into superposition state where the probability of the qubit ...
user avatar
3 votes
0 answers
95 views

Quantum Machine Learning Masters thesis topics [closed]

I'm a prefinal year Physics Masters student looking to pursue my thesis in the domain of Quantum computing, particularly in the areas of Quantum Simulation or Quantum Machine Learning (theory/...
user avatar
2 votes
1 answer
75 views

Duration of single qubit gate in IBM

how can we calculate the duration of single qubit gate using Qiskit in IBM? In other words if I have to insert a delay in the place of the single qubit gate, how would I know how much delay in ...
user avatar
  • 151
3 votes
1 answer
50 views

What's the difference between depth and num_tensor_factor in qiskit

Now I'm studying about the quantum circuit in qiskit developed by IBM. The quantum circuit have a several method in itself like depth() and num_tensor_factor(). I don't know what is different between ...
user avatar
0 votes
1 answer
36 views

Unable to interpret output by qiskit

I have built a simple 2 qubit entanglement circuit and wanted to measure using a real quantum device. I ran the below command an dthe have an output that is not what I was expecting. qiskit.providers....
user avatar
  • 153
0 votes
0 answers
66 views

Maximum depth of a circuit in IBM

Given Quantum Volume and number of qubits of a IBMQ device, what is the formula to calculate the maximum depth of the circuit that gives high fidelity? For example: Let us consider ...
user avatar
  • 151
4 votes
0 answers
95 views

Quantum State Tomography Implementation in IBMQ

I am working to understand quantum state tomography, specifically using the algorithm presented in PRL 108, 070502. This paper is referenced in IBMQ implementations of QST, both in old deprecated ...
user avatar
1 vote
1 answer
42 views

Results are missing for Qiskit runtime program 'sample-expval'

I have ran some circuits using the code for sample-expval, found in the qiskit docs While the jobs finished (they appear in my IBM account), when I retrieve some ...
user avatar
  • 113
2 votes
0 answers
89 views

Calculating the Inner Product using Quantum Phase Estimation

I'm following the method laid out in https://arxiv.org/abs/2011.03429 (Page 23 Equations 13-23) to calculate the inner product of two amplitude embedded vectors using Quantum Phase Estimation. I'm ...
user avatar
1 vote
1 answer
67 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?
user avatar
  • 11
1 vote
0 answers
20 views

Sequential Circuits in IBMQ and Qiskit and generating a clock pulse

I am trying to implement the Peres Gate with Feedback from Feynmann Gate feeding back into the third input to Peres Gate. This sequence needs to be repeated. There is also a clock pulse that needs to ...
user avatar
0 votes
0 answers
34 views

What is the number of qubits available on the IBM Quantum Composer per year since it's launch?

I'm not able to even find the information on how many qubits are currently available. Also, I'm not sure what ibmqx2, ibmqx4, etc. means and how they changed through the years.
user avatar
4 votes
1 answer
63 views

How can I run Qiskit runtime program with Python package with C++ dependencies?

Recently I was testing Python package on IBM Quantum Lab with Qiskit runtime programs. This package contain C++ and Eigen (C++ lib) dependencies. I don't have root permission so I cannot install it. ...
user avatar
0 votes
0 answers
40 views

Implementing Quantum Walks at IBM

a question about quantum walks, would this circuit be correct to start a quantum walk in a hypercube? I saw something about increment and decrement, but I didn't quite understand how they would work ...
user avatar
  • 47
0 votes
1 answer
140 views

How to implement the VQE in qiskit using UCCSD?

I am new to VQE and want to see the whole circuit of UCCSD in VQE implementation. I saw the code post here Visualize full UCC circuit in qiskit I tried to import all packages but have no idea with one/...
user avatar
2 votes
1 answer
46 views

Is the error rate of IBMQ devices full-scale (% FS) or on percentage of reading (% RD)?

The error rates that I found on the calibration files are given in percentage, but I couldn't find whether it is calculated on full-scale (% FS) or on percentage of reading (% RD). If I do $20000$ ...
user avatar
3 votes
0 answers
61 views

Implementing Shor's algorithm on IBM Quantum Composer

I'm trying to recreate from this paper in the IBM Quantum Composer. However, this circuit isn't enough understandable for me to do so. I have tried to recreate the above circuit in the composer as ...
user avatar
1 vote
2 answers
87 views

Error with IBM's Quantum Composer Qiskit Histogram when Resets are involved?

I am having trouble understanding what IBM's histogram is doing. I have independently verified, in agreement with the statevector given from IBM, that after all these steps the statevector should be ...
user avatar
  • 168
1 vote
1 answer
115 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 ...
user avatar
1 vote
1 answer
197 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?
user avatar
2 votes
1 answer
106 views

How to construct a Hamiltonian containing Pauli string by qiskit?

There is a Hamiltonian I want to construct by a Python package, which is the following: $$ H = 5.9I + 0.21Z_0 - 6.12 Z_1 - 2.14(X_0X_1 + Y_0Y_1) + 9.6(I-Z_2) - 3.9(X_1X_2 + Y_1Y_2) $$ It is very easy ...
user avatar
2 votes
2 answers
77 views

Platform for mixed-state quantum machine learning?

I have been using PennyLane to run numerical QML simulations but it now seems to only support backprop on pure state simulations. Does anyone familiar with other packages know if there exists one that ...
user avatar
1 vote
1 answer
39 views

What happens to the elements of the simulated state vector when we set a qubit to $|0\rangle$?

In IBM's Qiskit online simulator, we have the (non-reversible) ability to set a specific qubit to $| 0\rangle$. This is convenient but I'm left confused as to what happens to the elements of the ...
user avatar
  • 168
3 votes
0 answers
55 views

Incorrect probabilities in IBMQ Mid-circuit measurements

I calculated the probabilities for two measurements using mid-circuit measurements feature in IBMQ by following circuit: ...
user avatar
3 votes
1 answer
95 views

Bias in the results of superposition measurements on IBMQ Backends, qiskit

Dear people on this forum, I was doing some research, and I created this circuit in qiskit Please bear in mind that I am really new to this field, and I do not retain much knowledge yet. Therefore I ...
user avatar
  • 31

1
2 3 4 5
12