Skip to main content

All Questions

1 vote
0 answers
37 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
  • 747
1 vote
1 answer
90 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
1 vote
2 answers
80 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
36 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
145 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
133 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
217 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
183 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
132 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
216 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
172 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
49 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
38 views

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

...
juhaina's user avatar
  • 11

15 30 50 per page