Skip to main content

All Questions

1 vote
1 answer
97 views

Is this quantum circuit design more prone to noise?

I am designing a quantum circuit which uses one qubit as the control of many $\text{CSWAP}$ operations. And then, this qubit will be measured. Will the result be more prone to noise since all the ...
1 vote
2 answers
94 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 * ...
1 vote
0 answers
41 views

How to implement fault tolerant cat state construction with qiskit?

I want to build a fault-tolerant error correction gadget in qiskit. As a part of that, I want to construct cat states (for the syndrome measurements) in a fault-tolerant way. One way to do this, is to ...
1 vote
1 answer
159 views

How to fix two flip-bit errors in a 3 qubit input

Aware of how a 1-bit flip can be fixed for 3-qubit input by having 2 Ancilla bits, encoding, and using the Toffoli gate to fix the error and decode. How can this idea be extended for a 2-bit flip (...
1 vote
1 answer
239 views

Get parameters of a CU gate for implementing an erroneous CX gate with fidelity = 0.81

Let's say the definition of an erroneous CNOT gate is given as - CNOT is a 2-qubit quantum gate when the control qubit is at state 0, applies identity operation on the target qubit, when the control ...
3 votes
1 answer
134 views

Quantum error correction circuit from stabilizer codes

I am trying to familiarize myself with QEC codes and their use in quantum communication. Right now, I am trying to implement some more widely known codes in Qiskit. My main problem is I cannot wrap my ...
1 vote
0 answers
20 views

How to model the IBM quantum errors?

I'm conducting a study of the quantum channel errors, and a question has arisen: Is it possible to model the errors of an IBM quantum computer with Kraus operators?
2 votes
1 answer
446 views

Estimate of threshold values for 7-qubit Steane code with qiskit (or stim)

I have trouble recreating the graphs shown in this paper https://arxiv.org/pdf/quant-ph/0508176.pdf i.e. the quadratic trend of the logical error against physical single qubit error for [7,1,3] code I ...
3 votes
0 answers
37 views

Does qiskit make any rounding errors or anything similar, or is it a perfect (but slow) simulation of a quantum computer?

I ran the following circuit to calculate the real part of the Bargmann Invariant of a system of quantum states. The invariant is defined as ...
1 vote
1 answer
197 views

Logical error rate for QECC using qiskit

I've been coding QECC with qiskit recently. As I'm not very skilled in programming I encountered a lot of questions. Now I'm trying to generate the logical error rate against physical error rate graph ...
0 votes
1 answer
134 views

How to apply error-correction to the swap test circuit?

Swap test is a simple quantum circuit to measure the inner product of two quantum states [Wiki: swap test], it only contains three quantum gates. However, due to the error in the real quantum computer ...
2 votes
1 answer
222 views

Confusion about Mitiq folding for zero noise extrapolation

I'm reading the mitiq zero noise extrapolation documentation and I just can't make sense of how the scale_factor for folding work. "The minimum scale factor is one (which corresponds to folding ...
1 vote
1 answer
219 views

Simulating a small distance surface code with individual qubit addressing

I want to simulate a small-distance surface code with either STIM or Qiskit. I want individual control over all the qubits (including the ancillas) to induce controlled errors in my circuit. I want to ...
0 votes
1 answer
188 views

How to see the effects of the depolarizing channel in qiskit?

I am playing around with adding noise to quantum circuit simulation using qiskit_aer.noise.NoiseModel(). My code creates a quantum circuit and simulates it with ...
0 votes
1 answer
224 views

How to implement Shor's 9-Qubit-Code in Qiskit?

I am new to qiskit and currently trying to implement Shor's 9-Qubit_Code. I am trying to orient my code on the example given in the official qiskit-tutorial and so far I have the following: ...

15 30 50 per page