Skip to main content

All Questions

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 ...
qubitzer's user avatar
  • 745
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 ...
Deren  Liu's user avatar
  • 121
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 * ...
Dilma David's user avatar
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?
Leandro Matheus Morais da Silv's user avatar
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 ...
Srini Thirumalai's user avatar
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 (...
codeit's user avatar
  • 69
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 ...
codeit's user avatar
  • 69
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 ...
Narcano's user avatar
  • 31
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 ...
Aubrey Sharansky's user avatar
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 ...
Christian Bunker's user avatar
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 ...
Saul_better's user avatar
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: ...
3nondatur's user avatar
  • 173
2 votes
1 answer
177 views

Are there qiskit or stim examples of how to decode a subsystem code

I can manage decoding a stabilizer code in qiskit and stim. I'd like to try a subsystem code next. For a stabilizer code, all stabilizers commute so simultaneous measurement of these produces ...
unknown's user avatar
  • 2,217
1 vote
1 answer
52 views

How to best represent 5-Qbit codeword operator in Qiskit [duplicate]

We learned that in the 5-Qibit error correcting code, the logical zero state $ | \bar{0} \rangle $ is encoded in the form of $ \frac{1}{4} (\mathbb{1}+M_0)(\mathbb{1}+M_1)(\mathbb{1}+M_2)(\mathbb{1}+...
Blackwidow's user avatar
1 vote
0 answers
39 views

anyone know how to solve the error plz? [closed]

...
juhaina's user avatar
  • 11
1 vote
1 answer
194 views

Measurement of readout errors for error mitigation algorithms

I am using an error mitigation algorithm that uses the readout errors p(0|1) and p(1|0) to correct the errors due to noise in my original circuit. I am trying to measure the readout errors in the same ...
bisarch's user avatar
  • 199
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 ...
AndyLiuin's user avatar
  • 386
0 votes
0 answers
182 views

Qiskit, possible to manipulate mid-circuit measurement outcomes?

I'm currently coding up an error correction gadget using qiskit. The one I'm doing now is 7-qubit Steane code with Steane's error correction gadget, in which the ancilla qubits are measured and then ...
AndyLiuin's user avatar
  • 386
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 ...
AndyLiuin's user avatar
  • 386
1 vote
0 answers
78 views

Why QECC amplitude damping error syndrome and qiskit simulation are different?

The [[3,0,2]] code, stabilizers are X1Z2I3,Z1X2Z3,I1Z2X3. Use the circuit to decode and measure stabilizers: As for amplitude damping error syndrome, use $\left[\begin{array}{cc}1 & 0 \\ 0 & ...
user22477's user avatar
4 votes
1 answer
510 views

How the real IBM quantum computers apply arbitrary Rz(θ) gate rotation? [closed]

I want to ask the following questions: (1) The basis gate set of IBM quantum computers is { Id, Rz(θ),√X, X, CNOT, reset}. Somebody said that IBM didn’t really apply Rz(θ) gate on the machine. The ...
劉承瀚's user avatar
1 vote
1 answer
269 views

How to interface stim to a generic qiskit decoder?

I can generate encoder/decoder circuits for arbitrary QECC in qiskit. I tested a number of codes : $[[5,1,3]], [[7,1,3]],[[8,3,3]],\cdots$ and everything seems to work fine. The problem is that the ...
unknown's user avatar
  • 2,217
3 votes
1 answer
416 views

is cirq suitable for simulation of quantum error correction?

I experimented with stim and qiskit for QECC simulations. They both have limitations : for example stim has no support for non-clifford operations (qiskit does); qiskit has no support for multiple ...
unknown's user avatar
  • 2,217
1 vote
1 answer
437 views

how to go from matrix to tableau to circuit in qiskit or stim

I'm working with QECC using a non-python based platform. I'd like to move the results into python to do calculations that are better handled by packages like qiskit or stim. So the output of the non-...
unknown's user avatar
  • 2,217
3 votes
1 answer
150 views

How to set the meas_level and optimization_level in Quantum Azure IonQ provider?

I am performing a benchmark process using the Azure Quantum IonQ provider. I use Qiskit in the Azure platform, and I was trying to see how to control the transpiling and compiling process. It seems ...
Camilo160's user avatar
  • 284
1 vote
2 answers
155 views

The statevector of three-qubit bit-flip encoding circuit for entangled state

I was trying to implement a three-qubit bit-flip code for shared entangled state. I was curious to analyze this mathematically, but the problem is I can't calculate the statevector after encoding. ...
Syed Emad Uddin's user avatar
0 votes
0 answers
59 views

How to set up a error detection and correction scheme on qiskit

Does, at the state of the art, Qiskit allows to do error detection and correction? If yes, how can I do it?
Daniele Cuomo's user avatar
1 vote
1 answer
242 views

Information about the output of %qiskit_backend_overview

Does anyone know where can I find more information about the meaning of some parameters outputted by %qiskit_backend_overview ? I mostly refer to "Avg. T1/T2&...
Marian Dumitrascu's user avatar
0 votes
1 answer
80 views

Is it possible for public users to run experiments using Qiskit's surface code?

I'm an undergrad who would like to run some experiments using the surface code. I've been able to use their quantum repetition code (https://qiskit.org/textbook/ch-quantum-hardware/error-correction-...
John Macintosh's user avatar
4 votes
2 answers
247 views

Why aren’t repetition codes used to encode qubits in superposition states?

I just finished reading the section of the qiskit textbook on quantum error correction using repetition codes(https://qiskit.org/textbook/ch-quantum-hardware/error-correction-repetition-code.html) and ...
John Macintosh's user avatar

15 30 50 per page