Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
0 answers
42 views

How to use Qiskit translation pass manager with Clifford + T gate basis?

Context In qiskit, the translation stage of the transpilation "translates (or unrolls) the gates specified in a circuit to the native basis gates of a specified backend." (cf doc) For that, ...
alxthm's user avatar
  • 41
1 vote
0 answers
21 views

What is the difference between `HighLevelSynthesis` and `UnrollCustomDefinitions` qiskit transpilation passes?

The doc for UnrollCustomDefinitions indicates : ...
alxthm's user avatar
  • 41
1 vote
0 answers
17 views

How to get historical calibration data for mthree (M3) from IBM Quantum devices?

I'm using mthree in Batch mode. A batch needs to be queued before it can be executed. The time when a batch was executed can be obtained from the IBM Quantum Platform site, so I would like to obtain ...
Y T's user avatar
  • 11
1 vote
0 answers
23 views

Does the Qiskit transpile function preserve the unitary of the input circuit regardless of optimization level?

I am transpiling some circuits using the transpile function by providing my own custom backend, with specific qubit topologies, created using the ...
smi's user avatar
  • 103
1 vote
1 answer
81 views

Transpiling a circuit with Tket, taking topology into account

There is a simple circuit with one CNOT like the following: Topology 0 → 1 (directed connection) CNOT 1 → 0 Note that CNOT is placed opposite to the connection. If this is transpiled correctly, it ...
yasuhito's user avatar
0 votes
0 answers
45 views

RuntimeJobFailureError: 'Unable to retrieve job result. Error code 1520; The instruction cost per qubit exceeds the system limit

I want to find two operands of multiplication result of 180. In another word, finding integer factors of 180. I'm using ...
Muhammad Ikhwan Perwira's user avatar
1 vote
0 answers
24 views

Parameterized Gates [duplicate]

I am trying to create my own custom parameterized gate and then transpile it to the AerSimylatorGate. I have been able to create the virtual circuit but in the transpilation to the backend basis set ...
Guillermo's user avatar
0 votes
1 answer
66 views

Custom Quantum Gate equivalence to backend basis gate set

Hello I am using Qiskit and I have defined a custom gate which implements the array shown in the image: This array is unitary and the function R(theta) works by tuning a continious variable into 0 of ...
Guillermo's user avatar
2 votes
0 answers
74 views

Understanding sources of error in 4-bit Grover's search on IBM QC

This question is similar to some others I've come across, related to why a 4-qubit implementation of Grover's search yields such poor results when run on the IBM QC compared to the 3-qubit case (...
eodabash's user avatar
  • 121
1 vote
0 answers
40 views

Qiskit not efficiently compiling with new gate basis

I am using Qiskit to compile a small Qiskit circuit (shown below) with a gate basis consisting of Rigetti native gates: RZ ...
Steve Jeffrey's user avatar
0 votes
0 answers
18 views

Does anyone have an idea about the execution power of IBM summit for VQE? I'd appreciate sources of papers as well for supercomputer execution

I'm trying to find the execution power of VQE in super computer and I want to know the factors of execution such as iterations, shots, convergence, etc. Please help me and also, I'd appreciate if ...
InnocentLlama's user avatar
1 vote
1 answer
66 views

Seeking Quantum Algorithm Implemented on IBM's Accessible Quantum Computers

I am interested in leveraging IBM's quantum computers that are currently available for public access. Specifically, I am looking for an algorithm that has been successfully implemented on a real, ...
ali khosravi's user avatar
1 vote
1 answer
61 views

Transpile not working properly for decomposing single qubit gates into Rx Ry and Rz

I used the above code to decompose hadamard gate into RxRyRz but i am getting wrong angles which on multiplying don't match hadamard gate . Interestingly when i am using inbuilt hadamard hate using q....
Anonymous's user avatar
0 votes
0 answers
42 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 ...
Jure Zakotnik's user avatar
4 votes
2 answers
151 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 ...
diddyDANK's user avatar
1 vote
0 answers
74 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 ...
antony paul's user avatar
1 vote
0 answers
24 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 ...
Deren  Liu's user avatar
  • 231
2 votes
2 answers
129 views

Calculating number of CNOT gates in Pauli evolution gate

How to calculate the number of CNOT gates for a Pauli exponentiation for given time? I am performing Trotterization which involves performing Pauli evolution ...
Zee's user avatar
  • 391
1 vote
0 answers
60 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 ...
Deren  Liu's user avatar
  • 231
0 votes
0 answers
46 views

BQSkit Selecting Starting Circuit Structure

Background On the BQSKit repository, there is a nice example of using the qfactor algorithm to instantiate a 3-qubit Toffoli circuit. For this to work, however, it is first necessary to specify an ...
Shadow43375's user avatar
2 votes
0 answers
145 views

Layout error with after compilation with custom Qiskit pass manager

I am trying to implement the custom Qiskit pass manager from this paper. The code from the authors is provided here on GitHub. I am able to get the pass manager working, and a compiled circuit is ...
greelious's user avatar
  • 121
2 votes
2 answers
84 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: <...
Yang Qian's user avatar
2 votes
1 answer
84 views

Transpile and run don't use GPU device

I'm trying to run an implementation of Shor's algorithm using a GPU device. While running with $N<1023$ works (23 qubits), when running with a higher number of qubits, the program ends before ...
Pablo Falegre's user avatar
1 vote
0 answers
68 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
  • 121
1 vote
2 answers
182 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
2 votes
0 answers
42 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 ...
user20762126's user avatar
0 votes
1 answer
53 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. ...
Manu's user avatar
  • 513
0 votes
1 answer
113 views

How to remove or change the Coupling-Map limit is qiskit?

I am trying to implement large qiskit circuits which give coupling map error as coupling map cannot exceed 31 is basic aer_simulator or even ...
Syed Shahmir Kazmi's user avatar
2 votes
1 answer
86 views

Increasing qubit limit in Qiskit for benchmarking

I am aware that each backend in Qiskit has a qubit limit. Across all backends in Aer, the limit is 24. When we employ ...
Zee's user avatar
  • 391
0 votes
0 answers
113 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 ...
alejandra's user avatar
0 votes
2 answers
5k views

IBMQ import error

I am trying to import IBMQ from qiskit. But I encountered following error. ...
Priyam Bharadwaz's user avatar
2 votes
3 answers
843 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: ...
Amey Meher's user avatar
0 votes
1 answer
105 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
4 votes
1 answer
168 views

How to transpile a quantum circuit using the $\{H,T,CNOT\}$ universal set of gates?

If I'm not mistaken, the $\{H,T,CNOT\}$ set of gates is universal in the sense that any unitary can be approximated arbiratrily close by a combination of these gates. The ...
Tristan Nemoz's user avatar
  • 7,969
1 vote
1 answer
493 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. ...
Manu's user avatar
  • 513
0 votes
1 answer
51 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 ...
Radu M.'s user avatar
  • 228
1 vote
0 answers
63 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 ...
Amey Meher's user avatar
0 votes
1 answer
87 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 ...
Root Groves's user avatar
1 vote
0 answers
42 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 ...
chickenj0's user avatar
0 votes
0 answers
226 views

Qiskit cant run circuit with reset gate with error

In qiskit if i have a reset gate in a circuit. If i want to add noise to the circuit it wont transpile. For example: ...
Narcano's user avatar
  • 31
4 votes
2 answers
440 views

Questions on multi-controlled Toffolis and their implementation in Qiskit

Is it possible to decompose an $n$-controlled Toffoli into $O(n)$ CNOTs without extra working qubits? If so, is such an decomposition currently available in Qiskit or any other (preferably Python and ...
mavzolej's user avatar
  • 2,221
1 vote
1 answer
53 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 ...
Johannes Jyrgenson's user avatar
2 votes
0 answers
82 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
0 votes
1 answer
70 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 ...
Neelesh Vij's user avatar
0 votes
1 answer
143 views

Netlist of the transpiled circuit in Qiskit

I am new to running quantum circuits in Qiskit. In the IBM quantum learning lab, I transpiled a simple 4-qubit quantum circuit using a 7-qubit IBM quantum computer. I received a tranpiled circuit ...
mridula's user avatar
1 vote
0 answers
34 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
4 votes
1 answer
275 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). <...
Amrita P's user avatar
2 votes
1 answer
544 views

Coupling map in QISKIT transpile

I have a 3-qubit unitary represented by a circuit with the following dictionary: {'cx': 30, 'h': 22, 'rz': 15, 's': 4, 'sdg': 4}. I want to use this circuit on IBM ...
R.G.J's user avatar
  • 271
1 vote
0 answers
80 views

In qubit phase tracking, does the phase $\delta$ have to be synchronized to the Larmor precession?

In many textbooks (e.g. LaPierre 2021 or Byrd 2022), when dealing with the physical implementation of quantum gates in spin qubits, Larmor precession is usually introduced first as a way to rotate the ...
jackphen's user avatar
1 vote
0 answers
44 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
2 3 4 5
15